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:
Aishwarya-U-R 2023-01-27 09:42:15 +05:30 committed by GitHub
parent c4d7462fb3
commit 7607883ab5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 182 additions and 182 deletions

View File

@ -362,7 +362,7 @@ jobs:
install: false
parallel: true
config-file: cypress_ci.json
group: "Electrons on Github Action"
group: "Electrons on Github Action Fat Container"
spec: ${{ env.failed_spec_env }}
working-directory: app/client
# tag will be either "push" or "pull_request"

View File

@ -725,7 +725,7 @@ jobs:
install: false
parallel: true
config-file: cypress_ci.json
group: "Electrons on Github Action"
group: "Electrons on Github Action Fat Container"
spec: ${{ env.failed_spec_env }}
working-directory: app/client
# tag will be either "push" or "pull_request"

View File

@ -78,10 +78,11 @@ describe("Git import flow ", function() {
// 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.createWorkspace();
cy.wait("@createWorkspace").then((interception) => {
@ -133,9 +134,9 @@ describe("Git import flow ", function() {
cy.log(interception.response.body.data);
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
cy.get(".tbody")
.first()
@ -148,10 +149,10 @@ describe("Git import flow ", function() {
cy.xpath("//input[@value='this is a test']").should("be.visible");
// verify js object binded to input widget
cy.xpath("//input[@value='Success']").should("be.visible");
});
});
// 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", () => {
// 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", () => {
cy.createGitBranch(newBranch);
cy.get(".tbody")
.first()
@ -219,10 +220,10 @@ describe("Git import flow ", function() {
cy.xpath("//input[@value='Success']");
cy.get(commonlocators.backToEditor).click();
cy.wait(2000);
});
});
// skipping this due to open bug #18776
it.skip("5. Switch to master and verify data in edit and view mode", () => {
// skipping this due to open bug #18776
it.skip("5. Switch to master and verify data in edit and view mode", () => {
cy.switchGitBranch("master");
cy.wait(2000);
// validate data binding in edit and deploy mode
@ -243,10 +244,10 @@ describe("Git import flow ", function() {
cy.xpath("//input[@value='Success']");
cy.get(commonlocators.backToEditor).click();
cy.wait(2000);
});
});
// skipping this due to open bug #18776
it.skip("6. Add widget to master, merge then checkout to child branch and verify data", () => {
// skipping this due to open bug #18776
it.skip("6. Add widget to master, merge then checkout to child branch and verify data", () => {
cy.get(explorer.widgetSwitchId).click();
cy.wait(2000); // wait for transition
cy.dragAndDropToCanvas("buttonwidget", { x: 300, y: 600 });
@ -259,9 +260,8 @@ describe("Git import flow ", function() {
cy.wait(4000);
// verify button widget is visible on child branch
cy.get(".t--widget-buttonwidget").should("be.visible");
});
after(() => {
//cy.deleteTestGithubRepo(repoName);
});
});
after(() => {
//cy.deleteTestGithubRepo(repoName);
});