添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Replace deprecated waitForNavigation method in Playwright tests #1848

Closed

Description

Problem

Some functions in navigation.ts use the deprecated method waitForNavigation which causes race conditions.

Description

waitForNavigation should be replaced with waitForURL according to the documentation page: https://playwright.dev/docs/api/class-page#page-wait-for-url

Priority set to high because this issue might be causing Playwright failures. Which, in turn, might cause us to fail to see the changes on staging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

Type

No type

Projects

  • Status

    ✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions