Skip to content

Commit

Permalink
test: fix cypress machine add lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
petermakowski committed Mar 1, 2024
1 parent f3a8aa3 commit a24f3f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cypress/e2e/with-users/machines/add.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ context("Machine add", () => {
const hostname = `cypress-${nanoid()}`;
cy.get("input[name='hostname']").type(hostname);
cy.get("input[name='pxe_mac']").type(generateMac());
cy.get("select[name='power_type']").select("manual").blur();
cy.get("select[name='power_type']").select("manual");
cy.get("select[name='power_type']").blur();
cy.get("button[type='submit']").click();
cy.get(`[data-testid='message']:contains(${hostname} added successfully.)`);
});
Expand Down

0 comments on commit a24f3f9

Please sign in to comment.