Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesPHoughton committed Aug 26, 2024
1 parent cc3a24b commit aceedc4
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 2 deletions.
Binary file modified cypress/screenshots/labeledRangeTest/afterClick.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified cypress/screenshots/labeledRangeTest/beforeClick.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified surveys/partisanFeelingThermometerUS/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified surveys/politicalPartyUS/page1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified surveys/politicalPartyUS/page1_other.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified surveys/politicalPartyUS/page2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified surveys/politicalPartyUS/page2_other.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 6 additions & 2 deletions surveys/politicalPartyUS/politicalPartyUS.cy.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ describe("PoliticaPartyUS", () => {
cy.screenshot("politicalPartyUS/page1", { overwrite: true });
cy.get(`input[type="button"][value="Next"]`).click({ force: true });

cy.get(`input[class="sv-text slider"`).click("center", { force: true });
cy.get(`[data-name="republicanImportance"] input[type=range]`)
.invoke("val", 50)
.click();
cy.screenshot("politicalPartyUS/page2", { overwrite: true });
cy.get(`input[type="button"][value="Complete"]`).click({ force: true });

Expand Down Expand Up @@ -52,7 +54,9 @@ describe("PoliticaPartyUS", () => {
cy.screenshot("politicalPartyUS/page1_other", { overwrite: true });
cy.get(`input[type="button"][value="Next"]`).click({ force: true });

cy.get(`input[class="sv-text slider"`).click("center", { force: true });
cy.get(`[data-name="otherImportance"] input[type=range]`)
.invoke("val", 50)
.click();
cy.screenshot("politicalPartyUS/page2_other", { overwrite: true });
cy.get(`input[type="button"][value="Complete"]`).click({ force: true });

Expand Down

0 comments on commit aceedc4

Please sign in to comment.