Page MenuHomePhabricator
Paste P69255

~/Documents/gitlab/mhurd/mediawiki-quickstart$ ./run_selenium_tests "extensions/AdvancedSearch/tests/selenium/*specs/**/*.js" ".*"
ArchivedPublic

Authored by zeljkofilipin on Sep 18 2024, 12:08 PM.
~/Documents/gitlab/test-platform/mediawiki-quickstart$ time SILENT=1 VERBOSE=1 ./run_selenium_tests "extensions/AdvancedSearch/tests/selenium/*specs/**/*.js" ".*"
Ensuring Selenium ready...
Installing Selenium browser binary...
Chromium 98.0.4758.0
Execution of 5 workers started at 2025-01-28T12:16:51.258Z
[0-0] RUNNING in chrome - /extensions/AdvancedSearch/tests/selenium/specs/advancedSearch.js
[0-0] PASSED in chrome - /extensions/AdvancedSearch/tests/selenium/specs/advancedSearch.js
[0-1] RUNNING in chrome - /extensions/AdvancedSearch/tests/selenium/specs/defaultNamespaces.js
[0-1] PASSED in chrome - /extensions/AdvancedSearch/tests/selenium/specs/defaultNamespaces.js
[0-2] RUNNING in chrome - /extensions/AdvancedSearch/tests/selenium/specs/namespaces.js
[0-2] PASSED in chrome - /extensions/AdvancedSearch/tests/selenium/specs/namespaces.js
[0-3] RUNNING in chrome - /extensions/AdvancedSearch/tests/selenium/specs/paginationLinks.js
[0-3] TypeError in "Advanced Search.adds search parameters to pagination links"
TypeError: Cannot read properties of undefined (reading 'waitForExist')
at Context.<anonymous> (/var/www/html/w/extensions/AdvancedSearch/tests/selenium/specs/paginationLinks.js:13:62)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[0-3] FAILED in chrome - /extensions/AdvancedSearch/tests/selenium/specs/paginationLinks.js
[0-4] RUNNING in chrome - /extensions/AdvancedSearch/tests/selenium/specs/searchSubmit.js
[0-4] PASSED in chrome - /extensions/AdvancedSearch/tests/selenium/specs/searchSubmit.js
"spec" Reporter:
------------------------------------------------------------------
[Chrome 98.0.4758.0 linux #0-0] Running: Chrome (v98.0.4758.0) on linux
[Chrome 98.0.4758.0 linux #0-0] Session ID: bfebd1d5-92b0-43ba-845d-56cf421f64cc
[Chrome 98.0.4758.0 linux #0-0]
[Chrome 98.0.4758.0 linux #0-0] » /extensions/AdvancedSearch/tests/selenium/specs/advancedSearch.js
[Chrome 98.0.4758.0 linux #0-0] Advanced Search
[Chrome 98.0.4758.0 linux #0-0] ✓ inserts advanced search elements on search page
[Chrome 98.0.4758.0 linux #0-0]
[Chrome 98.0.4758.0 linux #0-0] 1 passing (14s)
------------------------------------------------------------------
[Chrome 98.0.4758.0 linux #0-1] Running: Chrome (v98.0.4758.0) on linux
[Chrome 98.0.4758.0 linux #0-1] Session ID: 2c18b13d-e3b6-4c1f-910a-90e84978d17d
[Chrome 98.0.4758.0 linux #0-1]
[Chrome 98.0.4758.0 linux #0-1] » /extensions/AdvancedSearch/tests/selenium/specs/defaultNamespaces.js
[Chrome 98.0.4758.0 linux #0-1] Advanced Search
[Chrome 98.0.4758.0 linux #0-1] ✓ allows logged-in users to remember the selection of namespaces for future searches
[Chrome 98.0.4758.0 linux #0-1] ✓ selects the users default namespaces when logged in
[Chrome 98.0.4758.0 linux #0-1] ✓ selects the namespaces from the URL
[Chrome 98.0.4758.0 linux #0-1]
[Chrome 98.0.4758.0 linux #0-1] 3 passing (6.3s)
------------------------------------------------------------------
[Chrome 98.0.4758.0 linux #0-2] Running: Chrome (v98.0.4758.0) on linux
[Chrome 98.0.4758.0 linux #0-2] Session ID: 6fe8bdd7-3859-45d4-b4fc-2964500832ff
[Chrome 98.0.4758.0 linux #0-2]
[Chrome 98.0.4758.0 linux #0-2] » /extensions/AdvancedSearch/tests/selenium/specs/namespaces.js
[Chrome 98.0.4758.0 linux #0-2] AdvancedSearch
[Chrome 98.0.4758.0 linux #0-2] ✓ namespace selection
[Chrome 98.0.4758.0 linux #0-2] ✓ re-adds filetype namespace after search when file type option has been selected but namespace has been removed
[Chrome 98.0.4758.0 linux #0-2] ✓ adds/removes the namespace tag when the namespace option is clicked
[Chrome 98.0.4758.0 linux #0-2]
[Chrome 98.0.4758.0 linux #0-2] 3 passing (7.8s)
------------------------------------------------------------------
[Chrome 98.0.4758.0 linux #0-3] Running: Chrome (v98.0.4758.0) on linux
[Chrome 98.0.4758.0 linux #0-3] Session ID: e9df38b3-15d3-4a35-bd88-7dad607fe6cc
[Chrome 98.0.4758.0 linux #0-3]
[Chrome 98.0.4758.0 linux #0-3] » /extensions/AdvancedSearch/tests/selenium/specs/paginationLinks.js
[Chrome 98.0.4758.0 linux #0-3] Advanced Search
[Chrome 98.0.4758.0 linux #0-3] ✖ adds search parameters to pagination links
[Chrome 98.0.4758.0 linux #0-3]
[Chrome 98.0.4758.0 linux #0-3] 1 failing (2.4s)
[Chrome 98.0.4758.0 linux #0-3]
[Chrome 98.0.4758.0 linux #0-3] 1) Advanced Search adds search parameters to pagination links
[Chrome 98.0.4758.0 linux #0-3] Cannot read properties of undefined (reading 'waitForExist')
[Chrome 98.0.4758.0 linux #0-3] TypeError: Cannot read properties of undefined (reading 'waitForExist')
[Chrome 98.0.4758.0 linux #0-3] at Context.<anonymous> (/var/www/html/w/extensions/AdvancedSearch/tests/selenium/specs/paginationLinks.js:13:62)
[Chrome 98.0.4758.0 linux #0-3] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
------------------------------------------------------------------
[Chrome 98.0.4758.0 linux #0-4] Running: Chrome (v98.0.4758.0) on linux
[Chrome 98.0.4758.0 linux #0-4] Session ID: 4f0c9719-9376-40e0-90d3-4c503e554541
[Chrome 98.0.4758.0 linux #0-4]
[Chrome 98.0.4758.0 linux #0-4] » /extensions/AdvancedSearch/tests/selenium/specs/searchSubmit.js
[Chrome 98.0.4758.0 linux #0-4] Advanced Search
[Chrome 98.0.4758.0 linux #0-4] ✓ submits the search on enter when there is no text in "These Words" field
[Chrome 98.0.4758.0 linux #0-4] ? submits the search with the specific chosen language
[Chrome 98.0.4758.0 linux #0-4] - submits the search with the specific chosen language
[Chrome 98.0.4758.0 linux #0-4]
[Chrome 98.0.4758.0 linux #0-4] 1 passing (2.7s)
[Chrome 98.0.4758.0 linux #0-4] 1 skipped
Spec Files: 4 passed, 1 failed, 5 total (100% completed) in 00:00:55
SILENT=1 VERBOSE=1 ./run_selenium_tests ".*" 0.27s user 0.18s system 0% cpu 1:10.81 total