How to create new tab with charts, tables (interested more UI part) #1307
Unanswered
ezlo-maksymk
asked this question in
Questions & Support
Replies: 2 comments 4 replies
-
|
Beta Was this translation helpful? Give feedback.
3 replies
-
Hi @ezlo-maksymk : The link https://docs.qameta.io/allure/#_allure_plugins_system doesn't seem to work. Could you share the updated link in case you have it. (I am trying to understand how should I create and use the plugin to create a new tab in Allure2) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello guys,
Small question :)
I have created new plugin according to HOWTO from https://docs.qameta.io/allure/#_allure_plugins_system - everything working smoothly.
My main idea was a traceability matrix with some additional coverage metrics stuff..
created plugin structure
then started looking how to add a chart (of corse I can use google charts, but started native elements)
found https://github.com/allure-framework/allure2/blob/430255d8cf5c236ed29bc0df0b72dcd9389c3df9/allure-generator/src/main/javascript/plugins/tab-graph/index.js
and started from this example
added following files
in index.js
But when I want to create my own Layout and View I faced with troubles.
On load of generated report I got:
Uncaught SyntaxError: Cannot use import statement outside a module index.js:1
with simple example from tutorial works fine
when index.js
I will appreciate for an example of dummy page with charts or pls point me on wrong place in my stuff.
PS. also not clear where i can find any information about global object
allure
, which functions/methods does it have?Beta Was this translation helpful? Give feedback.
All reactions