File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
v1/webdriver/selenium/test
v2/webdriver/selenium/test Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -66,12 +66,12 @@ after(async function() {
6666
6767describe ( "Hello Tauri" , ( ) => {
6868 it ( "should be cordial" , async ( ) => {
69- const text = await driver . findElement ( By . css ( "body > h1" ) ) . getText ( ) ;
69+ const text = await driver . findElement ( By . css ( "body h1" ) ) . getText ( ) ;
7070 expect ( text ) . to . match ( / ^ W e l c o m e / ) ;
7171 } ) ;
7272
7373 it ( "should be excited" , async ( ) => {
74- const text = await driver . findElement ( By . css ( "body > h1" ) ) . getText ( ) ;
74+ const text = await driver . findElement ( By . css ( "body h1" ) ) . getText ( ) ;
7575 expect ( text ) . to . match ( / ! $ / ) ;
7676 } ) ;
7777
Original file line number Diff line number Diff line change @@ -65,12 +65,12 @@ after(async function () {
6565
6666describe ( "Hello Tauri" , ( ) => {
6767 it ( "should be cordial" , async ( ) => {
68- const text = await driver . findElement ( By . css ( "body > h1" ) ) . getText ( ) ;
68+ const text = await driver . findElement ( By . css ( "body h1" ) ) . getText ( ) ;
6969 expect ( text ) . to . match ( / ^ W e l c o m e / ) ;
7070 } ) ;
7171
7272 it ( "should be excited" , async ( ) => {
73- const text = await driver . findElement ( By . css ( "body > h1" ) ) . getText ( ) ;
73+ const text = await driver . findElement ( By . css ( "body h1" ) ) . getText ( ) ;
7474 expect ( text ) . to . match ( / ! $ / ) ;
7575 } ) ;
7676
You can’t perform that action at this time.
0 commit comments