mirror of
https://github.com/podman-desktop/podman-desktop
synced 2026-04-21 09:37:22 +00:00
chore(test): attempting to fix a race condition in e2e tests (#16450)
Signed-off-by: Vladimir Lazar <vlazar@redhat.com>
This commit is contained in:
parent
7a964f464c
commit
137685163e
1 changed files with 6 additions and 4 deletions
|
|
@ -102,10 +102,12 @@ test.describe.serial('Compose onboarding workflow verification', { tag: '@smoke'
|
|||
await onboardingPage.nextStepButton.click();
|
||||
|
||||
const onboardigLocalPage = new ComposeLocalInstallPage(page);
|
||||
const downloadSuccess = onboardigLocalPage.onboardingStatusMessage.filter({
|
||||
hasText: 'Compose successfully Downloaded',
|
||||
});
|
||||
const rateLimitExceeded = page.getByText('API rate limit exceeded');
|
||||
const downloadSuccess = onboardigLocalPage.onboardingStatusMessage
|
||||
.filter({
|
||||
hasText: 'Compose successfully Downloaded',
|
||||
})
|
||||
.first();
|
||||
const rateLimitExceeded = page.getByText('API rate limit exceeded').first();
|
||||
|
||||
await playExpect(downloadSuccess.or(rateLimitExceeded)).toBeVisible({ timeout: 50_000 });
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue