To enable string translation to be picked up from the global registry.ĪddWidget(name, Widget) - is a way to create a new widget on the Overview page of the report.
In the tab example above you have to wrap strings in the template in this function call
Translate(name, options) - is needed if you generate html code in your plugin and don’t use existing components, lang is a language key, and json is a json object that contains mappings for string Instantiates a View class managing your new tab’s representation.ĪddTranslation(lang, json) - gives you an ability to support multiple languages for naming in tabs, widgets or In the icon string, route will define an address for a new tab page. Which will appear on the left pane menu with name tabName, its icon will be defined by a css styles provided javaagent:'$) - can be used to define a new tab for the report 1.8.10 io.qameta.allure allure-junit4 LATEST_VERSION test maven-surefire-plugin 2.20 false Writing a skeleton code for a new plugin.