Skip to content

Commit

Permalink
fix: cypress tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis committed Aug 1, 2023
1 parent 22348fd commit 323a341
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cypress/e2e/catch_tab.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ import { loadAndSignIn } from './utils';
const COMBOBOX_TYPE_DELAY = 100;
function populateFishRow(row) {
const inputName = `input${row}`;
cy.get(`tbody > :nth-child(${row}) > :nth-child(2) input`).as(inputName).type('tm', { delay: COMBOBOX_TYPE_DELAY });
cy.get(`tbody > :nth-child(${row}) > :nth-child(2) input`)
.as(inputName)
.type('tm', { delay: COMBOBOX_TYPE_DELAY, force: true });
cy.get(`@${inputName}`).tab();
const comboName = `combo${row}`;
cy.focused().as(comboName).type('s', { delay: COMBOBOX_TYPE_DELAY });
cy.focused().as(comboName).type('s', { delay: COMBOBOX_TYPE_DELAY, force: true });
cy.get(`@${comboName}`).tab();
const cell1Name = `cell1${row}`;
cy.focused().as(cell1Name).type('1');
Expand Down

0 comments on commit 323a341

Please sign in to comment.