Skip to content

Commit

Permalink
Continue fixes from rrweb-io#1510
Browse files Browse the repository at this point in the history
  • Loading branch information
eoghanmurray committed Aug 15, 2024
1 parent 8d8e693 commit 1be8675
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/rrweb/test/integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@ describe('record integration tests', function (this: ISuite) {
const snapshots = (await page.evaluate(
'window.snapshots',
)) as eventWithTime[];
assertSnapshot(snapshots);
await assertSnapshot(snapshots);
});

it('should record images with blob url', async () => {
Expand Down
4 changes: 2 additions & 2 deletions packages/rrweb/test/record.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ describe('record', function (this: ISuite) {
styleEl.append(document.createTextNode('span { color: orange; }'));
});
await waitForRAF(ctx.page);
assertSnapshot(ctx.events);
await assertSnapshot(ctx.events);
});

it('captures stylesheets with `blob:` url', async () => {
Expand Down Expand Up @@ -962,7 +962,7 @@ describe('record', function (this: ISuite) {
await ctx.page.waitForResponse(corsStylesheetURL); // wait for stylesheet to be loaded
await waitForRAF(ctx.page); // wait for rrweb to emit events

assertSnapshot(ctx.events);
await assertSnapshot(ctx.events);
});

it('captures adopted stylesheets in shadow doms and iframe', async () => {
Expand Down

0 comments on commit 1be8675

Please sign in to comment.