Skip to content

Commit

Permalink
add all fields to test
Browse files Browse the repository at this point in the history
  • Loading branch information
amirrr committed Dec 20, 2024
1 parent 193619d commit db93006
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ describe("Demographics", () => {
force: true,
});

cy.get(
`[data-name="employment_industry"] input[value="Agriculture, Forestry, Fishing, and Hunting"]`
).click({
force: true,
});

cy.get(`[data-name="job_title"] input`).click().type("Survey Developer");

cy.get(`[data-name="country_reside"] input`).click({ force: true });
cy.contains("United States").click({ force: true });

Expand Down Expand Up @@ -112,17 +120,21 @@ describe("Demographics", () => {
force: true,
});

cy.get(`[data-name="zipcode_iran"] input`).click().type("82919123");

cy.get(
`[data-name="ethnicity_iran"] input[value="Middle Eastern or North African"]`
)
.next()
.click({ force: true });

cy.get(`[data-name="income_iran"] input[value="Less than 135,600,000"]`).click({
cy.get(
`[data-name="income_iran"] input[value="Less than 135,600,000"]`
).click({
force: true,
});

cy.screenshot("demographicsLongInternationalscreenshotIran", {
cy.screenshot("screenshotIran", {
overwrite: true,
});

Expand Down
Binary file not shown.
Binary file modified surveys/demographicsLongInternational/screenshotGeneral.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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/demographicsLongInternational/screenshotUSA.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit db93006

Please sign in to comment.