@revoloo/cypress6
Version:
Cypress.io end to end testing tool
18 lines (16 loc) • 335 B
JavaScript
/// <reference types="cypress" />
const log = function(){
const r = cy.state('runnable')
assert(true, `${r.type} - ${r.parent.title || 'root'}`)
}
describe('nested_hooks', ()=>{
describe('nested beforeEach', ()=>{
before(() => {
log()
beforeEach(() => {
log()
})
})
it('test', log)
})
})