mirror of
https://github.com/podman-desktop/podman-desktop
synced 2026-04-21 09:37:22 +00:00
chore(test): make startup sequence be more robust to environment system lag (#16591)
Signed-off-by: Vladimir Lazar <vlazar@redhat.com>
This commit is contained in:
parent
0a2f152c13
commit
a6a179e6de
2 changed files with 3 additions and 3 deletions
|
|
@ -21,7 +21,7 @@ import { defineConfig, devices } from '@playwright/test';
|
|||
export default defineConfig({
|
||||
outputDir: 'tests/playwright/output/',
|
||||
workers: 1,
|
||||
timeout: 60000,
|
||||
timeout: 90_000,
|
||||
|
||||
reporter: [
|
||||
['list'],
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ export class WelcomePage extends BasePage {
|
|||
async turnOffTelemetry(): Promise<void> {
|
||||
return test.step('Turn off Telemetry', async () => {
|
||||
// Extensions load sequentially (faster speed but can block ui)
|
||||
await playExpect(this.startOnboarding).toBeEnabled({ timeout: 45_000 });
|
||||
await playExpect(this.startOnboarding).toBeEnabled({ timeout: 60_000 });
|
||||
|
||||
if (await this.telemetryConsent.isChecked()) {
|
||||
await playExpect(this.telemetryConsent).toBeChecked();
|
||||
|
|
@ -86,7 +86,7 @@ export class WelcomePage extends BasePage {
|
|||
await this.skipOnBoarding.click({ force: true });
|
||||
try {
|
||||
await waitWhile(async () => await this.skipOnBoarding.isVisible(), { timeout: 5_000, diff: 250 });
|
||||
} catch (err) {
|
||||
} catch (_err) {
|
||||
console.log('Skip Onboarding button is still visible, retrying to press the button');
|
||||
await this.skipOnBoarding.click({ force: true });
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue