File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ test.describe('Navigation Tests', () => {
44 test ( 'homepage loads correctly' , async ( { page } ) => {
55 await page . goto ( '/' ) ;
66 await expect ( page ) . toHaveTitle ( / p h p M y F A Q / ) ;
7- await expect ( page . locator ( 'h2.title' ) ) . toContainText ( 'phpMyFAQ 4.0 ' ) ;
7+ await expect ( page . locator ( 'h2.title' ) ) . toContainText ( 'phpMyFAQ 4.1 ' ) ;
88 await expect ( page . locator ( 'p.intro' ) ) . toContainText ( 'phpMyFAQ is a mobile-friendly' ) ;
99 await expect ( page . locator ( '.promo a[href="/demo"], .promo a[href="/demo/"]' ) ) . toBeVisible ( ) ;
1010 await expect ( page . locator ( '.promo a[href="/download"], .promo a[href="/download/"]' ) ) . toBeVisible ( ) ;
@@ -31,7 +31,7 @@ test.describe('Navigation Tests', () => {
3131 await page . goto ( '/features' ) ;
3232 await page . click ( 'a[href="/"] img[alt="Logo of phpMyFAQ"]' ) ;
3333 await expect ( page ) . toHaveURL ( '/' ) ;
34- await expect ( page . locator ( 'h2.title' ) ) . toContainText ( 'phpMyFAQ 4.0 ' ) ;
34+ await expect ( page . locator ( 'h2.title' ) ) . toContainText ( 'phpMyFAQ 4.1 ' ) ;
3535 } ) ;
3636
3737 test ( 'footer links are present' , async ( { page } ) => {
You can’t perform that action at this time.
0 commit comments