Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make test less flaky
Browse files Browse the repository at this point in the history
Juice10 committed Dec 4, 2023
1 parent 77a428a commit 07faba8
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/rrweb/test/__snapshots__/integration.test.ts.snap
Original file line number Diff line number Diff line change
@@ -10914,6 +10914,7 @@ exports[`record integration tests should not record input values if dynamically
\\"tagName\\": \\"input\\",
\\"attributes\\": {
\\"id\\": \\"input\\",
\\"size\\": \\"50\\",
\\"value\\": \\"**********************\\"
},
\\"childNodes\\": [],
1 change: 1 addition & 0 deletions packages/rrweb/test/integration.test.ts
Original file line number Diff line number Diff line change
@@ -640,6 +640,7 @@ describe('record integration tests', function (this: ISuite) {
await page.evaluate(() => {
const el = document.createElement('input');
el.id = 'input';
el.setAttribute('size', '50');
el.value = 'input should be masked';

const nextElement = document.querySelector('#one')!;

0 comments on commit 07faba8

Please sign in to comment.