Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
al7dckh5gb
@al7dckh5gb
@fescobar I use this:
io.qameta.allure:allure-gradle:2.8.1
io.qameta.allure:allure-selenide:2.13.9
io.qameta.allure:allure-junit5:2.13.9
io.qameta.allure:allure-rest-assured:2.13.9
and
selenide:5.20.2
junit-jupiter:5.7.1
fescobar
@fescobar

@al7dckh5gb check if you can do something like this:

final Parameter parameter = new Parameter().setName(name).setValue(ObjectUtils.toString(value));
  getLifecycle().updateTestCase(testResult -> testResult.getParameters().add(parameter));

https://www.codota.com/code/java/methods/io.qameta.allure.Allure/getLifecycle

name will be 'browser' and value 'chrome'
al7dckh5gb
@al7dckh5gb
@fescobar and this should be placed in @AfterEach annotation, or @AfterAll?
u-dix
@u-dix:matrix.org
[m]
Hello all, I am using cucumber TesNG based run as a JAR (not from pom.xml) > is there any way to config allure for that?
al7dckh5gb
@al7dckh5gb
@fescobar seems like it didn't help. Now I have the same test run with different parameters 'chrome' and 'firefox', I can see it in Parameters tab, but one test still goes to Retries. :(
image.png
image.png
Krzysztof Wozniak
@Hejvi
[Python] [Behave] Hello everyone, is it any way to show the custom data in the Parameters section? Let's say I want to put there some calculations results from the test.
Krzysztof Wozniak
@Hejvi
@sseliverstov Thanks, this might be useful but I was aiming into the Parameters section. Is there a way to put there custom data? I noticed that data from the scenario outline is showed here but it would be necessary (in my case) to dynamically put data to the scenario outline which might be problematic.
screenshot_1149.png
Stanislav Seliverstov
@sseliverstov
@Hejvi I am not sure but you can try something like this allure.dynamic.parameter("param1", "param-id")
Krzysztof Wozniak
@Hejvi
Thank you, I will verify in my free time
krarpitgupta
@krarpitgupta
Lovely people Can anyone let me know how can we mark a step as Warning or Skipped in Allure Reporter (Broken Status)?
Krzysztof Wozniak
@Hejvi
@sseliverstov Dynamic class has no attribute parameter or any similar
krarpitgupta
@krarpitgupta

Lovely people Can anyone let me know how can we mark a step/test case as Warning or Skipped in Allure Reporter (Broken Status)?

Any help please ?

Andrey Epifanov
@andrey-epifanov
Hello , guys :)
Java. I try to use AllureCucumber6Jvm and Examples .
Exception: IllegalStateException: You are using a plugin that only supports till Gherkin 5. + ParserException$AstBuilderException: (10:1): inconsistent cell count within the table
But without AllureCucumber6Jvm all work.
Need help.
yudix
@yudix58697586_twitter
Hi, I have a question I am running my app via jar (java -jar x.jar etc.) and not via maven
  • there is a way to add the properties file location and other allure configurations via parameter (-Dparam1="value")
    Thankks
Ghost
@ghost~60a748a76da03739847d1839
hello team,
I'm trying to attach JSON in jest-allure.
let body = JSON.stringify(response.body, null, '\t')
reporter.addAttachment("Response Body" , body, "JSON")
But this is not working and it is unable render the json in the test case. what should be the valid "type" in the attachment?
skamineni
@skamineni
Hi did anyone resolve this issue in Jenkins pipeline trying to publish allure java.io.IOException: Server returned HTTP response code: 403 for URL: https://dl.bintray.com/qameta/generic/io/qameta/allure/allure/2.7.0/allure-2.7.0.zip
Andrey Epifanov
@andrey-epifanov
@baev Hello Dmitry ! )
You use in allure-cucumber6-jvm 2.13.6 io.cucumber:gherkin:jar:5.1.0 . Result : gherkin.ParserException$UnexpectedTokenException: (7:3): expected: #EOF, #TableRow, #DocStringSeparator, #StepLine, #TagLine, #ScenarioLine, #ScenarioOutlineLine, #Comment, #Empty, got 'Examples:' . What do you think about usage current version of io.cucumber:gherkin:jar:19.0.2 ?
mrudulp
@mrudulp
Hi Guys, So I am trying to publish Allure report on Jenkins. I have configured Global Tool Configuration to get zip file from our internal artifactory. So the zip/tar file is unpacked to folder /srv/tools/ru.yandex.qatools.allure.jenkins.tools.AllureCommandlineInstallation/allure. But Jenkins reports java.io.IOException: Can't find allure commandline <null> Any thoughts how to make Jenkins find complete commandline path?
Here is the screenshot of Global Tool Configuration
image.png
shailesh-simplilearn
@shailesh-simplilearn
Does anyone worked with allure-report using Robot-Framework ?
Dmitry Baev
@baev
@shailesh-simplilearn yep
mrudulp
@mrudulp

