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

Make publishPost e2e util more resilient #35580

Closed
ntsekouras opened this issue Oct 13, 2021 · 2 comments
Closed

Make publishPost e2e util more resilient #35580

ntsekouras opened this issue Oct 13, 2021 · 2 comments
Labels
[Tool] E2E Test Utils /packages/e2e-test-utils [Type] Enhancement A suggestion for improvement.

Comments

@ntsekouras
Copy link
Contributor

Recently with a failure in e2e tests it was discovered that the e2e util publishPost can be augmented to make sure the publish post action has been performed.

Currently the util relies on waiting for the snackbar to exist, but after #34731 a snackbar is shown in other cases as well - like saving a draft. This can create unexpected results with race conditions.

Some attempts were 2d135c4 and #35579 with no success.

@ntsekouras ntsekouras added [Type] Enhancement A suggestion for improvement. [Tool] E2E Test Utils /packages/e2e-test-utils labels Oct 13, 2021
@Mamaduka
Copy link
Member

@ntsekouras, is this still an issue after the Playwright migration?

@ntsekouras
Copy link
Contributor Author

Let's close this one, yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Tool] E2E Test Utils /packages/e2e-test-utils [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

2 participants