@revoloo/cypress6
Version:
Cypress.io end to end testing tool
34 lines (24 loc) • 720 B
JavaScript
describe('top level suite', () => {
describe('inner suite with describe', () => {
it('test with it', () => {
cy.get('.btn').click()
})
specify('test with specify', () => {
cy.get('.btn').click()
})
// eslint-disable-next-line mocha/no-exclusive-tests
it.only('test with it.only', () => {
cy.get('.btn').click()
})
it('test with config', { responseTimeout: 60000 }, () => {
cy.get('.btn').click()
})
})
context('inner suite with context', () => {
})
// eslint-disable-next-line mocha/no-exclusive-tests
describe.only('inner suite with describe.only', () => {
})
describe('suite with config', { responseTimeout: 60000 }, () => {
})
})