Skip to content

Commit

Permalink
fix: assert events for iframe navigations (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
OrKoN authored Mar 10, 2022
1 parent 359a6a7 commit 7817792
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"mime": "3.0.0",
"mocha": "9.2.1",
"prettier": "2.5.1",
"puppeteer": "13.5.0",
"puppeteer": "13.5.1",
"rimraf": "3.0.2",
"standard-version": "git+https://github.com:conventional-changelog/standard-version.git#v9.4.0",
"ts-node": "10.7.0",
Expand Down
15 changes: 7 additions & 8 deletions test/runner_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -776,14 +776,13 @@ describe('Runner', () => {
selectors: [['aria/To iframe 2']],
offsetX: 1,
offsetY: 1,
// TODO(alexrudenko): make the navigation assertions work.
// assertedEvents: [
// {
// type: 'navigation',
// title: '',
// url: `${OOPIF_PREFIX}/iframe2.html`,
// },
// ],
assertedEvents: [
{
type: 'navigation',
title: '',
url: `${OOPIF_PREFIX}/iframe2.html`,
},
],
},
],
},
Expand Down

0 comments on commit 7817792

Please sign in to comment.