Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workbox-window integration test failures #2321

Closed
jeffposnick opened this issue Jan 10, 2020 · 0 comments · Fixed by #2754
Closed

workbox-window integration test failures #2321

jeffposnick opened this issue Jan 10, 2020 · 0 comments · Fixed by #2754
Labels
Bug An issue with our existing, production codebase. Testing Related to tests and test runners. workbox-window

Comments

@jeffposnick
Copy link
Contributor

I previously remember seeing these with Safari, but they're popping up with Firefox Stable as well.

See https://travis-ci.org/GoogleChrome/workbox/builds/633899787?utm_source=github_status&utm_medium=notification

[Workbox]: Running Integration test on test/workbox-window/integration with NODE_ENV 'dev' and browser 'Firefox Stable'
  [workbox-window]
    ✓ passes all window unit tests (14421ms)
  [workbox-window] Workbox
    register
      ✓ registers a new service worker (49ms)
      ✓ reports all events for a new SW registration (45ms)
      ✓ reports all events for an updated SW registration (70ms)
@http://localhost:3004/test/workbox-broadcast-update/static/integration.html.njk:4:22
@http://localhost:3004/test/workbox-broadcast-update/static/integration.html.njk:30:10
@http://localhost:3004/test/workbox-broadcast-update/static/integration.html.njk:31:8
Unexpected window opened: about:blank
      1) "before each" hook for "reports all events for an external SW registration"
  4 passing (18s)
  1 failing
  1) [workbox-window] Workbox
       "before each" hook for "reports all events for an external SW registration":
     NoSuchWindowError: Browsing context has been discarded
      at Object.throwDecodedError (node_modules/selenium-webdriver/lib/error.js:550:15)
      at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:560:13)
      at Executor.execute (node_modules/selenium-webdriver/lib/http.js:486:26)
      at <anonymous>
      at process._tickDomainCallback (internal/process/next_tick.js:229:7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug An issue with our existing, production codebase. Testing Related to tests and test runners. workbox-window
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant