File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ await setup({
1111describe ( 'browser' , ( ) => {
1212 it ( 'runs a test' , async ( ) => {
1313 const page = await createPage ( '/' )
14- const text = await page . getByRole ( 'heading' , { name : 'Welcome to Nuxt! ' } ) . textContent ( )
15- expect ( text ) . toContain ( 'Welcome to Nuxt! ' )
14+ const text = await page . getByRole ( 'heading' , { name : 'Get started ' } ) . textContent ( )
15+ expect ( text ) . toContain ( 'Get started ' )
1616 await page . close ( )
1717 } , isWindows ? 120000 : 20000 )
1818} )
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ await setup({
1010describe ( 'browser' , ( ) => {
1111 it ( 'runs a test' , async ( ) => {
1212 const page = await createPage ( '/' )
13- const text = await page . getByRole ( 'heading' , { name : 'Welcome to Nuxt! ' } ) . textContent ( )
14- expect ( text ) . toContain ( 'Welcome to Nuxt! ' )
13+ const text = await page . getByRole ( 'heading' , { name : 'Get started ' } ) . textContent ( )
14+ expect ( text ) . toContain ( 'Get started ' )
1515 await page . close ( )
1616 } , isWindows ? 120000 : 20000 )
1717} )
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ await setup({
1212describe ( 'browser' , ( ) => {
1313 it ( 'runs a test' , { timeout : 20000 } , async ( ) => {
1414 const page = await createPage ( '/' )
15- const text = await page . getByRole ( 'heading' , { name : 'Welcome to Nuxt! ' } ) . textContent ( )
16- expect ( text ) . toContain ( 'Welcome to Nuxt! ' )
15+ const text = await page . getByRole ( 'heading' , { name : 'Get started ' } ) . textContent ( )
16+ expect ( text ) . toContain ( 'Get started ' )
1717 await page . close ( )
1818 } )
1919} )
You can’t perform that action at this time.
0 commit comments