Skip to content

Commit 83394a5

Browse files
committed
cypress: wait for load before clicking in subform table
1 parent 4ad6943 commit 83394a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/e2e/integration/subform-test/subform.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ describe('Subform test', () => {
207207
'contain.text',
208208
'Det er feil i en eller flere moped oppføringer',
209209
);
210+
cy.waitForLoad();
210211
cy.findAllByRole('button', { name: /slett/i }).last().clickAndGone();
211212

212213
// Test that fixing the validations works

0 commit comments

Comments
 (0)