@@ -7,9 +7,9 @@ Feature('Session');
77Scenario ( 'simple session @WebDriverIO @Puppeteer @Playwright' ,  ( {  I } )  =>  { 
88  I . amOnPage ( '/info' ) ; 
99  session ( 'john' ,  ( )  =>  { 
10-     I . amOnPage ( 'https://github.com ' ) ; 
10+     I . amOnPage ( 'https://codecept.io/ ' ) ; 
1111    I . dontSeeInCurrentUrl ( '/info' ) ; 
12-     I . see ( 'GitHub ' ) ; 
12+     I . see ( 'CodeceptJS ' ) ; 
1313  } ) ; 
1414  I . dontSee ( 'GitHub' ) ; 
1515  I . seeInCurrentUrl ( '/info' ) ; 
@@ -38,11 +38,11 @@ Scenario('screenshots reflect the current page of current session @Puppeteer @Pl
3838  ] ) ; 
3939
4040  // Assert that screenshots of same page in same session are equal 
41-   assert . equal ( default1Digest ,  default2Digest ) ; 
42-   assert . equal ( john1Digest ,  john2Digest ) ; 
41+   I . expectEqual ( default1Digest ,  default2Digest ) ; 
42+   I . expectEqual ( john1Digest ,  john2Digest ) ; 
4343
4444  // Assert that screenshots of different pages in different sessions are not equal 
45-   assert . notEqual ( default1Digest ,  john1Digest ) ; 
45+   I . expectNotEqual ( default1Digest ,  john1Digest ) ; 
4646} ) ; 
4747
4848Scenario ( 'Different cookies for different sessions @WebDriverIO @Playwright @Puppeteer' ,  async  ( {  I } )  =>  { 
@@ -72,9 +72,9 @@ Scenario('Different cookies for different sessions @WebDriverIO @Playwright @Pup
7272  assert ( cookies . default ) ; 
7373  assert ( cookies . john ) ; 
7474  assert ( cookies . mary ) ; 
75-   assert . notEqual ( cookies . default ,  cookies . john ) ; 
76-   assert . notEqual ( cookies . default ,  cookies . mary ) ; 
77-   assert . notEqual ( cookies . john ,  cookies . mary ) ; 
75+   I . expectNotEqual ( cookies . default ,  cookies . john ) ; 
76+   I . expectNotEqual ( cookies . default ,  cookies . mary ) ; 
77+   I . expectNotEqual ( cookies . john ,  cookies . mary ) ; 
7878} ) ; 
7979
8080Scenario ( 'should save screenshot for active session @WebDriverIO @Puppeteer @Playwright' ,  async  function  ( {  I } )  { 
@@ -94,7 +94,7 @@ Scenario('should save screenshot for active session @WebDriverIO @Puppeteer @Pla
9494  ] ) ; 
9595
9696  // Assert that screenshots of same page in same session are equal 
97-   assert . equal ( original ,  failed ) ; 
97+   I . expectEqual ( original ,  failed ) ; 
9898} ) ; 
9999
100100Scenario ( 'should throw exception and close correctly @WebDriverIO @Puppeteer @Playwright' ,  ( {  I } )  =>  { 
@@ -160,7 +160,7 @@ Scenario('change page emulation @Playwright', async ({ I }) => {
160160  } ,  async  ( )  =>  { 
161161    I . amOnPage ( '/' ) ; 
162162    const  width  =  await  I . executeScript ( 'window.innerWidth' ) ; 
163-     assert . equal ( width ,  300 ) ; 
163+     I . expectEqual ( width ,  300 ) ; 
164164  } ) ; 
165165} ) ; 
166166
0 commit comments