Skip to content

Commit

Permalink
test: fix test in airgap for canvas context prop (#36519)
Browse files Browse the repository at this point in the history
This test spec was working fine on EE/CE this fix will handle scenario
in airgap environment

/ok-to-test tags="@tag.Sanity"



<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/11026655789>
> Commit: f120b71
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=11026655789&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Wed, 25 Sep 2024 05:41:09 UTC
<!-- end of auto-generated comment: Cypress test results  -->

---------

Co-authored-by: “NandanAnantharamu” <“[email protected]”>
  • Loading branch information
NandanAnantharamu and “NandanAnantharamu” authored Sep 25, 2024
1 parent 4743e96 commit 20fa8de
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,16 @@ describe("Canvas context Property Pane", { tags: ["@tag.IDE"] }, function () {
propertySectionState = {
basic: false,
general: true,
validation: false,
formsettings: true,
};

if (!Cypress.env("AIRGAPPED")) {
propertySectionState = {
...propertySectionState,
validation: false,
formsettings: true,
};
}

verifyPropertyPaneContext(
() => {
setPropertyPaneSectionState(propertySectionState);
Expand Down

0 comments on commit 20fa8de

Please sign in to comment.