Skip to content

Commit

Permalink
add delay to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aarol committed Jun 14, 2023
1 parent 655b852 commit 8eccb6d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions client/cypress/e2e/spec.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ describe('web app', () => {

cy.request("/getMetadata")

cy.get("input").last().focus().type("Inter{downArrow}{enter}")
cy.get("input").last().focus().type("Inter{downArrow}{enter}", {delay: 200})

cy.get("input[value=latin-ext]").parent().click()

Expand All @@ -25,7 +25,10 @@ describe('web app', () => {

it('outputs italic fonts', () => {
cy.visit('/')
cy.get("input").last().focus().type("Inter Tight{downArrow}{enter}")

cy.request("/getMetadata")

cy.get("input").last().focus().type("Inter Tight{downArrow}{enter}", {delay: 200})

cy.get("input[value=latin-ext]").parent().click()

Expand Down

0 comments on commit 8eccb6d

Please sign in to comment.