Change test to auto-retry assertion
This makes the firefox version as reliable as the chromium one.
This commit is contained in:
Родитель
7de99b58b7
Коммит
37a66e8a2c
|
@ -15,7 +15,7 @@ test.describe("Premium Relay - Purchase Premium Flow, Desktop", () => {
|
|||
page,
|
||||
}) => {
|
||||
await dashboardPage.upgrade();
|
||||
expect(page.url()).toContain("/premium/");
|
||||
expect(page).toHaveURL("/premium/#pricing");
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -31,6 +31,6 @@ test.describe("Premium Relay - Purchase Premium Flow, Desktop - Visual Regressio
|
|||
page,
|
||||
}) => {
|
||||
await dashboardPage.upgradeNow();
|
||||
expect(page.url()).toContain("premium");
|
||||
expect(page).toHaveURL("/premium/#pricing");
|
||||
});
|
||||
});
|
||||
|
|
Загрузка…
Ссылка в новой задаче