UNPKG
@revoloo/cypress6
Version:
latest (1.0.0)
1.0.0
Cypress.io end to end testing tool
github.com/cypress-io/cypress
cypress-io/cypress
@revoloo/cypress6
/
packages
/
runner
/
cypress
/
fixtures
/
studio
/
hooks_spec.js
23 lines
(18 loc)
•
308 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
describe
(
'suite'
,
() =>
{
before
(
() =>
{ cy.
visit
(
'the://url'
) cy.
log
(
'beforeHook'
) })
beforeEach
(
() =>
{ cy.
log
(
'beforeEachHook'
) })
it
(
'test'
,
() =>
{ cy.
log
(
'testBody'
) })
afterEach
(
() =>
{ cy.
log
(
'afterEachHook'
) })
after
(
() =>
{ cy.
log
(
'afterHook'
) }) })