rrweb-browser-test 2.1.3 → 2.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/index.cjs +0 -2
- package/dist/index.js +0 -2
- package/package.json +1 -1
- package/src/playwright/index.ts +0 -1
- package/src/puppeteer/index.ts +0 -1
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -204,7 +204,6 @@ var generatePlaywrightTests = (events) => {
|
|
|
204
204
|
d = data;
|
|
205
205
|
if (d.type === import_types2.MouseInteractions.Click) {
|
|
206
206
|
const clickNode = nodeMap.get(d.id);
|
|
207
|
-
console.log(clickNode);
|
|
208
207
|
const id = clickNode?.attributes?.id ? `#${clickNode?.attributes?.id}` : clickNode?.tagName === "nav" ? `${clickNode?.tagName}:text-is("${clickNode.childNodes?.filter((f) => f.tagName === "a")?.map(
|
|
209
208
|
(node) => node.childNodes?.map(
|
|
210
209
|
(n1) => n1?.["textContent"]
|
|
@@ -331,7 +330,6 @@ var generatePuppeteerTests = (events) => {
|
|
|
331
330
|
d = data;
|
|
332
331
|
if (d.type === import_types3.MouseInteractions.Click) {
|
|
333
332
|
const clickNode = nodeMap.get(d.id);
|
|
334
|
-
console.log(clickNode);
|
|
335
333
|
const id = clickNode?.attributes?.id ? `#${clickNode?.attributes?.id}` : clickNode?.tagName === "nav" ? `${clickNode?.tagName}:text-is("${clickNode.childNodes?.filter((f) => f.tagName === "a")?.map(
|
|
336
334
|
(node) => node.childNodes?.map(
|
|
337
335
|
(n1) => n1?.["textContent"]
|
package/dist/index.js
CHANGED
|
@@ -185,7 +185,6 @@ var generatePlaywrightTests = (events) => {
|
|
|
185
185
|
d = data;
|
|
186
186
|
if (d.type === MouseInteractions2.Click) {
|
|
187
187
|
const clickNode = nodeMap.get(d.id);
|
|
188
|
-
console.log(clickNode);
|
|
189
188
|
const id = clickNode?.attributes?.id ? `#${clickNode?.attributes?.id}` : clickNode?.tagName === "nav" ? `${clickNode?.tagName}:text-is("${clickNode.childNodes?.filter((f) => f.tagName === "a")?.map(
|
|
190
189
|
(node) => node.childNodes?.map(
|
|
191
190
|
(n1) => n1?.["textContent"]
|
|
@@ -316,7 +315,6 @@ var generatePuppeteerTests = (events) => {
|
|
|
316
315
|
d = data;
|
|
317
316
|
if (d.type === MouseInteractions3.Click) {
|
|
318
317
|
const clickNode = nodeMap.get(d.id);
|
|
319
|
-
console.log(clickNode);
|
|
320
318
|
const id = clickNode?.attributes?.id ? `#${clickNode?.attributes?.id}` : clickNode?.tagName === "nav" ? `${clickNode?.tagName}:text-is("${clickNode.childNodes?.filter((f) => f.tagName === "a")?.map(
|
|
321
319
|
(node) => node.childNodes?.map(
|
|
322
320
|
(n1) => n1?.["textContent"]
|
package/package.json
CHANGED
package/src/playwright/index.ts
CHANGED
|
@@ -58,7 +58,6 @@ export const generatePlaywrightTests = (
|
|
|
58
58
|
d = data as mouseInteractionData;
|
|
59
59
|
if (d.type === MouseInteractions.Click) {
|
|
60
60
|
const clickNode = nodeMap.get(d.id);
|
|
61
|
-
console.log(clickNode);
|
|
62
61
|
const id = clickNode?.attributes?.id
|
|
63
62
|
? `#${clickNode?.attributes?.id}`
|
|
64
63
|
: clickNode?.tagName === 'nav'
|
package/src/puppeteer/index.ts
CHANGED
|
@@ -65,7 +65,6 @@ export const generatePuppeteerTests = (
|
|
|
65
65
|
d = data as mouseInteractionData;
|
|
66
66
|
if (d.type === MouseInteractions.Click) {
|
|
67
67
|
const clickNode = nodeMap.get(d.id);
|
|
68
|
-
console.log(clickNode);
|
|
69
68
|
const id = clickNode?.attributes?.id
|
|
70
69
|
? `#${clickNode?.attributes?.id}`
|
|
71
70
|
: clickNode?.tagName === 'nav'
|