diff --git a/common/changes/@snowplow/javascript-tracker/fix-proper-test-identifier-between-e2e-retries_2023-08-16-07-58.json b/common/changes/@snowplow/javascript-tracker/fix-proper-test-identifier-between-e2e-retries_2023-08-16-07-58.json new file mode 100644 index 000000000..ae2f53795 --- /dev/null +++ b/common/changes/@snowplow/javascript-tracker/fix-proper-test-identifier-between-e2e-retries_2023-08-16-07-58.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@snowplow/javascript-tracker", + "comment": "", + "type": "none" + } + ], + "packageName": "@snowplow/javascript-tracker" +} \ No newline at end of file diff --git a/trackers/javascript-tracker/test/integration/helpers.ts b/trackers/javascript-tracker/test/integration/helpers.ts index 4099da8aa..e71d298ca 100644 --- a/trackers/javascript-tracker/test/integration/helpers.ts +++ b/trackers/javascript-tracker/test/integration/helpers.ts @@ -48,7 +48,8 @@ export async function pageSetup() { if (!dockerUrl) { throw 'dockerInstanceUrl not available in `browser.sharedStore`'; } - const testIdentifier = browser.capabilities.browserName + '_' + browser.capabilities.browserVersion; + const testIdentifier = + browser.capabilities.browserName + '_' + browser.capabilities.browserVersion + '_' + Math.random(); await browser.url('/index.html'); await browser.setCookies([ { name: 'container', value: dockerUrl },