diff --git a/packages/integration-tests/package.json b/packages/integration-tests/package.json index 17c977c49c0f..f536efa680e2 100644 --- a/packages/integration-tests/package.json +++ b/packages/integration-tests/package.json @@ -19,6 +19,7 @@ "type-check": "tsc", "pretest": "yarn clean && yarn type-check", "test": "playwright test ./suites", + "test:replay": "yarn pretest && PWDEBUG=console playwright test ./suites/replay/privacy", "test:bundle:es5": "PW_BUNDLE=bundle_es5 yarn test", "test:bundle:es5:min": "PW_BUNDLE=bundle_es5_min yarn test", "test:bundle:es6": "PW_BUNDLE=bundle_es6 yarn test", diff --git a/packages/integration-tests/suites/replay/privacy/template.html b/packages/integration-tests/suites/replay/privacy/template.html index a61532e6ae68..2eb0f8df7b37 100644 --- a/packages/integration-tests/suites/replay/privacy/template.html +++ b/packages/integration-tests/suites/replay/privacy/template.html @@ -11,5 +11,6 @@ + diff --git a/packages/integration-tests/suites/replay/privacy/test.ts-snapshots/privacy-chromium.json b/packages/integration-tests/suites/replay/privacy/test.ts-snapshots/privacy-chromium.json index 9cbcb2073fe4..d0cb968d61ff 100644 --- a/packages/integration-tests/suites/replay/privacy/test.ts-snapshots/privacy-chromium.json +++ b/packages/integration-tests/suites/replay/privacy/test.ts-snapshots/privacy-chromium.json @@ -227,13 +227,28 @@ }, { "type": 3, - "textContent": "\n ", + "textContent": "\n ", "id": 33 }, + { + "type": 2, + "tagName": "video", + "attributes": { + "rr_width": "30px", + "rr_height": "30px" + }, + "childNodes": [], + "id": 34 + }, + { + "type": 3, + "textContent": "\n ", + "id": 35 + }, { "type": 3, "textContent": "\n\n", - "id": 34 + "id": 36 } ], "id": 7 diff --git a/packages/integration-tests/suites/replay/privacy/test.ts-snapshots/privacy-firefox.json b/packages/integration-tests/suites/replay/privacy/test.ts-snapshots/privacy-firefox.json index 9cbcb2073fe4..d0cb968d61ff 100644 --- a/packages/integration-tests/suites/replay/privacy/test.ts-snapshots/privacy-firefox.json +++ b/packages/integration-tests/suites/replay/privacy/test.ts-snapshots/privacy-firefox.json @@ -227,13 +227,28 @@ }, { "type": 3, - "textContent": "\n ", + "textContent": "\n ", "id": 33 }, + { + "type": 2, + "tagName": "video", + "attributes": { + "rr_width": "30px", + "rr_height": "30px" + }, + "childNodes": [], + "id": 34 + }, + { + "type": 3, + "textContent": "\n ", + "id": 35 + }, { "type": 3, "textContent": "\n\n", - "id": 34 + "id": 36 } ], "id": 7 diff --git a/packages/integration-tests/suites/replay/privacy/test.ts-snapshots/privacy-webkit.json b/packages/integration-tests/suites/replay/privacy/test.ts-snapshots/privacy-webkit.json index 9cbcb2073fe4..d0cb968d61ff 100644 --- a/packages/integration-tests/suites/replay/privacy/test.ts-snapshots/privacy-webkit.json +++ b/packages/integration-tests/suites/replay/privacy/test.ts-snapshots/privacy-webkit.json @@ -227,13 +227,28 @@ }, { "type": 3, - "textContent": "\n ", + "textContent": "\n ", "id": 33 }, + { + "type": 2, + "tagName": "video", + "attributes": { + "rr_width": "30px", + "rr_height": "30px" + }, + "childNodes": [], + "id": 34 + }, + { + "type": 3, + "textContent": "\n ", + "id": 35 + }, { "type": 3, "textContent": "\n\n", - "id": 34 + "id": 36 } ], "id": 7