wp-media / wp-rocket-e2e

Playwright E2E testing repo
GNU General Public License v3.0
0 stars 0 forks source link

force-wp-mobile will not uninstall when wp-rocket is not found in cleanup hook #92

Closed jeawhanlee closed 5 months ago

jeawhanlee commented 5 months ago

Before submitting an issue please check that you’ve completed the following steps:

Describe the bug When running tests, if wp-rocket is not installed, clean up process will bail out without executing other process.

To Reproduce Steps to reproduce the behavior:

  1. Have force-wp-mobile plugin installed and wp-rocket uninstalled.
  2. run any test that triggers the setup tag(npm run test:lcp)
  3. Monitor the plugin page in WP dashboard in realtime, and see that force-wp-mobile is not removed from the plugin.

Expected behavior Other process down the line should still run even when wp rocket is not found during the clean up.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

Acceptance Criteria (for WP Media team use only) Clear instructions for developers, to be added before the grooming