You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Several of our PRs have failed due to mismatched tracking event data.
This appears to be a timing issue - we're awaiting the input to be typed, but retrieving the Google Tag Manager data layer object seems to jump the gun here and there.
What
Several of our PRs have failed due to mismatched tracking event data.
This appears to be a timing issue - we're
await
ing the input to be typed, but retrieving the Google Tag Manager data layer object seems to jump the gun here and there.The tests which seems particularly affected are "it should track if there are no results" and "it should block personally identifable information emails"
Investigation so far
Quite a few people seem to having similar issues: puppeteer/puppeteer#1648
Fixes tried
Using puppeteer's
waitForFunction
Looping through the characters in the text
Delaying assignment of
GoogleTagManagerDataLayer
Set up a promise that would only resolve the data layer when
input.value
is equal to the typed text.Who needs to work on this
Developer
Who needs to review this
Developer
Done when
The text was updated successfully, but these errors were encountered: