You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 8, 2025. It is now read-only.
The tests are not passing despite the OS. I checked it on win10 and mac - both are failing.
The browser is opened, I can see that the user is signed in, but it hangs from there.
Here's the output from mac:
$ yarn run test-functional
yarn run v1.22.0
$ ./node_modules/.bin/mocha ./tests/functional/*.js --timeout 15000
Issue
waitFor is deprecated and will be removed in a future release. See https://github.com/puppeteer/puppeteer/issues/6214 for details and how to migrate your code.
1) should create a new issue
2) should create a new comment
3) should edit the created comment
Pull Request
waitFor is deprecated and will be removed in a future release. See https://github.com/puppeteer/puppeteer/issues/6214 for details and how to migrate your code.
4) should create a new pull request
5) should create a new comment
6) should edit the created comment
7) should add a code line comment
8) should add a review comment
Wiki
waitFor is deprecated and will be removed in a future release. See https://github.com/puppeteer/puppeteer/issues/6214 for details and how to migrate your code.
9) should create a new wiki
0 passing (2m)
9 failing
1) Issue
should create a new issue:
TimeoutError: waiting for selector `meta[name="user-login"][content="user@user.test"]` failed: timeout 30000ms exceeded
at new WaitTask (node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:509:34)
at DOMWorld.waitForSelectorInPage (node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:420:26)
at Object.internalHandler.waitFor (node_modules/puppeteer/lib/cjs/puppeteer/common/QueryHandler.js:31:77)
at DOMWorld.waitForSelector (node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:313:29)
at Frame.waitForSelector (node_modules/puppeteer/lib/cjs/puppeteer/common/FrameManager.js:841:51)
at Page.waitForSelector (node_modules/puppeteer/lib/cjs/puppeteer/common/Page.js:1335:33)
at LoginPage.login (tests/_pom/pages/loginpage.js:35:9)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async NewIssuePage.goto (tests/_pom/githubpage.js:55:5)
at async Function.getPage (tests/_pom/githubpage.js:217:3)
at async Context.<anonymous> (tests/functional/issue.js:21:10)
2) Issue
should create a new comment:
AssertionError: expected undefined to be an instance of IssuePage
at Context.<anonymous> (tests/functional/issue.js:39:27)
at processImmediate (internal/timers.js:456:21)
3) Issue
should edit the created comment:
AssertionError: expected undefined to be an instance of IssuePage
at Context.<anonymous> (tests/functional/issue.js:57:27)
at processImmediate (internal/timers.js:456:21)
4) Pull Request
should create a new pull request:
TimeoutError: waiting for selector `[name="login"]` failed: timeout 30000ms exceeded
at new WaitTask (node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:509:34)
at DOMWorld.waitForSelectorInPage (node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:420:26)
at Object.internalHandler.waitFor (node_modules/puppeteer/lib/cjs/puppeteer/common/QueryHandler.js:31:77)
at DOMWorld.waitForSelector (node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:313:29)
at Frame.waitForSelector (node_modules/puppeteer/lib/cjs/puppeteer/common/FrameManager.js:841:51)
at Frame.waitFor (node_modules/puppeteer/lib/cjs/puppeteer/common/FrameManager.js:774:25)
at Page.waitFor (node_modules/puppeteer/lib/cjs/puppeteer/common/Page.js:1310:33)
at LoginPage.login (tests/_pom/pages/loginpage.js:30:14)
at FileEditPage.goto (tests/_pom/githubpage.js:55:21)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async Function.getPage (tests/_pom/githubpage.js:217:3)
at async Context.<anonymous> (tests/functional/pullrequest.js:23:10)
5) Pull Request
should create a new comment:
AssertionError: expected undefined to be an instance of PullRequestPage
at Context.<anonymous> (tests/functional/pullrequest.js:50:27)
at processImmediate (internal/timers.js:456:21)
6) Pull Request
should edit the created comment:
AssertionError: expected undefined to be an instance of PullRequestPage
at Context.<anonymous> (tests/functional/pullrequest.js:69:27)
at processImmediate (internal/timers.js:456:21)
7) Pull Request
should add a code line comment:
AssertionError: expected undefined to be an instance of PullRequestPage
at Context.<anonymous> (tests/functional/pullrequest.js:88:27)
at processImmediate (internal/timers.js:456:21)
8) Pull Request
should add a review comment:
AssertionError: expected undefined to be an instance of PullRequestPage
at Context.<anonymous> (tests/functional/pullrequest.js:107:27)
at processImmediate (internal/timers.js:456:21)
9) Wiki
should create a new wiki:
TimeoutError: waiting for selector `[name="login"]` failed: timeout 30000ms exceeded
at new WaitTask (node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:509:34)
at DOMWorld.waitForSelectorInPage (node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:420:26)
at Object.internalHandler.waitFor (node_modules/puppeteer/lib/cjs/puppeteer/common/QueryHandler.js:31:77)
at DOMWorld.waitForSelector (node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:313:29)
at Frame.waitForSelector (node_modules/puppeteer/lib/cjs/puppeteer/common/FrameManager.js:841:51)
at Frame.waitFor (node_modules/puppeteer/lib/cjs/puppeteer/common/FrameManager.js:774:25)
at Page.waitFor (node_modules/puppeteer/lib/cjs/puppeteer/common/Page.js:1310:33)
at LoginPage.login (tests/_pom/pages/loginpage.js:30:14)
at NewWikiPage.goto (tests/_pom/githubpage.js:55:21)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async Function.getPage (tests/_pom/githubpage.js:217:3)
at async Context.<anonymous> (tests/functional/wiki.js:22:10)
error Command failed with exit code 9.
After I:
The tests are not passing despite the OS. I checked it on win10 and mac - both are failing.
The browser is opened, I can see that the user is signed in, but it hangs from there.
Here's the output from mac: