Skip to content

Commit 3d4edbd

Browse files
author
kaptron
committed
Add some more waiting to cypress to try to solve CreateTestCollection flakiness
1 parent ac7a6c5 commit 3d4edbd

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

cypress.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"baseUrl": "http://localhost:3001",
33
"viewportWidth": 1320,
44
"viewportHeight": 800,
5+
"requestTimeout": 8000,
56
"userAgent": "cypress",
67
"supportFile": "cypress/support/setup.js",
78
"pluginsFile": "cypress/support/plugins.js",

cypress/integration/collections/CreateTestCollection.feature

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ Feature: Creating a Test Collection
5959
# this is used in the "visit current Test URL" below; capture before redirect to results
6060
When I capture the current URL
6161

62+
# just add some padding to how long it waits for things to finish
63+
And I wait for 2 seconds
6264
And I wait for "@apiValidateLaunch" to finish
6365
And I wait for "@apiLaunchTest" to finish
6466
And I wait for "@apiGetCollectionCards" to finish

0 commit comments

Comments
 (0)