diff --git a/tests/ui/tests/cypress.config.ts b/tests/ui/tests/cypress.config.ts index 97da7f392..b59a469bf 100644 --- a/tests/ui/tests/cypress.config.ts +++ b/tests/ui/tests/cypress.config.ts @@ -33,4 +33,7 @@ module.exports = defineConfig({ ], supportFile: 'support/index.ts', }, + retries: { + runMode: 2, + } }); diff --git a/tests/ui/tests/support/input.ts b/tests/ui/tests/support/input.ts index 3c14b323a..542da6251 100644 --- a/tests/ui/tests/support/input.ts +++ b/tests/ui/tests/support/input.ts @@ -1,7 +1,8 @@ Cypress.Commands.add('inputClearAndType', (selector: string, newValue: string): void => { - cy.get(selector,) + cy.get(selector) .find('input') - .click() + .scrollIntoView() + .click({force: true}) .clear({force: true}) .type(newValue, {force: true}); });