Skip to content

Commit

Permalink
test: fix Cypress machine add test (#5288)
Browse files Browse the repository at this point in the history
  • Loading branch information
ndv99 committed Jan 16, 2024
1 parent 1bb1df1 commit fa61b57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/e2e/with-users/machines/add.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ context("Machine add", () => {
beforeEach(() => {
cy.login();
cy.visit(generateMAASURL("/machines"));
cy.get("[data-testid='add-hardware-dropdown'] button").click();
cy.findByRole("button", { name: "Add hardware" }).click();
cy.get(".p-contextual-menu__link").contains("Machine").click();
});

Expand Down

0 comments on commit fa61b57

Please sign in to comment.