ci: Cypress CI run Group name update (#19119)
## Description - This PR includes the script updates for connecting to TED Git instead of actual Github for running tests ## Type of change - New script changes to connect to TED Git ## How Has This Been Tested? - Cypress CI runs ## Checklist: ### QA activity: - [X] Test plan has been approved by relevant developers - [X] Test plan has been peer reviewed by QA - [X] Cypress test cases have been added and approved by either SDET or manual QA - [X] Organized project review call with relevant stakeholders after Round 1/2 of QA - [X] Added Test Plan Approved label after reveiwing all Cypress test
This commit is contained in:
parent
c4d7462fb3
commit
7607883ab5
|
|
@ -362,7 +362,7 @@ jobs:
|
||||||
install: false
|
install: false
|
||||||
parallel: true
|
parallel: true
|
||||||
config-file: cypress_ci.json
|
config-file: cypress_ci.json
|
||||||
group: "Electrons on Github Action"
|
group: "Electrons on Github Action Fat Container"
|
||||||
spec: ${{ env.failed_spec_env }}
|
spec: ${{ env.failed_spec_env }}
|
||||||
working-directory: app/client
|
working-directory: app/client
|
||||||
# tag will be either "push" or "pull_request"
|
# tag will be either "push" or "pull_request"
|
||||||
|
|
|
||||||
|
|
@ -725,7 +725,7 @@ jobs:
|
||||||
install: false
|
install: false
|
||||||
parallel: true
|
parallel: true
|
||||||
config-file: cypress_ci.json
|
config-file: cypress_ci.json
|
||||||
group: "Electrons on Github Action"
|
group: "Electrons on Github Action Fat Container"
|
||||||
spec: ${{ env.failed_spec_env }}
|
spec: ${{ env.failed_spec_env }}
|
||||||
working-directory: app/client
|
working-directory: app/client
|
||||||
# tag will be either "push" or "pull_request"
|
# tag will be either "push" or "pull_request"
|
||||||
|
|
|
||||||
|
|
@ -78,10 +78,11 @@ describe("Git import flow ", function() {
|
||||||
// cy.connectToGitRepo(repoName);
|
// cy.connectToGitRepo(repoName);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
cy.wait(5000); // for git connection to settle!
|
|
||||||
});
|
});
|
||||||
|
cy.wait(5000); // for git connection to settle!
|
||||||
|
});
|
||||||
|
|
||||||
it("2. Import the previous app connected to Git and reconnect Postgres, MySQL and Mongo db ", () => {
|
it("2. Import the previous app connected to Git and reconnect Postgres, MySQL and Mongo db ", () => {
|
||||||
cy.NavigateToHome();
|
cy.NavigateToHome();
|
||||||
cy.createWorkspace();
|
cy.createWorkspace();
|
||||||
cy.wait("@createWorkspace").then((interception) => {
|
cy.wait("@createWorkspace").then((interception) => {
|
||||||
|
|
@ -133,9 +134,9 @@ describe("Git import flow ", function() {
|
||||||
cy.log(interception.response.body.data);
|
cy.log(interception.response.body.data);
|
||||||
cy.wait(1000);
|
cy.wait(1000);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it("3. Verfiy imported app should have all the data binding visible in view and edit mode", () => {
|
it("3. Verfiy imported app should have all the data binding visible in view and edit mode", () => {
|
||||||
// verify postgres data binded to table
|
// verify postgres data binded to table
|
||||||
cy.get(".tbody")
|
cy.get(".tbody")
|
||||||
.first()
|
.first()
|
||||||
|
|
@ -148,10 +149,10 @@ describe("Git import flow ", function() {
|
||||||
cy.xpath("//input[@value='this is a test']").should("be.visible");
|
cy.xpath("//input[@value='this is a test']").should("be.visible");
|
||||||
// verify js object binded to input widget
|
// verify js object binded to input widget
|
||||||
cy.xpath("//input[@value='Success']").should("be.visible");
|
cy.xpath("//input[@value='Success']").should("be.visible");
|
||||||
});
|
});
|
||||||
|
|
||||||
// skipping this due to open bug #18776
|
// skipping this due to open bug #18776
|
||||||
it.skip("4. Create a new branch, clone page and validate data on that branch in view and edit mode", () => {
|
it.skip("4. Create a new branch, clone page and validate data on that branch in view and edit mode", () => {
|
||||||
cy.createGitBranch(newBranch);
|
cy.createGitBranch(newBranch);
|
||||||
cy.get(".tbody")
|
cy.get(".tbody")
|
||||||
.first()
|
.first()
|
||||||
|
|
@ -219,10 +220,10 @@ describe("Git import flow ", function() {
|
||||||
cy.xpath("//input[@value='Success']");
|
cy.xpath("//input[@value='Success']");
|
||||||
cy.get(commonlocators.backToEditor).click();
|
cy.get(commonlocators.backToEditor).click();
|
||||||
cy.wait(2000);
|
cy.wait(2000);
|
||||||
});
|
});
|
||||||
|
|
||||||
// skipping this due to open bug #18776
|
// skipping this due to open bug #18776
|
||||||
it.skip("5. Switch to master and verify data in edit and view mode", () => {
|
it.skip("5. Switch to master and verify data in edit and view mode", () => {
|
||||||
cy.switchGitBranch("master");
|
cy.switchGitBranch("master");
|
||||||
cy.wait(2000);
|
cy.wait(2000);
|
||||||
// validate data binding in edit and deploy mode
|
// validate data binding in edit and deploy mode
|
||||||
|
|
@ -243,10 +244,10 @@ describe("Git import flow ", function() {
|
||||||
cy.xpath("//input[@value='Success']");
|
cy.xpath("//input[@value='Success']");
|
||||||
cy.get(commonlocators.backToEditor).click();
|
cy.get(commonlocators.backToEditor).click();
|
||||||
cy.wait(2000);
|
cy.wait(2000);
|
||||||
});
|
});
|
||||||
|
|
||||||
// skipping this due to open bug #18776
|
// skipping this due to open bug #18776
|
||||||
it.skip("6. Add widget to master, merge then checkout to child branch and verify data", () => {
|
it.skip("6. Add widget to master, merge then checkout to child branch and verify data", () => {
|
||||||
cy.get(explorer.widgetSwitchId).click();
|
cy.get(explorer.widgetSwitchId).click();
|
||||||
cy.wait(2000); // wait for transition
|
cy.wait(2000); // wait for transition
|
||||||
cy.dragAndDropToCanvas("buttonwidget", { x: 300, y: 600 });
|
cy.dragAndDropToCanvas("buttonwidget", { x: 300, y: 600 });
|
||||||
|
|
@ -259,9 +260,8 @@ describe("Git import flow ", function() {
|
||||||
cy.wait(4000);
|
cy.wait(4000);
|
||||||
// verify button widget is visible on child branch
|
// verify button widget is visible on child branch
|
||||||
cy.get(".t--widget-buttonwidget").should("be.visible");
|
cy.get(".t--widget-buttonwidget").should("be.visible");
|
||||||
});
|
});
|
||||||
|
|
||||||
after(() => {
|
after(() => {
|
||||||
//cy.deleteTestGithubRepo(repoName);
|
//cy.deleteTestGithubRepo(repoName);
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user