Skip to content

Commit

Permalink
test: Cypress | Flaky fix /Apps/MongoDBShoppingCart_spec.ts for CI ru…
Browse files Browse the repository at this point in the history
…ns (#28947)

## Description
- Flaky fix /Apps/MongoDBShoppingCart_spec.ts for CI runs

#### Type of change
- Script fix (non-breaking change which fixes an issue)

## Testing
#### How Has This Been Tested?
- [X] Cypress local runs

## Checklist:
#### QA activity:
- [X] Added `Test Plan Approved` label after Cypress tests were reviewed
  • Loading branch information
Aishwarya-U-R committed Nov 20, 2023
1 parent d39f71e commit 2bc2c08
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ describe("Shopping cart App", function () {
deployMode.DeployApp(appPage.bookname);
});

it.skip("2. Perform CRUD operations and validate data", function () {
it("2. Perform CRUD operations and validate data", function () {
// Adding the books to the Add cart form
agHelper.GetNClick(appPage.bookname);
//Wait for element to be in DOM
Expand Down Expand Up @@ -170,6 +170,7 @@ describe("Shopping cart App", function () {
);
agHelper.GetNClick(appPage.addButton, 0, true);
assertHelper.AssertNetworkStatus("@postExecute");
agHelper.Sleep(3000);
// Deleting the book from the cart
agHelper.GetNClick(appPage.deleteButton, 1, false);
assertHelper.AssertNetworkStatus("@postExecute");
Expand Down Expand Up @@ -198,7 +199,7 @@ describe("Shopping cart App", function () {
.should("have.text", "3");
});

it.skip("3. Connect the application to git and validate data in deploy mode and edit mode", function () {
it("3. Connect the application to git and validate data in deploy mode and edit mode", function () {
deployMode.NavigateBacktoEditor();
gitSync.CreateNConnectToGit(repoName);
cy.get("@gitRepoName").then((repName) => {
Expand Down

0 comments on commit 2bc2c08

Please sign in to comment.