New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scenario Outline shows Incorrect / Doubles Count in Dashboard View - extentreports-cucumber6-adapter #263
Comments
ExtentReports version? The screenshots in the repo you have shared are for a reporter which is not available in the latest version 5. |
@anshooarora - I am using extentreports-cucumber6-adapter Version 1.2.0 Reporter used properties - extent.reporter.html.out=target/test-output/HtmlReport/ExtentHtml.html on using only " Scenario outline " as a keyword in feature file the report generates an incorrect count as per attached screenshot above . Please let me know if I need to upgrade to some other version / if you require anymore details. Thanks :) |
U can try with 2.5.0 but HTML report is deprecated with extent 5. U will have to use the Spark report. |
@grasshopper7 / @anshooarora - changing version solved the count issue however screenshots of each steps are no more displayed in spark reports Anyway can we view out screenshots in reports ? please let me know if you require anymore details :)
as it used to show in previous version ( small icon a click on it displays the taken screenshot ) Older Version ( HTML REPORTS ) ( Deprecated now ) To get screenshot for a desired step I am using
Method
Properties
|
U should try with 2.6.0 version for attaching images as Base64 encoded string src. U need to add the following property in extent.properties - extent.reporter.spark.base64imagesrc=true. Default is false. U just need to use scenario.embed() in step definition instead of the current code. |
When Running a Scenario Outline the count in the dashboard is incorrect . it displays double count to what scenario is executed also tags section shows same scenario title twice.
Please find Below link for report screenshots –
https://github.com/bughunter7/ExtentReportIssue
Dependency used –
tech.grasshopper
extentreports-cucumber6-adapter
1.2.0
test
Feature: user clicks on salesorder
@SalesOrder @reg
Scenario Outline: user clicks on orders
Given user is on landing page
And he enters his userid and password
Then he is redirected to dashboard adminpage
And he clicks on sales
And he clicks on orders
And clicks on create new order
Then he enters the and
And clicks on search button
And clicks on search results
Then selects Godirecttrade as a store
And clicks on add products
Then searches for
And selects the product from checkbox
And clicks on add selected products to order
And enters the purchase order no
And clicks on link get shipping methods and rates
And selects the radio button
And clicks on submit order
Then message visible is you created the order
And order no is displayed
@anshooarora
Please let me the solution its urgent .also let me know if any more info required from my end awaiting for your response 🙂
The text was updated successfully, but these errors were encountered: