File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 31
31
await t . expect ( notofication ) . contains ( 'Key has been added' , 'The notification' ) ;
32
32
//check that new key is displayed in the list
33
33
await browserPage . searchByKeyName ( keyName ) ;
34
- const isKeyIsDisplayedInTheList = await browserPage . isKeyIsDisplayedInTheList ( 'Key has been added' ) ;
34
+ const isKeyIsDisplayedInTheList = await browserPage . isKeyIsDisplayedInTheList ( keyName ) ;
35
35
await t . expect ( isKeyIsDisplayedInTheList ) . ok ( 'The key is added' ) ;
36
36
} ) ;
37
37
test
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import testcafe from 'testcafe';
13
13
. screenshots ( {
14
14
path : 'report/screenshots/' ,
15
15
takeOnFails : true ,
16
- pathPattern : '${USERAGENT }/${DATE}_${TIME}/${FIXTURE}_${TEST_INDEX}.png' ,
16
+ pathPattern : '${OS}_${BROWSER }/${DATE}_${TIME}/${FIXTURE}_${TEST_INDEX}.png' ,
17
17
} )
18
18
. reporter ( [
19
19
'spec' ,
@@ -24,6 +24,10 @@ import testcafe from 'testcafe';
24
24
{
25
25
name : 'json' ,
26
26
output : './results/e2e.results.json'
27
+ } ,
28
+ {
29
+ name : 'html' ,
30
+ output : './report/report.html'
27
31
}
28
32
] )
29
33
. run ( {
You can’t perform that action at this time.
0 commit comments