From eec7b74c3506e852fdb887058f500acf23f84c83 Mon Sep 17 00:00:00 2001 From: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Date: Wed, 28 Aug 2024 11:40:24 +0530 Subject: [PATCH] test: common code change for Workflow tests (#35886) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit /ok-to-test tags="@tag.All" > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: > Commit: 27a55649d9f3cb398053fd68bfcecbbc96f6a694 > Cypress dashboard. > Tags: `@tag.All` > Spec: >
Wed, 28 Aug 2024 05:53:34 UTC ## Summary by CodeRabbit - **New Features** - Enhanced user interface functionality by ensuring the application waits for the button spinner to disappear before proceeding with visibility assertions and onboarding. - **Improvements** - Improved user experience by reducing potential inconsistencies or errors during the onboarding process. --------- Co-authored-by: NandanAnantharamu --- app/client/cypress/support/Pages/HomePage.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/client/cypress/support/Pages/HomePage.ts b/app/client/cypress/support/Pages/HomePage.ts index 0d7569aa63..b482db49d5 100644 --- a/app/client/cypress/support/Pages/HomePage.ts +++ b/app/client/cypress/support/Pages/HomePage.ts @@ -306,6 +306,7 @@ export class HomePage { this.agHelper.GetNClick(this._newButtonCreateApplication, 0, true); this.AssertApplicationCreated(); if (skipSignposting) { + this.agHelper.WaitUntilEleDisappear(this.locator._btnSpinner); AppSidebar.assertVisible(); this.agHelper.AssertElementVisibility(PageLeftPane.locators.selector); this.onboarding.skipSignposting();