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
set WP_ROCKET_DEBUG to true in wp-config.php
run the LCP test suite
The mobile test must fail early with a message explaining that the helper plugin could not be activated.
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