Skip to content

Commit

Permalink
update screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
amirrr committed Dec 20, 2024
1 parent e9e17f8 commit a972266
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
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.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import { Demographics } from "../../src/index";
import { DemographicsLongInternational } from "../../src/index";

const dummy = {
set(response) {},
Expand All @@ -8,8 +8,8 @@ const dummy = {
describe("Demographics", () => {
it("completes", () => {
cy.spy(dummy, "set").as("callback");
cy.mount(<Demographics onComplete={dummy.set} />);
cy.viewport('macbook-11');
cy.mount(<DemographicsLongInternational onComplete={dummy.set} />);
cy.viewport("macbook-11");

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

Expand All @@ -32,7 +32,7 @@ describe("Demographics", () => {
force: true,
});

cy.get(`[data-name="employment_status"] input[value="Retired"]`).click({
cy.get(`[data-name="employment_status"] input[value="employed"]`).click({
force: true,
});

Expand Down

0 comments on commit a972266

Please sign in to comment.