Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigation block: e2e code quality fixes #48071

Merged
merged 9 commits into from
Feb 15, 2023
Prev Previous commit
Next Next commit
Update test/e2e/specs/editor/blocks/navigation.spec.js
Co-authored-by: Kai Hao <[email protected]>
  • Loading branch information
MaggieCabrera and kevin940726 committed Feb 15, 2023
commit d3049702cadbe7a1063c4644e5752c2cfd492afe
4 changes: 2 additions & 2 deletions test/e2e/specs/editor/blocks/navigation.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ test.describe(
await page.locator( 'role=button[name="Close panel"i]' ).click();

// Check the block in the frontend.
await this.page.goto( '/' );
await page.goto( '/' );
await expect(
this.page.locator(
page.locator(
`role=navigation >> role=link[name="WordPress"i]`
)
).toBeVisible();
Expand Down