Closed Miraeld closed 1 month ago
After refactoring the beacon script within WP-Rocket (https://github.com/wp-media/wp-rocket/issues/6764) the test won't pass as some classes have changed.
https://github.com/wp-media/wp-rocket-e2e/blob/182f32cd0a71504df2c62e6b7b5d9641bd53544d/src/support/steps/lcp-beacon-script.ts#L72 should be changed to
const beacon = document.querySelector('[data-name="wpr-wpr-beacon"]');
After CR if e2e tests pass then we can merge
Description
After refactoring the beacon script within WP-Rocket (https://github.com/wp-media/wp-rocket/issues/6764) the test won't pass as some classes have changed.
Scope a solution
https://github.com/wp-media/wp-rocket-e2e/blob/182f32cd0a71504df2c62e6b7b5d9641bd53544d/src/support/steps/lcp-beacon-script.ts#L72 should be changed to