Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Commit

Permalink
Let's try without {force: true} as that disables some useful cypres…
Browse files Browse the repository at this point in the history
…s checks.

#248
  • Loading branch information
TheBestPessimist committed Aug 6, 2019
1 parent f62ded7 commit 3269fb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/support/commands/form.js
Expand Up @@ -199,9 +199,9 @@ Cypress.Commands.add('writeIntoStringField', (fieldName, stringValue, modal, rew
const path = createFieldPath(fieldName, modal);
cy.get(path)
.find('input')
.type('{selectall}', { force: true })
.type('{selectall}')
.type(stringValue)
.type('{enter}', { force: true });
.type('{enter}');

if (!noRequest) {
cy.waitForFieldValue(`@${aliasName}`, fieldName, expectedPatchValue);
Expand Down

0 comments on commit 3269fb6

Please sign in to comment.