Hey Guys, I am trying to integrate allure on our jenkins. Job runs on docker agent. I would like to point allure to alluredir which is allure_reports in my case. Here is how I do it in post action

allure([
        includeProperties: false,
        jdk: '',
        properties: [],
        reportBuildPolicy: 'ALWAYS',
        results: [[path: "/srv/workspace/${env.JOB_NAME}/tests/allure_reports"]]
])

but that fails with error

OCI runtime exec failed: exec failed: container_linux.go:344: starting container process caused "exec: \"/srv/tools/ru.yandex.qatools.allure.jenkins.tools.AllureCommandlineInstallation/allure/bin/allure\": stat /srv/tools/ru.yandex.qatools.allure.jenkins.tools.AllureCommandlineInstallation/allure/bin/allure: no such file or directory": unknown

but I can see allure in that location. Any thoughts what might wrong here?
If its of any use allure jenkins plugin and the allure version that is downloaded is 2.13.9

Kirstin Walsh
@pyxis828
image.png
I am using allure report with webdriver.io and cucumber. I recently upgraded to a newer version, and see that I am now getting all of these substeps with POST and GET requests in my report with all kinds of attachments. I don't want these. How do I get rid of them?
Aionitoaie Andrei
@yozzz06_twitter
hello any documentation or help with using Allure with python unittest? (not with pytest) Any help will be appreciated
Alexander Grigoryev
@AlexanderGrigoryev
pytest is cool tool
Aionitoaie Andrei
@yozzz06_twitter
yes I agree. But currently i'm using only unittest and xmlrunner
or to put the question from another perspective? can I generate an Allure report from a junit XML file ?
Sonny-Joon
@Sonny-Joon
hi. how I can rename the severity names in the allure report (e.g. normal to 'medium')? (I use jasmine allure reporter)
Hao Gu
@itamud
sorry, posted in the wrong place
Hao Gu
@itamud
Hi, guys. How do I generate chinese version Allure Reports by default?
maximvolko
@maximvolko
hi, is someone using mp4 attachments? I'm getting 'unable to attach' error without any logs or hints
itanbot
@itanbot:matrix.org
[m]
Hi all, I am currently evaluating Allure for parsing report from Unity C unit-test framework (http://www.throwtheswitch.org/unity). I was able to convert Unity text report to junit XML and import on Allure but this lacks of several useful test info (e.g. test steps). Are you planning to support Unity output in Allure? Thanks in advance.
Steffen Schuler
@mcahornsirup
Hi. AllureResultsReader is deprecated ... is there an replacement?
Dmitry Baev
@baev
BTW, you can use GitHub discussions to ask questions if has no luck getting help here https://github.com/allure-framework/allure2/discussions
Daniel Montesinos
@damonpam
Hi I just see that npm package published for allure-cucumberjs is 2.0.0-beta.9 while the last released in github is v2.0.0-beta.10. @baev could you publish the latest version to npm? thanks in advance! or if there is something I can do... let me know. ;)
sayantan-qa
@sayantan-qa
I am running my test in Browserstack. I am using webdriverio and Allure as reporting tool. The report getting generated but Browserstack device name is not showing up in the Allure Report. Can anyone help?
nataliiak77
@nataliiak77:matrix.org
[m]
hi folks!
I'm trying to add allure reports to my project, but I can't find any instructions on what kind of configuration I need for my set of tools. I use gradle / groovy / geb / spock
Could you please help me to determine the configuration in build.gradle and steps to set up the reporting ?
Rim
@RimiX2
Could someone explain what is the purpose of <Allure Maven Plugin> "allure:aggregate" goal? Can't find any corresponding documentation
ElenaKorotkova
@ElenaKorotkova
Hello, folks! We've just launched Allure GitHub Discussions (https://bit.ly/3g664UO) for any Allure improvement ideas and questions; feel free to join!
We plan to support both products there, Allure Report & Allure TestOps.
15klli
@15klli
Hi. I got one problem. How can I get the data which I attach to the allure report by allure.attach()?
1 reply

Hi. I got one problem. How can I get the data which I attach to the allure report by allure.attach()?

can anybody help me, pls?

Nir Tal
@nirtal85

New article "Test Automation - How To Attach Public IP Address To Allure Report Using Pytest And Requests"

https://www.linkedin.com/pulse/test-automation-how-attach-public-ip-adress-allure-report-nir-tal/

Alexander Pavlov
@AlexPavl
Hi there, i'm trying to start using allure with pytest, but i have a problem, after "apt install allure" (i have ubuntu 20.04) i can't use allure with "allure" command, system can't find command, neither do i can't find executable file. After adding ppa:qameta/allure i have a message: 'http://ppa.launchpad.net/qameta/allure/ubuntu focal Release' does not have a Release file. Does anyone had such problem?
1 reply
Iasi Salomon
@iasisalomon
Does anyone have experience on reporting Artillery.io results into allure? Any article or documentation that you would reccomend?