Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

Export skip / only functions #5

Closed
bahmutov opened this issue Nov 7, 2019 · 1 comment
Closed

Export skip / only functions #5

bahmutov opened this issue Nov 7, 2019 · 1 comment
Labels
enhancement New feature or request released

Comments

@bahmutov
Copy link
Contributor

bahmutov commented Nov 7, 2019

So they can be used without custom Cypress commands

import {skipOn, onlyOn} from '@cypress/skip-test'
it('skips', () => {
  // assume myTask yields a boolean condition for skipping
  cy.task('myTask').then(skipOn)
})
@bahmutov bahmutov added the enhancement New feature or request label Nov 7, 2019
@bahmutov
Copy link
Contributor Author

bahmutov commented Nov 7, 2019

🎉 This issue has been resolved in version 1.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request released
Projects
None yet
Development

No branches or pull requests

1 participant