Skip to content

Commit

Permalink
Revert "Merge pull request #125 from wp-media/enhancement/124-change-…
Browse files Browse the repository at this point in the history
…lcp-beacon-name"

This reverts commit b6606a9, reversing
changes made to 3d53029.
  • Loading branch information
MathieuLamiot committed Jul 31, 2024
1 parent b6606a9 commit ca35844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/support/steps/lcp-beacon-script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ When('I visit the urls for {string}', async function (this: ICustomWorld, formFa

// Wait the beacon to add an attribute `beacon-complete` to true before fetching from DB.
await this.page.waitForFunction(() => {
const beacon = document.querySelector('[data-name="wpr-wpr-beacon"]');
const beacon = document.querySelector('[data-name="wpr-lcp-beacon"]');
return beacon && beacon.getAttribute('beacon-completed') === 'true';
});

Expand Down

0 comments on commit ca35844

Please sign in to comment.