File tree 3 files changed +3
-9
lines changed
cypress/integration/profiles/mfa
3 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,7 @@ import { routes as react } from '../../../helpers/react'
4
4
import { routes as express } from '../../../helpers/express'
5
5
6
6
context ( '2FA with various methods' , ( ) => {
7
- before ( ( ) => {
8
- cy . task ( 'resetCRI' , { } )
9
- } )
10
- after ( ( ) => {
7
+ beforeEach ( ( ) => {
11
8
cy . task ( 'resetCRI' , { } )
12
9
} )
13
10
; [
Original file line number Diff line number Diff line change @@ -3,10 +3,7 @@ import { routes as react } from '../../../helpers/react'
3
3
import { routes as express } from '../../../helpers/express'
4
4
5
5
context ( '2FA WebAuthn' , ( ) => {
6
- before ( ( ) => {
7
- cy . task ( 'resetCRI' , { } )
8
- } )
9
- after ( ( ) => {
6
+ beforeEach ( ( ) => {
10
7
cy . task ( 'resetCRI' , { } )
11
8
} )
12
9
; [
Original file line number Diff line number Diff line change 2
2
"name" : " @ory/kratos-e2e-suite" ,
3
3
"version" : " 0.0.1" ,
4
4
"scripts" : {
5
- "test" : " cypress run --browser chrome" ,
5
+ "test" : " cypress run --browser chrome --e2e " ,
6
6
"test:watch" : " cypress open --browser chrome" ,
7
7
"openapi-generator-cli" : " openapi-generator-cli" ,
8
8
"wait-on" : " wait-on" ,
You can’t perform that action at this time.
0 commit comments