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

Testing: Remove condition from 'autosave' e2e test #58959

Open
Mamaduka opened this issue Feb 13, 2024 · 0 comments
Open

Testing: Remove condition from 'autosave' e2e test #58959

Mamaduka opened this issue Feb 13, 2024 · 0 comments
Labels
[Feature] Saving Related to saving functionality [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. [Type] Bug An existing feature does not function as intended

Comments

@Mamaduka
Copy link
Member

The autosave e2e test contains conditional assertion, which needs to be fixed and removed. See #58171 (comment).

Details

Occasionally, upon reload, no server-provided autosave value is available despite having previously explicitly autosaved. The reasons for this are still unknown. Since this is unrelated to local autosave, until we can understand them, we'll drop this test's expectations if we don't have an autosave object available.

Possible causes

  • The edit-form-blocks.php file has a condition that will delete autosave before the editor is loaded. However, I couldn't reproduce it in a controlled environment for debugging.
@Mamaduka Mamaduka added [Type] Bug An existing feature does not function as intended [Feature] Saving Related to saving functionality labels Feb 13, 2024
@skorasaurus skorasaurus added the [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. label Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Saving Related to saving functionality [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

2 participants