Skip to content
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

Default html report for the test execution should be generated when executed tests in VSCode #354

Closed
osandadeshan opened this issue Mar 14, 2019 · 8 comments
Assignees

Comments

@osandadeshan
Copy link

Gauge version: 1.0.4

Commit Hash: 3a9a647

Plugins
flash (0.0.1)
html-report (4.0.6)
java (0.7.2.nightly-2019-03-07)
js (2.3.2)
json-report (0.2.2)
python (0.3.4)
screenshot (0.0.1)
spectacle (0.1.3)
xml-report (0.2.1)

OS: Windows 10 64 bit

VSCode version: 1.31.1 (latest)

Gauge plugin for VSCode: 0.0.8 (latest)

Steps to reproduce:

  1. Create a new gauge java project (gauge init java)
  2. Import it to the VSCode
  3. Expand specs folder and Open a spec file
  4. Click on Run Spec or Run Scenario options in that spec file
  5. After the execution is completed, navigate to reports/html-report
  6. Open index.html

Actual:
Html report is differed from the default html-report

Expected:
Default html-report should be generated for the test execution triggered in VSCode. User should be able to open it.

Screenshot:
image

@gaugebot gaugebot bot added the community label Mar 14, 2019
@zabil
Copy link
Member

zabil commented Mar 14, 2019

Related to #350

@nehashri
Copy link
Contributor

@osandadeshan This is intentional. When tests are run in VSCode, a different template is used to generate the html report. This template is optimized for the best view on VSCode. You can view the report by executing Gauge: Show Last Run Report from VSCode's command pallet or by clicking on the spec, scenario execution result status in VSCode's status bar.
Screenshot 2019-03-14 at 12 46 36 PM

@osandadeshan
Copy link
Author

osandadeshan commented Mar 14, 2019

@nehashri @zabil Yes that will be helpful. But it will be much helpful to the automation engineers if gauge can generate the default report because it contain more data which will be useful.

@AMWatty
Copy link

AMWatty commented Mar 27, 2019

I'd like the choice to generate the gauge framework default report rather than the gauge-plugin report.

@zabil
Copy link
Member

zabil commented Mar 28, 2019

Yes.
The behaviour will change in the next release. On clicking the summary of the test run in the status bar in VS Code. It will open a browser which will display the gauge default report.

@osandadeshan
Copy link
Author

@zabil Great. Thanks.

negiDharmendra added a commit that referenced this issue Apr 3, 2019
Opening the html reports in browse instead of VSCode #354
@gaugebot
Copy link

gaugebot bot commented Apr 3, 2019

The fix should be available in nightly >= 3-4-2019

@Debashis9012
Copy link
Contributor

This has been verified and found fixed. Tested with the below version:
gauge-0.0.10.nightly-2019-04-04.vsix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

6 participants