Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(e2e): auto close post-install tab to keep tests simpler #776

Merged
merged 2 commits into from
Dec 16, 2024

Conversation

sidvishnoi
Copy link
Member

@sidvishnoi sidvishnoi commented Dec 16, 2024

Our tests relied on waitForEvent('page') but the page that gets used during connect process was already open (as we reuse post-install screen tab), so E2E tests started to fail.

So, auto-close that post-install tab to keep tests like before, add a comment why it's better to close the tab.

@github-actions github-actions bot added the area: tests Improvements or additions to tests label Dec 16, 2024
Copy link
Member Author

@sidvishnoi sidvishnoi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test-e2e

Copy link
Contributor

github-actions bot commented Dec 16, 2024

Extension builds preview

Name Link
Latest commit 93edb7b
Latest job logs Run #12350182380
BadgeDownload
BadgeDownload

@sidvishnoi sidvishnoi marked this pull request as ready for review December 16, 2024 10:00
@sidvishnoi sidvishnoi merged commit b633000 into main Dec 16, 2024
9 checks passed
@sidvishnoi sidvishnoi deleted the fix-e2e-post-install branch December 16, 2024 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: tests Improvements or additions to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants