Skip to content

Conversation

lerouxb
Copy link
Contributor

@lerouxb lerouxb commented Jan 16, 2025

I think this was an oversight when I ported the tests to multiple connections. await browser.connectWithConnectionString(); will remove the connection if it already exists and add it back which is potentially open to race conditions since it is a bit "best effort" which would explain why it flakes.

The original idea behind those tests is the first one starts up with a fresh new user dir and gets the first run experience with the welcome page and then the second one re-opens Compass with the connection already there and the first run experience already in the past.

@lerouxb lerouxb added the no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion) label Jan 16, 2025
@lerouxb lerouxb merged commit b63bfa2 into main Jan 17, 2025
31 checks passed
@lerouxb lerouxb deleted the reuse-existing-connection branch January 17, 2025 07:41
@lerouxb lerouxb changed the title chore(e2e): reuse the existing connection for the second test chore(e2e): reuse the existing connection for the second test COMPASS-8790 Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-title-validation Skips validation of PR titles (conventional commit adherence + JIRA ticket inclusion)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants