diff options
Diffstat (limited to 'cypress_test/integration_tests/common/helper.js')
-rw-r--r-- | cypress_test/integration_tests/common/helper.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cypress_test/integration_tests/common/helper.js b/cypress_test/integration_tests/common/helper.js index 402432bc8..5f9eabdac 100644 --- a/cypress_test/integration_tests/common/helper.js +++ b/cypress_test/integration_tests/common/helper.js @@ -63,7 +63,7 @@ function enableEditingMobile() { // Assert that NO keyboard input is accepted (i.e. keyboard should be HIDDEN). function assertNoKeyboardInput() { cy.window().then(win => { - var acceptInput = win.shouldAcceptInput(); + var acceptInput = win.canAcceptKeyboardInput(); expect(acceptInput, 'Should accept input').to.equal(false); }); } @@ -71,7 +71,7 @@ function assertNoKeyboardInput() { // Assert that keyboard input is accepted (i.e. keyboard should be VISIBLE). function assertHaveKeyboardInput() { cy.window().then(win => { - var acceptInput = win.shouldAcceptInput(); + var acceptInput = win.canAcceptKeyboardInput(); expect(acceptInput, 'Should accept input').to.equal(true); }); } |