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

WP Acceptance Fixes #2352

Merged
merged 5 commits into from
Sep 20, 2021
Merged

WP Acceptance Fixes #2352

merged 5 commits into from
Sep 20, 2021

Conversation

felipeelia
Copy link
Member

@felipeelia felipeelia commented Sep 20, 2021

Description of the Change

1. Widget screen and "are you sure..." error

In the Widgets Edit Screen, it seems sometimes WP keeps a dirty state even after a successful save. When that happens, we get stuck with a "Are you sure you want to leave...?" message, and tests fail due to a timeout. Clicking on the "Update" button again seems to fix the issue.

2. Typo in WP-CLI Command

In #2336 a typo was fixed but the WPA test is still checking for the wrong string.

3. New moveTo() method

This PR adds a new moveTo() method to the TestBase class. Using this method, instead of relying on the usual Actor::moveTo() will make the test suite retry to access the page until it succeeds or fails with any error other than Page crashed.

Applicable Issues

Closes #2351

Changelog Entry

@felipeelia felipeelia added this to the 3.6.3 milestone Sep 20, 2021
@felipeelia felipeelia self-assigned this Sep 20, 2021
Fix in WPA test the typo fixed in #2336
@felipeelia felipeelia changed the title WP Acceptance: Widget screen and "are you sure..." error WP Acceptance Fixes Sep 20, 2021
@felipeelia felipeelia merged commit 6764702 into develop Sep 20, 2021
@felipeelia felipeelia deleted the fix/issue-2351 branch September 20, 2021 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WP Acceptance Tests
2 participants