-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31373 from appsmithorg/release
29/02 Daily promotion
- Loading branch information
Showing
130 changed files
with
1,195 additions
and
1,329 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
43 changes: 43 additions & 0 deletions
43
app/client/cypress/e2e/Regression/ClientSide/Templates/CreateNewAppFromTemplates_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,43 @@ | ||
import { | ||
agHelper, | ||
homePage, | ||
locators, | ||
templates, | ||
} from "../../../../support/Objects/ObjectsCore"; | ||
import reconnectDatasourceLocators from "../../../../locators/ReconnectLocators.js"; | ||
|
||
describe( | ||
"Create new application from template", | ||
{ tags: ["@tag.excludeForAirgap", "@tag.Workspace", "@tag.Templates"] }, | ||
function () { | ||
beforeEach(() => { | ||
homePage.NavigateToHome(); | ||
homePage.OpenTemplatesDialogInStartFromTemplates(); | ||
}); | ||
|
||
it("1. Should be able to create new app from template list page", () => { | ||
agHelper.GetNClick(templates.locators._templatesCardForkButton); | ||
|
||
agHelper.AssertElementVisibility(locators._sidebar); | ||
agHelper.AssertElementAbsence(locators._loading); | ||
}); | ||
|
||
it("2. Should be able to create new app from template detail page", () => { | ||
agHelper.GetNClick(templates.locators._templateCard); | ||
agHelper.GetNClick(templates.locators._templateViewForkButton); | ||
|
||
agHelper.AssertElementVisibility(locators._sidebar); | ||
agHelper.AssertElementAbsence(locators._loading); | ||
}); | ||
|
||
it("3. When reconnect modal is shown, `start with templates` dialog should not be visible", () => { | ||
agHelper.GetNClick("//h1[text()='Customer Messaging Tool']"); | ||
agHelper.GetNClick(templates.locators._templateViewForkButton); | ||
|
||
agHelper.AssertElementVisibility(reconnectDatasourceLocators.Modal, true); | ||
agHelper.AssertElementAbsence(homePage._createAppFromTemplatesDialog); | ||
agHelper.GetNClick(reconnectDatasourceLocators.SkipToAppBtn, 0, true); | ||
agHelper.WaitUntilEleDisappear(reconnectDatasourceLocators.SkipToAppBtn); | ||
}); | ||
}, | ||
); |
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
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
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
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
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
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
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
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.