From f7e8aada2eb4e54a6e050595513271bfa042e98c Mon Sep 17 00:00:00 2001 From: Ankita Kinger Date: Tue, 22 Apr 2025 11:35:14 +0530 Subject: [PATCH] ci: Fixing the page actions spec (#40328) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description Fixing the page actions spec that was failing after [#40322](https://github.com/appsmithorg/appsmith/pull/40322) merge Fixes # ## Automation /ok-to-test tags="@tag.IDE" ### :mag: Cypress test results > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: > Commit: d46229ad5cef61fdfa1eaee3adc38d38faac2b3a > Cypress dashboard. > Tags: `@tag.IDE` > Spec: >
Tue, 22 Apr 2025 05:28:28 UTC ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [ ] No ## Summary by CodeRabbit - **Tests** - Updated test assertions to check the "data-subtle" attribute instead of "data-disabled" when verifying the UI state of hidden pages. - Added a tag to the test suite for improved categorization. --- .../ClientSide/PartialImportExport/PageActions_spec.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/client/cypress/e2e/Regression/ClientSide/PartialImportExport/PageActions_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/PartialImportExport/PageActions_spec.ts index c7b0217dd7..117e4997bb 100644 --- a/app/client/cypress/e2e/Regression/ClientSide/PartialImportExport/PageActions_spec.ts +++ b/app/client/cypress/e2e/Regression/ClientSide/PartialImportExport/PageActions_spec.ts @@ -15,7 +15,7 @@ import { import PageList from "../../../../support/Pages/PageList"; import { EntityItems } from "../../../../support/Pages/AssertHelper"; -describe("Check Page Actions Menu", {}, function () { +describe("Check Page Actions Menu", { tags: ["@tag.IDE"] }, function () { it("1. Verify Page Actions when a page is selected", function () { homePage.RenameApplication("PageActions"); PageList.AddNewPage("New blank page"); @@ -32,7 +32,7 @@ describe("Check Page Actions Menu", {}, function () { PageList.ShowList(); agHelper.AssertAttribute( locators._entityTestId("NewPage Copy"), - "data-disabled", + "data-subtle", "true", ); PageList.DeletePage("NewPage Copy"); @@ -93,7 +93,7 @@ describe("Check Page Actions Menu", {}, function () { PageList.ShowList(); agHelper.AssertAttribute( locators._entityTestId("Page2 Copy"), - "data-disabled", + "data-subtle", "true", ); PageList.DeletePage("Page2 Copy"); @@ -115,7 +115,7 @@ describe("Check Page Actions Menu", {}, function () { PageList.ShowList(); agHelper.AssertAttribute( locators._entityTestId("HomePage Copy"), - "data-disabled", + "data-subtle", "true", ); PageList.DeletePage("HomePage Copy");