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:
Vladimir Lazar 2026-03-12 11:01:31 +01:00 committed by GitHub
parent 0a2f152c13
commit a6a179e6de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -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'],

View file

@ -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 });
}