Skip to content

Commit

Permalink
Make sure to clear the field
Browse files Browse the repository at this point in the history
  • Loading branch information
svevang committed Feb 5, 2025
1 parent 0fd4cdd commit af44210
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions cypress/e2e/augury.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,15 @@ describe("Augury", () => {
cy.contains("Acceptance Test Series").click();
cy.get("#inventory_notes").clear();
cy.get("#inventory_notes").type(`Inventory Notes: ${canary}`);
cy.get("#inventory_onboarding_state_attributes_first_week_downloads").type("100");
cy.get("#inventory_onboarding_state_attributes_week_minimum_downloads").type("10");

cy.get("#inventory_onboarding_state_attributes_first_week_downloads")

Check failure on line 19 in cypress/e2e/augury.cy.ts

View workflow job for this annotation

GitHub Actions / check-javascript / check-javascript

It is unsafe to chain further commands that rely on the subject after this command. It is best to split the chain, chaining again from `cy.` in a next command line

Check failure on line 19 in cypress/e2e/augury.cy.ts

View workflow job for this annotation

GitHub Actions / check-javascript / check-javascript

Replace `⏎······.clear()⏎······` with `.clear()`
.clear()
.type("100");

cy.get("#inventory_onboarding_state_attributes_week_minimum_downloads")

Check failure on line 23 in cypress/e2e/augury.cy.ts

View workflow job for this annotation

GitHub Actions / check-javascript / check-javascript

It is unsafe to chain further commands that rely on the subject after this command. It is best to split the chain, chaining again from `cy.` in a next command line

Check failure on line 23 in cypress/e2e/augury.cy.ts

View workflow job for this annotation

GitHub Actions / check-javascript / check-javascript

Replace `⏎······.clear()⏎······` with `.clear()`
.clear()
.type("10");

cy.contains(".btn", "Update Series").click();
cy.contains("Series successfully updated");
});
Expand Down

0 comments on commit af44210

Please sign in to comment.