Skip to content

Commit

Permalink
test: updated themeCommands (#33632)
Browse files Browse the repository at this point in the history
RCA: There are many unused commands within themeCommands.js file

Solution:
Checked the themeCommands in both CE and EE repository and we are
removing those commands which are not used in any tests as part of
cleanup activity

/ok-to-test tags="@tag.All"<!-- This is an auto-generated comment:
Cypress test results -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/9184741418>
> Commit: 84481f0
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9184741418&attempt=1"
target="_blank">Click here!</a>

<!-- end of auto-generated comment: Cypress test results  -->
  • Loading branch information
NandanAnantharamu committed May 27, 2024
1 parent e49dfdb commit 4f3176d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions app/client/cypress/support/themeCommands.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@ Cypress.Commands.add("borderMouseover", (index, text) => {
cy.get(themelocator.popover).contains(text);
});

Cypress.Commands.add("shadowMouseover", (text) => {
cy.xpath(theme.locators._boxShadow(text)).trigger("mouseover");
cy.wait(1000);
cy.get(themelocator.popover).contains(text);
});

Cypress.Commands.add("colorMouseover", (index, text) => {
let colorType =
index == 0
Expand Down

0 comments on commit 4f3176d

Please sign in to comment.