Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
Signed-off-by: Nandini Chandra <[email protected]>
  • Loading branch information
nachandr committed Nov 27, 2024
1 parent 2e26113 commit 0a0ab6b
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ describe(["@tier3"], "Application import operations", () => {
imports.verifyImportErrorMsg(errorMsgs);
});

it("Applications import for non existing tags and BS", function () {
it.only("1)Applications import for non existing tags and BS \
2)Verify assigned BS for imported application if BS already exists", function () {
Application.open();
cy.wait("@getApplication");
// Import csv with non-existent tags
Expand All @@ -88,22 +89,21 @@ describe(["@tier3"], "Application import operations", () => {
importApplication(filePath + fileName, true);
cy.wait(2000);
ManageImports.open();
imports.verifyAppImport(fileName, "Completed", 3, "-");
imports.verifyAppImport(fileName, "Completed", 2, "-");

// Automate bug MTA-4257
const fileName2 = "lantik.csv";
const fileName2 = "lantik_bug.csv";
importApplication(filePath + fileName2, true);
cy.wait(2000);
ManageImports.open();
imports.verifyAppImport(fileName, "Completed", 1, "-");
Application.open();
exists("bug4257");
exists("App_bug4257");
cy.get(tdTag)
.contains("bug4257")
.contains("App_bug4257")
.closest(trTag)
.within(() => {
cy.get("td[data-label='Business Service']").should("contain.text", "Finance");
cy.wait(2000);
});
});

Expand Down

0 comments on commit 0a0ab6b

Please sign in to comment.