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
There are several ways you can add tags to Cypress tests via plugins or custom code.
In the Open Data projects, we see code like:
// index.jsbeforeEach(function(){lettestSuite=Cypress.env('SUITE');if(!testSuite){return;}consttestName=Cypress.mocha.getRunner().test.fullTitle();testSuite="<"+testSuite+">"if(!testName.includes(testSuite)){this.skip();}})// test file.it('User Journey: Filtering PI Reports <pi> <pi-report-filtering>',()=>{
There are several ways you can add tags to Cypress tests via plugins or custom code.
In the Open Data projects, we see code like:
Then you can run the suite from the CLI like:
We also have many plugins, but the most popular/official seems to be https://github.com/cypress-io/cypress/tree/develop/npm/grep
There is also https://github.com/infosum/cypress-tags to use for tagging.
There could be more recommended options to check out.
Tasks:
The text was updated successfully, but these errors were encountered: