Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/evergreen-ci/ui
Browse files Browse the repository at this point in the history
  • Loading branch information
malikchaya2 committed Nov 18, 2024
2 parents 1bdb184 + 52c6b6b commit d2cb418
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions apps/spruce/cypress/integration/hosts/select_hosts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ describe("Select hosts in hosts page table", () => {
cy.dataCy("restart-jasper-button").should("be.visible").click();
cy.dataCy("restart-jasper-button-popover").should("be.visible");
cy.contains("button", "Yes").click();
cy.validateToast("success", "Marked Jasper as restarting for 3 hosts");
cy.validateToast("success", "Marked Jasper as restarting");
});

it("Can reprovision for selected hosts", () => {
Expand All @@ -75,6 +75,6 @@ describe("Select hosts in hosts page table", () => {
cy.dataCy("reprovision-button").should("be.visible").click();
cy.dataCy("reprovision-button-popover").should("be.visible");
cy.contains("button", "Yes").click();
cy.validateToast("success", "Marked hosts to reprovision for 3 hosts");
cy.validateToast("success", "Marked hosts to reprovision");
});
});
5 changes: 1 addition & 4 deletions apps/spruce/cypress/integration/hosts/update_status_modal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ describe("Update Status Modal", () => {
cy.contains("button", "Update").click({ force: true });
});
cy.dataCy("update-host-status-modal").should("not.exist");
cy.validateToast(
"success",
"Status was changed to terminated for 13 hosts",
);
cy.validateToast("success", "Status was changed to terminated");
});
});

0 comments on commit d2cb418

Please sign in to comment.