chore(test): remove unnecessary validation (#13146)

Signed-off-by: Vladimir Lazar <vlazar@redhat.com>
This commit is contained in:
Vladimir Lazar 2025-07-10 16:53:24 +02:00 committed by GitHub
parent a04e0c252c
commit 3660bd22a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -79,16 +79,11 @@ export class WelcomePage extends BasePage {
});
}
async waitForInitialization(): Promise<void> {
await playExpect(this.checkLoader).toHaveCount(0, { timeout: 10_000 });
}
/**
* Waits for application to initialize, turn off telemetry and closes welcome page
*/
async handleWelcomePage(skipIfNotPresent: boolean): Promise<void> {
return test.step('Handle Welcome Page', async () => {
await this.waitForInitialization();
if (skipIfNotPresent) {
try {
await this.skipOnBoarding.waitFor({ state: 'visible' });