Skip to content

Commit f9931e0

Browse files
committed
tools: probably fix ff test flake
1 parent 1015a80 commit f9931e0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/e2e/firewall-rules.e2e.ts

+5
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,11 @@ test('firewall rule form targets table', async ({ page }) => {
202202
await subnetNameField.fill('abc-123')
203203
// hit enter to submit the subform
204204
await subnetNameField.press('Enter')
205+
206+
// pressing enter twice here in quick succession causes test flake in firefox
207+
// specifically and this fixes it
208+
await sleep(300)
209+
205210
await subnetNameField.press('Enter')
206211
await expectRowVisible(targets, { Type: 'subnet', Value: 'abc-123' })
207212

0 commit comments

Comments
 (0)