forked from appsmithorg/appsmith
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release' into chore/snowflake-junit-test-cases
- Loading branch information
Showing
152 changed files
with
31,134 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#ARG CHROME_VERSION="126.0.6478.114-1" | ||
ARG YARN_VERSION='1.22.22' | ||
ARG NODE_VERSION='20.11.1' | ||
ARG CYPRESS_VERSION='13.5.1' | ||
FROM cypress/factory:4.0.2 | ||
|
||
# Install chromium in this way since there is no browsers in the docker container for the arm64 architecture | ||
# https://github.com/cypress-io/cypress-docker-images/issues/695 | ||
RUN apt update && apt install -y chromium | ||
|
||
ENTRYPOINT ["yarn", "cypress:snapshot"] |
28 changes: 28 additions & 0 deletions
28
.../cypress/e2e/Regression/ClientSide/Anvil/Widgets/AnvilCheckboxGroupWidgetSnapshot_spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { ANVIL_EDITOR_TEST } from "../../../../../support/Constants"; | ||
import { | ||
agHelper, | ||
anvilSnapshot, | ||
} from "../../../../../support/Objects/ObjectsCore"; | ||
|
||
describe( | ||
`${ANVIL_EDITOR_TEST}: Anvil tests for Checkbox Group Widget`, | ||
{ tags: ["@tag.Anvil"] }, | ||
() => { | ||
before(() => { | ||
agHelper.AddDsl("anvilCheckboxGroupWidget"); | ||
}); | ||
|
||
it("1. Canvas Mode", () => { | ||
anvilSnapshot.triggerCheckboxGroupInvalidState(); | ||
anvilSnapshot.verifyCanvasMode("CheckboxGroupWidget"); | ||
}); | ||
|
||
it("2. Preview Mode", () => { | ||
anvilSnapshot.verifyPreviewMode("CheckboxGroupWidget"); | ||
}); | ||
|
||
it("3. Deploy Mode", () => { | ||
anvilSnapshot.verifyDeployMode("CheckboxGroupWidget"); | ||
}); | ||
}, | ||
); |
27 changes: 27 additions & 0 deletions
27
...lient/cypress/e2e/Regression/ClientSide/Anvil/Widgets/AnvilCheckboxWidgetSnapshot_spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { ANVIL_EDITOR_TEST } from "../../../../../support/Constants"; | ||
import { | ||
agHelper, | ||
anvilSnapshot, | ||
} from "../../../../../support/Objects/ObjectsCore"; | ||
|
||
describe( | ||
`${ANVIL_EDITOR_TEST}: Anvil tests for Checkbox Widget`, | ||
{ tags: ["@tag.Anvil"] }, | ||
() => { | ||
before(() => { | ||
agHelper.AddDsl("anvilCheckboxWidget"); | ||
}); | ||
|
||
it("1. Canvas Mode", () => { | ||
anvilSnapshot.verifyCanvasMode("CheckboxWidget"); | ||
}); | ||
|
||
it("2. Preview Mode", () => { | ||
anvilSnapshot.verifyPreviewMode("CheckboxWidget"); | ||
}); | ||
|
||
it("3. Deploy Mode", () => { | ||
anvilSnapshot.verifyDeployMode("CheckboxWidget"); | ||
}); | ||
}, | ||
); |
27 changes: 27 additions & 0 deletions
27
...client/cypress/e2e/Regression/ClientSide/Anvil/Widgets/AnvilHeadingWidgetSnapshot_spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { ANVIL_EDITOR_TEST } from "../../../../../support/Constants"; | ||
import { | ||
agHelper, | ||
anvilSnapshot, | ||
} from "../../../../../support/Objects/ObjectsCore"; | ||
|
||
describe( | ||
`${ANVIL_EDITOR_TEST}: Anvil tests for Heading Widget`, | ||
{ tags: ["@tag.Anvil"] }, | ||
() => { | ||
before(() => { | ||
agHelper.AddDsl("anvilHeadingWidget"); | ||
}); | ||
|
||
it("1. Canvas Mode", () => { | ||
anvilSnapshot.verifyCanvasMode("HeadingWidget"); | ||
}); | ||
|
||
it("2. Preview Mode", () => { | ||
anvilSnapshot.verifyPreviewMode("HeadingWidget"); | ||
}); | ||
|
||
it("3. Deploy Mode", () => { | ||
anvilSnapshot.verifyDeployMode("HeadingWidget"); | ||
}); | ||
}, | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
...ient/cypress/e2e/Regression/ClientSide/Anvil/Widgets/AnvilParagraphWidgetSnapshot_spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { ANVIL_EDITOR_TEST } from "../../../../../support/Constants"; | ||
import { | ||
agHelper, | ||
anvilSnapshot, | ||
} from "../../../../../support/Objects/ObjectsCore"; | ||
|
||
describe( | ||
`${ANVIL_EDITOR_TEST}: Anvil tests for Paragraph Widget`, | ||
{ tags: ["@tag.Anvil"] }, | ||
() => { | ||
before(() => { | ||
agHelper.AddDsl("anvilParagraphWidget"); | ||
}); | ||
|
||
it("1. Canvas Mode", () => { | ||
anvilSnapshot.verifyCanvasMode("ParagraphWidget"); | ||
}); | ||
|
||
it("2. Preview Mode", () => { | ||
anvilSnapshot.verifyPreviewMode("ParagraphWidget"); | ||
}); | ||
|
||
it("3. Deploy Mode", () => { | ||
anvilSnapshot.verifyDeployMode("ParagraphWidget"); | ||
}); | ||
}, | ||
); |
27 changes: 27 additions & 0 deletions
27
...ent/cypress/e2e/Regression/ClientSide/Anvil/Widgets/AnvilRadioGroupWidgetSnapshot_spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { ANVIL_EDITOR_TEST } from "../../../../../support/Constants"; | ||
import { | ||
agHelper, | ||
anvilSnapshot, | ||
} from "../../../../../support/Objects/ObjectsCore"; | ||
|
||
describe( | ||
`${ANVIL_EDITOR_TEST}: Anvil tests for Radio Group Widget`, | ||
{ tags: ["@tag.Anvil"] }, | ||
() => { | ||
before(() => { | ||
agHelper.AddDsl("anvilRadioGroupWidget"); | ||
}); | ||
|
||
it("1. Canvas Mode", () => { | ||
anvilSnapshot.verifyCanvasMode("RadioGroupWidget"); | ||
}); | ||
|
||
it("2. Preview Mode", () => { | ||
anvilSnapshot.verifyPreviewMode("RadioGroupWidget"); | ||
}); | ||
|
||
it("3. Deploy Mode", () => { | ||
anvilSnapshot.verifyDeployMode("RadioGroupWidget"); | ||
}); | ||
}, | ||
); |
27 changes: 27 additions & 0 deletions
27
app/client/cypress/e2e/Regression/ClientSide/Anvil/Widgets/AnvilStatsWidgetSnapshot_spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { ANVIL_EDITOR_TEST } from "../../../../../support/Constants"; | ||
import { | ||
agHelper, | ||
anvilSnapshot, | ||
} from "../../../../../support/Objects/ObjectsCore"; | ||
|
||
describe( | ||
`${ANVIL_EDITOR_TEST}: Anvil tests for Stats Widget`, | ||
{ tags: ["@tag.Anvil"] }, | ||
() => { | ||
before(() => { | ||
agHelper.AddDsl("anvilStatsWidget"); | ||
}); | ||
|
||
it("1. Canvas Mode", () => { | ||
anvilSnapshot.verifyCanvasMode("StatsWidget"); | ||
}); | ||
|
||
it("2. Preview Mode", () => { | ||
anvilSnapshot.verifyPreviewMode("StatsWidget"); | ||
}); | ||
|
||
it("3. Deploy Mode", () => { | ||
anvilSnapshot.verifyDeployMode("StatsWidget"); | ||
}); | ||
}, | ||
); |
27 changes: 27 additions & 0 deletions
27
...nt/cypress/e2e/Regression/ClientSide/Anvil/Widgets/AnvilSwitchGroupWidgetSnapshot_spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { ANVIL_EDITOR_TEST } from "../../../../../support/Constants"; | ||
import { | ||
agHelper, | ||
anvilSnapshot, | ||
} from "../../../../../support/Objects/ObjectsCore"; | ||
|
||
describe( | ||
`${ANVIL_EDITOR_TEST}: Anvil tests for Switch Group Widget`, | ||
{ tags: ["@tag.Anvil"] }, | ||
() => { | ||
before(() => { | ||
agHelper.AddDsl("anvilSwitchGroupWidget"); | ||
}); | ||
|
||
it("1. Canvas Mode", () => { | ||
anvilSnapshot.verifyCanvasMode("SwitchGroupWidget"); | ||
}); | ||
|
||
it("2. Preview Mode", () => { | ||
anvilSnapshot.verifyPreviewMode("SwitchoGroupWidget"); | ||
}); | ||
|
||
it("3. Deploy Mode", () => { | ||
anvilSnapshot.verifyDeployMode("SwitchGroupWidget"); | ||
}); | ||
}, | ||
); |
27 changes: 27 additions & 0 deletions
27
app/client/cypress/e2e/Regression/ClientSide/Anvil/Widgets/AnvilSwitchWidgetSnapshot_spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { ANVIL_EDITOR_TEST } from "../../../../../support/Constants"; | ||
import { | ||
agHelper, | ||
anvilSnapshot, | ||
} from "../../../../../support/Objects/ObjectsCore"; | ||
|
||
describe( | ||
`${ANVIL_EDITOR_TEST}: Anvil tests for Switch Widget`, | ||
{ tags: ["@tag.Anvil"] }, | ||
() => { | ||
before(() => { | ||
agHelper.AddDsl("anvilSwitchWidget"); | ||
}); | ||
|
||
it("1. Canvas Mode", () => { | ||
anvilSnapshot.verifyCanvasMode("SwitchWidget"); | ||
}); | ||
|
||
it("2. Preview Mode", () => { | ||
anvilSnapshot.verifyPreviewMode("SwitchWidget"); | ||
}); | ||
|
||
it("3. Deploy Mode", () => { | ||
anvilSnapshot.verifyDeployMode("SwitchWidget"); | ||
}); | ||
}, | ||
); |
27 changes: 27 additions & 0 deletions
27
app/client/cypress/e2e/Regression/ClientSide/Anvil/Widgets/AnvilTableWidgetSnapshot_spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { ANVIL_EDITOR_TEST } from "../../../../../support/Constants"; | ||
import { | ||
agHelper, | ||
anvilSnapshot, | ||
} from "../../../../../support/Objects/ObjectsCore"; | ||
|
||
describe( | ||
`${ANVIL_EDITOR_TEST}: Anvil tests for Table Widget`, | ||
{ tags: ["@tag.Anvil"] }, | ||
() => { | ||
before(() => { | ||
agHelper.AddDsl("anvilTableWidget"); | ||
}); | ||
|
||
it("1. Canvas Mode", () => { | ||
anvilSnapshot.verifyCanvasMode("TableWidget"); | ||
}); | ||
|
||
it("2. Preview Mode", () => { | ||
anvilSnapshot.verifyPreviewMode("TableWidget"); | ||
}); | ||
|
||
it("3. Deploy Mode", () => { | ||
anvilSnapshot.verifyDeployMode("TableWidget"); | ||
}); | ||
}, | ||
); |
27 changes: 27 additions & 0 deletions
27
...nt/cypress/e2e/Regression/ClientSide/Anvil/Widgets/AnvilZoneSectionWidgetSnapshot_spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { ANVIL_EDITOR_TEST } from "../../../../../support/Constants"; | ||
import { | ||
agHelper, | ||
anvilSnapshot, | ||
} from "../../../../../support/Objects/ObjectsCore"; | ||
|
||
describe( | ||
`${ANVIL_EDITOR_TEST}: Anvil tests for Zone and Section Widget`, | ||
{ tags: ["@tag.Anvil"] }, | ||
() => { | ||
before(() => { | ||
agHelper.AddDsl("anvilZoneSectionWidget"); | ||
}); | ||
|
||
it("1. Canvas Mode", () => { | ||
anvilSnapshot.verifyCanvasMode("ZoneSectionWidget"); | ||
}); | ||
|
||
it("2. Preview Mode", () => { | ||
anvilSnapshot.verifyPreviewMode("ZoneSectionWidget"); | ||
}); | ||
|
||
it("3. Deploy Mode", () => { | ||
anvilSnapshot.verifyDeployMode("ZoneSectionWidget"); | ||
}); | ||
}, | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.