File tree Expand file tree Collapse file tree 4 files changed +593
-157
lines changed Expand file tree Collapse file tree 4 files changed +593
-157
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 17
17
},
18
18
"devDependencies" : {
19
19
"@changesets/cli" : " ^2.16.0" ,
20
- "@ianwalter/bff" : " ^10.0.7" ,
20
+ "@ianwalter/bff" : " ^11.0.0" ,
21
+ "@ianwalter/bff-playwright" : " ^5.0.0" ,
21
22
"@ianwalter/eslint-config" : " ^6.2.0" ,
22
23
"@ianwalter/renovate-config" : " ^1.4.4"
23
24
},
24
25
"bff" : {
25
26
"plugins" : [
26
- " config.js"
27
- ]
27
+ " @ianwalter/bff-playwright"
28
+ ],
29
+ "playwright" : {
30
+ "browsers" : [
31
+ " chromium" ,
32
+ " firefox" ,
33
+ " webkit"
34
+ ]
35
+ }
28
36
},
29
37
"eslintConfig" : {
30
38
"root" : true ,
Original file line number Diff line number Diff line change 1
1
import { test } from '@ianwalter/bff'
2
2
3
3
test ( 'My personal site' , async t => {
4
- await t . page . goto ( 'https://ianwalter.dev' )
5
- t . expect ( await t . page . innerText ( 'body' ) ) . toContain ( 'Ian Walter' )
4
+ const { page } = await t . chromium ( { args : [ '--no-sandbox' ] } )
5
+ await page . goto ( 'https://ianwalter.dev' )
6
+ t . expect ( await page . innerText ( 'body' ) ) . toContain ( 'Ian Walter' )
6
7
} )
You can’t perform that action at this time.
0 commit comments