From 04041df6fd9b160fda79e9c2f9b604a8102d6430 Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Tue, 26 Nov 2024 07:27:49 +0100 Subject: [PATCH] OZG-7237 change spinner class to search for --- alfa-client/apps/alfa-e2e/src/page-objects/main.po.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/alfa-client/apps/alfa-e2e/src/page-objects/main.po.ts b/alfa-client/apps/alfa-e2e/src/page-objects/main.po.ts index 9bd72f3530..299d28b5a0 100644 --- a/alfa-client/apps/alfa-e2e/src/page-objects/main.po.ts +++ b/alfa-client/apps/alfa-e2e/src/page-objects/main.po.ts @@ -42,8 +42,7 @@ export class MainPage { private readonly views: VorgangViewsE2EComponent = new VorgangViewsE2EComponent(); private readonly snackBar: SnackBarE2EComponent = new SnackBarE2EComponent(); private readonly vorgangList: VorgangListE2EComponent = new VorgangListE2EComponent(); - private readonly internalServerErrorDialog: InternalServerErrorDialogE2EComponent = - new InternalServerErrorDialogE2EComponent(); + private readonly internalServerErrorDialog: InternalServerErrorDialogE2EComponent = new InternalServerErrorDialogE2EComponent(); private readonly connectionTimeoutRetryDialog: ConnectionTimeoutRetryDialogE2EComponent = new ConnectionTimeoutRetryDialogE2EComponent(); private readonly connectionTimeoutRetryFailDialog: ConnectionTimeoutRetryFailDialogE2EComponent = @@ -97,7 +96,7 @@ export class MainPage { } export function waitForSpinnerToDisappear(): boolean { - return cy.getTestElementWithClass('spinner').should('not.exist'); + return cy.getTestElementWithClass('spinner-content').should('not.exist'); } export function waitforSpinnerToAppear(): void { -- GitLab