choo121600 commented on code in PR #64666:
URL: https://github.com/apache/airflow/pull/64666#discussion_r3083656827
##########
airflow-core/src/airflow/ui/tests/e2e/pages/AssetListPage.ts:
##########
@@ -43,7 +43,10 @@ export class AssetListPage extends BasePage {
}
public async navigate(): Promise<void> {
- await this.navigateTo("/assets");
+ await expect(async () => {
+ await this.navigateTo("/assets");
+ await this.page.waitForURL(/.*assets/, { timeout: 10_000 });
+ }).toPass({ intervals: [2000], timeout: 60_000 });
Review Comment:
Other Page Object navigate methods also use `timeout: 60_000`, so I left it
as is for consistency.
We can extract these into a constant later.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]