You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can we prep-pend Scenario: Feature: and add context to the Given When Then steps when generating the tests? (although there's an issue open to support adding additional context to the test: cypress-io/cypress#1910)
Would like to use mochawesome report generator to at least generate html on our CI.
Be nice to have the output in the cypress report to show the steps (Given, When, Then)
i.e. output would look like this
Feature: I verify I can login to TestSite with my user name and password
Scenario: Logon to TestSite and verify Test is displayed
- Given I open login page
- Then I see "TestSite| Login" in the title
- Then I login to TestSite with user name and password '
- And I click on button
- Then I see 'Administration' in the title
Another alternative is perhaps map Feature -> describe Scenario -> describe and Steps -> it Like: https://www.npmjs.com/package/mocha-cucumber, when generating tests. Cypress will then show each step as a Test in console might not be ideal though and no need to use cy.log.
The text was updated successfully, but these errors were encountered:
Can we prep-pend Scenario: Feature: and add context to the Given When Then steps when generating the tests? (although there's an issue open to support adding additional context to the test: cypress-io/cypress#1910)
Would like to use mochawesome report generator to at least generate html on our CI.
Be nice to have the output in the cypress report to show the steps (Given, When, Then)
i.e. output would look like this
Another alternative is perhaps map Feature -> describe Scenario -> describe and Steps -> it Like:
https://www.npmjs.com/package/mocha-cucumber, when generating tests. Cypress will then show each step as a Test in console might not be ideal though and no need to use cy.log.
The text was updated successfully, but these errors were encountered: