Page MenuHomePhabricator
Paste P17045

browser.getLogs() is not a function
ActivePublic

Authored by Sahilgrewalhere on Aug 18 2021, 5:15 PM.
Tags
None
Referenced Files
F34600322: browser.getLogs() is not a function
Aug 18 2021, 5:15 PM
Subscribers
None
15:43:52 Execution of 8 spec files started at 2021-08-09T10:13:52.462Z
15:43:52
15:43:52 Server listening to 8080
15:43:53 [0-0] RUNNING in chrome - /tests/selenium/specs/wikibooks.spec.js
15:44:04 [0-0]
15:44:04 Screenshot location: /log/should-display-correct-title-without-errors.png
15:44:04
15:44:04 [0-0] TypeError in "www.wikibooks.org page should display correct title without errors"
15:44:04 TypeError: browser.getLogs is not a function
15:44:04 at Object.noBrowserErrors (/src/tests/selenium/specs/tests.js:40:24)
15:44:04 at Context.<anonymous> (/src/tests/selenium/specs/wikibooks.spec.js:9:9)
15:44:04 [0-0] FAILED in chrome - /tests/selenium/specs/wikibooks.spec.js
15:44:05 [0-1] RUNNING in chrome - /tests/selenium/specs/wikimedia.spec.js
15:44:06 [0-1]
15:44:06 Screenshot location: /log/should-display-correct-title-without-errors.png
15:44:06
15:44:06 [0-1] TypeError in "www.wikimedia.org page should display correct title without errors"
15:44:06 TypeError: browser.getLogs is not a function
15:44:06 at Object.noBrowserErrors (/src/tests/selenium/specs/tests.js:40:24)
15:44:06 at Context.<anonymous> (/src/tests/selenium/specs/wikimedia.spec.js:9:9)
15:44:07 [0-1] FAILED in chrome - /tests/selenium/specs/wikimedia.spec.js
15:44:08 [0-2] RUNNING in chrome - /tests/selenium/specs/wikinews.spec.js
15:44:09 [0-2]
15:44:09 Screenshot location: /log/should-display-correct-title-without-errors.png
15:44:09
15:44:09 [0-2] TypeError in "www.wikinews.org page should display correct title without errors"
15:44:09 TypeError: browser.getLogs is not a function
15:44:09 at Object.noBrowserErrors (/src/tests/selenium/specs/tests.js:40:24)
15:44:09 at Context.<anonymous> (/src/tests/selenium/specs/wikinews.spec.js:9:9)
15:44:09 [0-2] FAILED in chrome - /tests/selenium/specs/wikinews.spec.js
15:44:10 [0-3] RUNNING in chrome - /tests/selenium/specs/wikipedia.spec.js
15:44:11 [0-3]
15:44:11 Screenshot location: /log/Should-have-the-correct-title%3A-%22Wikipedia%22-.png
15:44:11
15:44:12 [0-3]
15:44:12 Screenshot location: /log/should-focus-on-search-input-when-page-is-loaded.png
15:44:12
15:44:12 [0-3]
15:44:12 Screenshot location: /log/should-expand-language-links.png
15:44:12
15:44:12 [0-3]
15:44:12 Screenshot location: /log/should-collapse-language-links.png
15:44:12
15:44:13 [0-3]
15:44:13 Screenshot location: /log/should-produce-search-suggestions-for-the-query-%22Paris%22.png
15:44:13
15:44:13 [0-3]
15:44:13 Screenshot location: /log/should-produce-no-console-errors.png
15:44:13
15:44:13 [0-3] TypeError in "www.wikipedia.org page should produce no console errors"
15:44:13 TypeError: browser.getLogs is not a function
15:44:13 at Object.noBrowserErrors (/src/tests/selenium/specs/tests.js:40:24)
15:44:13 at Context.<anonymous> (/src/tests/selenium/specs/wikipedia.spec.js:32:9)
15:44:24 [0-3]
15:44:24 Screenshot location: /log/Clicking-on-first-search-result-should-redirect-to%3A-%22https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FParis%22-.png
15:44:24
15:44:24 [0-3] FAILED in chrome - /tests/selenium/specs/wikipedia.spec.js
15:44:25 [0-4] RUNNING in chrome - /tests/selenium/specs/wikiquote.spec.js
15:44:26 [0-4]
15:44:26 Screenshot location: /log/should-display-correct-title-without-errors.png
15:44:26
15:44:26 [0-4] TypeError in "www.wikiquote.org page should display correct title without errors"
15:44:26 TypeError: browser.getLogs is not a function
15:44:26 at Object.noBrowserErrors (/src/tests/selenium/specs/tests.js:40:24)
15:44:26 at Context.<anonymous> (/src/tests/selenium/specs/wikiquote.spec.js:9:9)
15:44:26 [0-4] FAILED in chrome - /tests/selenium/specs/wikiquote.spec.js
15:44:27 [0-5] RUNNING in chrome - /tests/selenium/specs/wikiversity.spec.js
15:44:29 [0-5]
15:44:29 Screenshot location: /log/should-display-correct-title-without-errors.png
15:44:29
15:44:29 [0-5] TypeError in "www.wikiversity.org page should display correct title without errors"
15:44:29 TypeError: browser.getLogs is not a function
15:44:29 at Object.noBrowserErrors (/src/tests/selenium/specs/tests.js:40:24)
15:44:29 at Context.<anonymous> (/src/tests/selenium/specs/wikiversity.spec.js:9:9)
15:44:29 [0-5] FAILED in chrome - /tests/selenium/specs/wikiversity.spec.js
15:44:30 [0-6] RUNNING in chrome - /tests/selenium/specs/wikivoyage.spec.js
15:44:31 [0-6]
15:44:31 Screenshot location: /log/should-display-correct-title-without-errors.png
15:44:31
15:44:31 [0-6] TypeError in "www.wikivoyage.org page should display correct title without errors"
15:44:31 TypeError: browser.getLogs is not a function
15:44:31 at Object.noBrowserErrors (/src/tests/selenium/specs/tests.js:40:24)
15:44:31 at Context.<anonymous> (/src/tests/selenium/specs/wikivoyage.spec.js:9:9)
15:44:31 [0-6] FAILED in chrome - /tests/selenium/specs/wikivoyage.spec.js
15:44:32 [0-7] RUNNING in chrome - /tests/selenium/specs/wiktionary.spec.js
15:44:33 [0-7]
15:44:33 Screenshot location: /log/should-display-correct-title-without-errors.png
15:44:33
15:44:33 [0-7] TypeError in "www.wiktionary.org page should display correct title without errors"
15:44:33 TypeError: browser.getLogs is not a function
15:44:33 at Object.noBrowserErrors (/src/tests/selenium/specs/tests.js:40:24)
15:44:33 at Context.<anonymous> (/src/tests/selenium/specs/wiktionary.spec.js:9:9)
15:44:33 [0-7] FAILED in chrome - /tests/selenium/specs/wiktionary.spec.js
15:44:33
15:44:33 "spec" Reporter:
15:44:33 ------------------------------------------------------------------
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-0] Spec: /src/tests/selenium/specs/wikibooks.spec.js
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-0] Running: Chrome Headless (v90.0.4430.212) on linux
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-0] Session ID: d893999f-6560-4984-a99b-6fc0b318ab1d
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-0]
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-0] www.wikibooks.org page
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-0] ✖ should display correct title without errors
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-0]
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-0] 1 failing (1s)
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-0]
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-0] 1) www.wikibooks.org page should display correct title without errors
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-0] browser.getLogs is not a function
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-0] TypeError: browser.getLogs is not a function
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-0] at Object.noBrowserErrors (/src/tests/selenium/specs/tests.js:40:24)
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-0] at Context.<anonymous> (/src/tests/selenium/specs/wikibooks.spec.js:9:9)
15:44:33 ------------------------------------------------------------------
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-1] Spec: /src/tests/selenium/specs/wikimedia.spec.js
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-1] Running: Chrome Headless (v90.0.4430.212) on linux
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-1] Session ID: 615580e1-fefc-4c02-aaf1-28216a451d7b
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-1]
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-1] www.wikimedia.org page
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-1] ✖ should display correct title without errors
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-1]
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-1] 1 failing (473ms)
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-1]
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-1] 1) www.wikimedia.org page should display correct title without errors
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-1] browser.getLogs is not a function
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-1] TypeError: browser.getLogs is not a function
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-1] at Object.noBrowserErrors (/src/tests/selenium/specs/tests.js:40:24)
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-1] at Context.<anonymous> (/src/tests/selenium/specs/wikimedia.spec.js:9:9)
15:44:33 ------------------------------------------------------------------
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-2] Spec: /src/tests/selenium/specs/wikinews.spec.js
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-2] Running: Chrome Headless (v90.0.4430.212) on linux
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-2] Session ID: 24a6ec7f-31f9-4b5c-8fdd-24c8caff7614
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-2]
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-2] www.wikinews.org page
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-2] ✖ should display correct title without errors
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-2]
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-2] 1 failing (558ms)
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-2]
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-2] 1) www.wikinews.org page should display correct title without errors
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-2] browser.getLogs is not a function
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-2] TypeError: browser.getLogs is not a function
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-2] at Object.noBrowserErrors (/src/tests/selenium/specs/tests.js:40:24)
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-2] at Context.<anonymous> (/src/tests/selenium/specs/wikinews.spec.js:9:9)
15:44:33 ------------------------------------------------------------------
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-3] Spec: /src/tests/selenium/specs/wikipedia.spec.js
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-3] Running: Chrome Headless (v90.0.4430.212) on linux
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-3] Session ID: e6025d3a-1bb3-46b9-93b5-e0e12ad1f878
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-3]
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-3] www.wikipedia.org page
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-3] ✓ Should have the correct title: "Wikipedia"
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-3] ✓ should focus on search input when page is loaded
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-3] ✓ should expand language links
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-3] ✓ should collapse language links
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-3] ✓ should produce search suggestions for the query "Paris"
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-3] ✖ should produce no console errors
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-3] ✓ Clicking on first search result should redirect to: "https://en.wikipedia.org/wiki/Paris"
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-3]
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-3] 6 passing (13.6s)
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-3] 1 failing
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-3]
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-3] 1) www.wikipedia.org page should produce no console errors
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-3] browser.getLogs is not a function
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-3] TypeError: browser.getLogs is not a function
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-3] at Object.noBrowserErrors (/src/tests/selenium/specs/tests.js:40:24)
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-3] at Context.<anonymous> (/src/tests/selenium/specs/wikipedia.spec.js:32:9)
15:44:33 ------------------------------------------------------------------
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-4] Spec: /src/tests/selenium/specs/wikiquote.spec.js
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-4] Running: Chrome Headless (v90.0.4430.212) on linux
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-4] Session ID: 80d491d0-e42c-4c6d-bb4d-77bf58a3d860
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-4]
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-4] www.wikiquote.org page
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-4] ✖ should display correct title without errors
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-4]
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-4] 1 failing (561ms)
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-4]
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-4] 1) www.wikiquote.org page should display correct title without errors
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-4] browser.getLogs is not a function
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-4] TypeError: browser.getLogs is not a function
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-4] at Object.noBrowserErrors (/src/tests/selenium/specs/tests.js:40:24)
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-4] at Context.<anonymous> (/src/tests/selenium/specs/wikiquote.spec.js:9:9)
15:44:33 ------------------------------------------------------------------
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-5] Spec: /src/tests/selenium/specs/wikiversity.spec.js
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-5] Running: Chrome Headless (v90.0.4430.212) on linux
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-5] Session ID: d30584e5-8a76-4c04-9e1a-a8c30ca75ad9
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-5]
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-5] www.wikiversity.org page
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-5] ✖ should display correct title without errors
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-5]
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-5] 1 failing (523ms)
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-5]
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-5] 1) www.wikiversity.org page should display correct title without errors
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-5] browser.getLogs is not a function
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-5] TypeError: browser.getLogs is not a function
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-5] at Object.noBrowserErrors (/src/tests/selenium/specs/tests.js:40:24)
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-5] at Context.<anonymous> (/src/tests/selenium/specs/wikiversity.spec.js:9:9)
15:44:33 ------------------------------------------------------------------
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-6] Spec: /src/tests/selenium/specs/wikivoyage.spec.js
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-6] Running: Chrome Headless (v90.0.4430.212) on linux
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-6] Session ID: 3e754962-37c1-4502-90ed-44523dfbe428
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-6]
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-6] www.wikivoyage.org page
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-6] ✖ should display correct title without errors
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-6]
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-6] 1 failing (664ms)
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-6]
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-6] 1) www.wikivoyage.org page should display correct title without errors
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-6] browser.getLogs is not a function
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-6] TypeError: browser.getLogs is not a function
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-6] at Object.noBrowserErrors (/src/tests/selenium/specs/tests.js:40:24)
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-6] at Context.<anonymous> (/src/tests/selenium/specs/wikivoyage.spec.js:9:9)
15:44:33 ------------------------------------------------------------------
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-7] Spec: /src/tests/selenium/specs/wiktionary.spec.js
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-7] Running: Chrome Headless (v90.0.4430.212) on linux
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-7] Session ID: ad4519db-32f8-4567-8648-15f7aac91a22
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-7]
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-7] www.wiktionary.org page
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-7] ✖ should display correct title without errors
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-7]
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-7] 1 failing (718ms)
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-7]
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-7] 1) www.wiktionary.org page should display correct title without errors
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-7] browser.getLogs is not a function
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-7] TypeError: browser.getLogs is not a function
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-7] at Object.noBrowserErrors (/src/tests/selenium/specs/tests.js:40:24)
15:44:33 [Chrome Headless 90.0.4430.212 linux #0-7] at Context.<anonymous> (/src/tests/selenium/specs/wiktionary.spec.js:9:9)
15:44:33
15:44:33
15:44:33 Spec Files: 0 passed, 8 failed, 8 total (100% completed) in 00:00:41