wp-media / wp-rocket-e2e

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

An error must be thrown if the activation of a plugin fails #103

Closed MathieuLamiot closed 4 months ago

MathieuLamiot commented 5 months ago

Context Under some conditions (set WP_ROCKET_DEBUG to true in wp-config.php for instance), activating a helper plugin can fail (wor instance the Mobile Enforce plugin). This breaks the tests but we don't have any warning about this.

Expected behavior When a plugin is activated, we must check that it is indeed activated. If it is not the case, the test must fail early.

Acceptance Criteria