Skip to content

Commit e810f58

Browse files
committed
clean up
1 parent 381add6 commit e810f58

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

e2e/tests/desktop/dnt.spec.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const checkDntCookie = async (page, expectedValue) => {
2424
expect(cookie.value).toBe(expectedValue);
2525
}
2626

27-
test("Shopper can use the consent tracking form", async ({page}) => {
27+
test("Shopper can use the consent tracking form", async ({ page }) => {
2828
await page.context().clearCookies();
2929

3030
await page.goto(config.RETAIL_APP_HOME);
@@ -45,8 +45,7 @@ test("Shopper can use the consent tracking form", async ({page}) => {
4545
apiCallsMade = true;
4646
route.continue();
4747
});
48-
49-
// The value of 1 comes from defaultDnt prop in _app-config/index.jsx
48+
5049
await checkDntCookie(page, '1')
5150

5251
// Trigger einstein events

e2e/tests/mobile/dnt.spec.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const checkDntCookie = async (page, expectedValue) => {
2424
expect(cookie.value).toBe(expectedValue);
2525
}
2626

27-
test("Shopper can use the consent tracking form", async ({page}) => {
27+
test("Shopper can use the consent tracking form", async ({ page }) => {
2828
await page.context().clearCookies();
2929

3030
await page.goto(config.RETAIL_APP_HOME);
@@ -45,7 +45,6 @@ test("Shopper can use the consent tracking form", async ({page}) => {
4545
route.continue();
4646
});
4747

48-
// The value of 1 comes from defaultDnt prop in _app-config/index.jsx
4948
await checkDntCookie(page, '1')
5049

5150
// Trigger einstein events

0 commit comments

Comments
 (0)