Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f7e8aad

Browse files
authoredApr 22, 2025··
ci: Fixing the page actions spec (#40328)
## Description Fixing the page actions spec that was failing after [#40322](#40322) merge Fixes # ## Automation /ok-to-test tags="@tag.IDE" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/14587020719> > Commit: d46229a > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14587020719&attempt=1" target="_blank">Cypress dashboard</a>. > Tags: `@tag.IDE` > Spec: > <hr>Tue, 22 Apr 2025 05:28:28 UTC <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [ ] No <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## 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. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 5ace9ba commit f7e8aad

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎app/client/cypress/e2e/Regression/ClientSide/PartialImportExport/PageActions_spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
import PageList from "../../../../support/Pages/PageList";
1616
import { EntityItems } from "../../../../support/Pages/AssertHelper";
1717

18-
describe("Check Page Actions Menu", {}, function () {
18+
describe("Check Page Actions Menu", { tags: ["@tag.IDE"] }, function () {
1919
it("1. Verify Page Actions when a page is selected", function () {
2020
homePage.RenameApplication("PageActions");
2121
PageList.AddNewPage("New blank page");
@@ -32,7 +32,7 @@ describe("Check Page Actions Menu", {}, function () {
3232
PageList.ShowList();
3333
agHelper.AssertAttribute(
3434
locators._entityTestId("NewPage Copy"),
35-
"data-disabled",
35+
"data-subtle",
3636
"true",
3737
);
3838
PageList.DeletePage("NewPage Copy");
@@ -93,7 +93,7 @@ describe("Check Page Actions Menu", {}, function () {
9393
PageList.ShowList();
9494
agHelper.AssertAttribute(
9595
locators._entityTestId("Page2 Copy"),
96-
"data-disabled",
96+
"data-subtle",
9797
"true",
9898
);
9999
PageList.DeletePage("Page2 Copy");
@@ -115,7 +115,7 @@ describe("Check Page Actions Menu", {}, function () {
115115
PageList.ShowList();
116116
agHelper.AssertAttribute(
117117
locators._entityTestId("HomePage Copy"),
118-
"data-disabled",
118+
"data-subtle",
119119
"true",
120120
);
121121
PageList.DeletePage("HomePage Copy");

0 commit comments

Comments
 (0)
Please sign in to comment.