Skip to content

Commit

Permalink
Change line to check page title
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkamp committed Aug 4, 2023
1 parent 22c998a commit 14f6647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/specs/get-started.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ test( 'Merchant who is getting started clicks on the Marketing > GLA link, click
await page.getByRole( 'link', { name: 'Google Listings & Ads' } ).click();
await page.waitForLoadState( 'networkidle' );

await expect( page.title() ).resolves.toContain( 'Google Listings & Ads' );
await expect( page ).toHaveTitle( /Google Listings & Ads/ );

// click on the call-to-action button.
await page.getByText( 'Start listing products →' ).first().click();
Expand Down

0 comments on commit 14f6647

Please sign in to comment.