Page MenuHomePhabricator
Paste P70991

./run_selenium_tests "extensions/WikiLambda/tests/selenium/*specs/**/*.js" ".*"
ArchivedPublic

Authored by zeljkofilipin on Nov 7 2024, 12:07 PM.
~/Documents/gitlab/test-platform/mediawiki-quickstart$ time SILENT=1 VERBOSE=1 ./run_selenium_tests "extensions/WikiLambda/tests/selenium/*specs/**/*.js" ".*"
Ensuring Selenium ready...
Chromium 98.0.4758.0
Execution of 5 workers started at 2025-01-28T12:35:34.408Z
[0-0] RUNNING in chrome - /extensions/WikiLambda/tests/selenium/specs/basic.js
[0-0] PASSED in chrome - /extensions/WikiLambda/tests/selenium/specs/basic.js
[0-1] RUNNING in chrome - /extensions/WikiLambda/tests/selenium/specs/connect.js
[0-1] PASSED in chrome - /extensions/WikiLambda/tests/selenium/specs/connect.js
[0-2] RUNNING in chrome - /extensions/WikiLambda/tests/selenium/specs/function.js
[0-2] Error in "Function.Function viewer (CUJ1).should allow to evaluate a function"
Error: Can't call click on element with selector "a[href$="/Z8" because element wasn't found
at async ListObjectsByType.openFunctionsList (/var/www/html/w/extensions/WikiLambda/tests/selenium/pageobjects/special/ListObjectsByType.page.js:59:3)
at async Context.<anonymous> (/var/www/html/w/extensions/WikiLambda/tests/selenium/specs/function.js:49:26)
[0-2] Error in "Function.Function editor (CUJ2)."before all" hook for "should create a new function and display the function name""
Error: No strategy found for ancestor
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ObjectSelector.fromInputField (/var/www/html/w/extensions/WikiLambda/tests/selenium/componentobjects/function-form/ObjectSelector.js:38:19)
at async FirstLanguageContainerComponent.setOutputType (/var/www/html/w/extensions/WikiLambda/tests/selenium/componentobjects/function-form/LanguageContainer.component.js:95:26)
at async FirstLanguageContainerComponent.fill (/var/www/html/w/extensions/WikiLambda/tests/selenium/componentobjects/function-form/LanguageContainer.component.js:100:3)
at async Context.<anonymous> (/var/www/html/w/extensions/WikiLambda/tests/selenium/specs/function.js:84:4)
[0-2] FAILED in chrome - /extensions/WikiLambda/tests/selenium/specs/function.js
[0-3] RUNNING in chrome - /extensions/WikiLambda/tests/selenium/specs/implementation.js
[0-3] Error in "Implementation (CUJ 5).Implementation via code.should create and publish a new implementation"
Error: No strategy found for ancestor
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async AboutBlock.getLanguageAccordion (/var/www/html/w/extensions/WikiLambda/tests/selenium/componentobjects/AboutBlock.js:48:28)
at async AboutBlock.addAboutDetails (/var/www/html/w/extensions/WikiLambda/tests/selenium/componentobjects/AboutBlock.js:138:21)
at async ImplementationForm.addAboutBlockEntries (/var/www/html/w/extensions/WikiLambda/tests/selenium/pageobjects/implementation/ImplementationForm.page.js:65:3)
at async Context.<anonymous> (/var/www/html/w/extensions/WikiLambda/tests/selenium/specs/implementation.js:102:4)
[0-3] Error in "Implementation (CUJ 5).Implementation via composition.should create and publish a new implementation"
Error: No strategy found for ancestor
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async AboutBlock.getLanguageAccordion (/var/www/html/w/extensions/WikiLambda/tests/selenium/componentobjects/AboutBlock.js:48:28)
at async AboutBlock.addAboutDetails (/var/www/html/w/extensions/WikiLambda/tests/selenium/componentobjects/AboutBlock.js:138:21)
at async ImplementationForm.addAboutBlockEntries (/var/www/html/w/extensions/WikiLambda/tests/selenium/pageobjects/implementation/ImplementationForm.page.js:65:3)
at async Context.<anonymous> (/var/www/html/w/extensions/WikiLambda/tests/selenium/specs/implementation.js:205:4)
[0-3] FAILED in chrome - /extensions/WikiLambda/tests/selenium/specs/implementation.js
[0-4] RUNNING in chrome - /extensions/WikiLambda/tests/selenium/specs/tester.js
[0-4] Error in "Tester.Create a new test (CUJ 4).should fill and submit the tester form"
Error: No strategy found for ancestor
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async AboutBlock.getLanguageAccordion (/var/www/html/w/extensions/WikiLambda/tests/selenium/componentobjects/AboutBlock.js:48:28)
at async AboutBlock.addAboutDetails (/var/www/html/w/extensions/WikiLambda/tests/selenium/componentobjects/AboutBlock.js:138:21)
at async TesterPage.addAboutBlockEntries (/var/www/html/w/extensions/WikiLambda/tests/selenium/pageobjects/tester/TesterForm.page.js:74:3)
at async Context.<anonymous> (/var/www/html/w/extensions/WikiLambda/tests/selenium/specs/tester.js:93:4)
[0-4] Error in "Edit the test.should edit the about block test"
Error: element ("span.ext-wikilambda-viewpage-header__zid") still not displayed after 5000ms
at async ElementActions.getText (/var/www/html/w/extensions/WikiLambda/tests/selenium/utils/ElementActions.js:82:3)
at async Tester.getTesterZId (/var/www/html/w/extensions/WikiLambda/tests/selenium/pageobjects/tester/Tester.page.js:69:16)
at async Tester.clickOnEditSourceLink (/var/www/html/w/extensions/WikiLambda/tests/selenium/pageobjects/tester/Tester.page.js:84:15)
[0-4] FAILED in chrome - /extensions/WikiLambda/tests/selenium/specs/tester.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: 6fb0ae9e-fcc9-465d-89c3-2a33b1eff102
[Chrome 98.0.4758.0 linux #0-0]
[Chrome 98.0.4758.0 linux #0-0] » /extensions/WikiLambda/tests/selenium/specs/basic.js
[Chrome 98.0.4758.0 linux #0-0] Installation checks
[Chrome 98.0.4758.0 linux #0-0] CreateObject
[Chrome 98.0.4758.0 linux #0-0] ✓ page should exist on installation but deny to logged-out user
[Chrome 98.0.4758.0 linux #0-0] ✓ page should exist on installation and work when logged in
[Chrome 98.0.4758.0 linux #0-0]
[Chrome 98.0.4758.0 linux #0-0] RunFunction
[Chrome 98.0.4758.0 linux #0-0] ✓ page should exist on installation
[Chrome 98.0.4758.0 linux #0-0]
[Chrome 98.0.4758.0 linux #0-0] ListObjectsByType
[Chrome 98.0.4758.0 linux #0-0] ✓ page should exist on installation
[Chrome 98.0.4758.0 linux #0-0]
[Chrome 98.0.4758.0 linux #0-0] 4 passing (18.8s)
------------------------------------------------------------------
[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: a51bc5d1-b17d-45fb-ba00-18bdca2329d8
[Chrome 98.0.4758.0 linux #0-1]
[Chrome 98.0.4758.0 linux #0-1] » /extensions/WikiLambda/tests/selenium/specs/connect.js
[Chrome 98.0.4758.0 linux #0-1] Dynamic Test for Implementation and Test Case Connection
[Chrome 98.0.4758.0 linux #0-1] Admin user
[Chrome 98.0.4758.0 linux #0-1] ✓ should dynamically connect or disconnect the implementation based on its initial state
[Chrome 98.0.4758.0 linux #0-1] ✓ should dynamically connect or disconnect the test case based on its initial state
[Chrome 98.0.4758.0 linux #0-1]
[Chrome 98.0.4758.0 linux #0-1] 2 passing (10.1s)
------------------------------------------------------------------
[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: df114cb3-f649-4698-b0db-8b71b2e4ac1e
[Chrome 98.0.4758.0 linux #0-2]
[Chrome 98.0.4758.0 linux #0-2] » /extensions/WikiLambda/tests/selenium/specs/function.js
[Chrome 98.0.4758.0 linux #0-2] Function
[Chrome 98.0.4758.0 linux #0-2] Function viewer (CUJ1)
[Chrome 98.0.4758.0 linux #0-2] ✖ should allow to evaluate a function
[Chrome 98.0.4758.0 linux #0-2]
[Chrome 98.0.4758.0 linux #0-2] Function editor (CUJ2)
[Chrome 98.0.4758.0 linux #0-2] ✖ "before all" hook for Function editor (CUJ2)
[Chrome 98.0.4758.0 linux #0-2]
[Chrome 98.0.4758.0 linux #0-2] 2 failing (9.4s)
[Chrome 98.0.4758.0 linux #0-2]
[Chrome 98.0.4758.0 linux #0-2] 1) Function viewer (CUJ1) should allow to evaluate a function
[Chrome 98.0.4758.0 linux #0-2] Can't call click on element with selector "a[href$="/Z8" because element wasn't found
[Chrome 98.0.4758.0 linux #0-2] Error: Can't call click on element with selector "a[href$="/Z8" because element wasn't found
[Chrome 98.0.4758.0 linux #0-2] at async ListObjectsByType.openFunctionsList (/var/www/html/w/extensions/WikiLambda/tests/selenium/pageobjects/special/ListObjectsByType.page.js:59:3)
[Chrome 98.0.4758.0 linux #0-2] at async Context.<anonymous> (/var/www/html/w/extensions/WikiLambda/tests/selenium/specs/function.js:49:26)
[Chrome 98.0.4758.0 linux #0-2]
[Chrome 98.0.4758.0 linux #0-2] 2) Function editor (CUJ2) "before all" hook for Function editor (CUJ2)
[Chrome 98.0.4758.0 linux #0-2] No strategy found for ancestor
[Chrome 98.0.4758.0 linux #0-2] Error: No strategy found for ancestor
[Chrome 98.0.4758.0 linux #0-2] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[Chrome 98.0.4758.0 linux #0-2] at async ObjectSelector.fromInputField (/var/www/html/w/extensions/WikiLambda/tests/selenium/componentobjects/function-form/ObjectSelector.js:38:19)
[Chrome 98.0.4758.0 linux #0-2] at async FirstLanguageContainerComponent.setOutputType (/var/www/html/w/extensions/WikiLambda/tests/selenium/componentobjects/function-form/LanguageContainer.component.js:95:26)
[Chrome 98.0.4758.0 linux #0-2] at async FirstLanguageContainerComponent.fill (/var/www/html/w/extensions/WikiLambda/tests/selenium/componentobjects/function-form/LanguageContainer.component.js:100:3)
[Chrome 98.0.4758.0 linux #0-2] at async Context.<anonymous> (/var/www/html/w/extensions/WikiLambda/tests/selenium/specs/function.js:84:4)
------------------------------------------------------------------
[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: 69352172-a60d-47ed-ac56-bb98418ebb61
[Chrome 98.0.4758.0 linux #0-3]
[Chrome 98.0.4758.0 linux #0-3] » /extensions/WikiLambda/tests/selenium/specs/implementation.js
[Chrome 98.0.4758.0 linux #0-3] Implementation (CUJ 5)
[Chrome 98.0.4758.0 linux #0-3] Implementation via code
[Chrome 98.0.4758.0 linux #0-3] ✖ should create and publish a new implementation
[Chrome 98.0.4758.0 linux #0-3]
[Chrome 98.0.4758.0 linux #0-3] Implementation via composition
[Chrome 98.0.4758.0 linux #0-3] ✖ should create and publish a new implementation
[Chrome 98.0.4758.0 linux #0-3]
[Chrome 98.0.4758.0 linux #0-3] 2 failing (9.7s)
[Chrome 98.0.4758.0 linux #0-3]
[Chrome 98.0.4758.0 linux #0-3] 1) Implementation via code should create and publish a new implementation
[Chrome 98.0.4758.0 linux #0-3] No strategy found for ancestor
[Chrome 98.0.4758.0 linux #0-3] Error: No strategy found for ancestor
[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-3] at async AboutBlock.getLanguageAccordion (/var/www/html/w/extensions/WikiLambda/tests/selenium/componentobjects/AboutBlock.js:48:28)
[Chrome 98.0.4758.0 linux #0-3] at async AboutBlock.addAboutDetails (/var/www/html/w/extensions/WikiLambda/tests/selenium/componentobjects/AboutBlock.js:138:21)
[Chrome 98.0.4758.0 linux #0-3] at async ImplementationForm.addAboutBlockEntries (/var/www/html/w/extensions/WikiLambda/tests/selenium/pageobjects/implementation/ImplementationForm.page.js:65:3)
[Chrome 98.0.4758.0 linux #0-3] at async Context.<anonymous> (/var/www/html/w/extensions/WikiLambda/tests/selenium/specs/implementation.js:102:4)
[Chrome 98.0.4758.0 linux #0-3]
[Chrome 98.0.4758.0 linux #0-3] 2) Implementation via composition should create and publish a new implementation
[Chrome 98.0.4758.0 linux #0-3] No strategy found for ancestor
[Chrome 98.0.4758.0 linux #0-3] Error: No strategy found for ancestor
[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-3] at async AboutBlock.getLanguageAccordion (/var/www/html/w/extensions/WikiLambda/tests/selenium/componentobjects/AboutBlock.js:48:28)
[Chrome 98.0.4758.0 linux #0-3] at async AboutBlock.addAboutDetails (/var/www/html/w/extensions/WikiLambda/tests/selenium/componentobjects/AboutBlock.js:138:21)
[Chrome 98.0.4758.0 linux #0-3] at async ImplementationForm.addAboutBlockEntries (/var/www/html/w/extensions/WikiLambda/tests/selenium/pageobjects/implementation/ImplementationForm.page.js:65:3)
[Chrome 98.0.4758.0 linux #0-3] at async Context.<anonymous> (/var/www/html/w/extensions/WikiLambda/tests/selenium/specs/implementation.js:205:4)
------------------------------------------------------------------
[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: 98af5034-9b80-4b69-a3ce-47d182f6782b
[Chrome 98.0.4758.0 linux #0-4]
[Chrome 98.0.4758.0 linux #0-4] » /extensions/WikiLambda/tests/selenium/specs/tester.js
[Chrome 98.0.4758.0 linux #0-4] Tester
[Chrome 98.0.4758.0 linux #0-4] Create a new test (CUJ 4)
[Chrome 98.0.4758.0 linux #0-4] ✖ should fill and submit the tester form
[Chrome 98.0.4758.0 linux #0-4]
[Chrome 98.0.4758.0 linux #0-4] Edit the test
[Chrome 98.0.4758.0 linux #0-4] ✖ should edit the about block test
[Chrome 98.0.4758.0 linux #0-4]
[Chrome 98.0.4758.0 linux #0-4] 2 failing (11.4s)
[Chrome 98.0.4758.0 linux #0-4]
[Chrome 98.0.4758.0 linux #0-4] 1) Create a new test (CUJ 4) should fill and submit the tester form
[Chrome 98.0.4758.0 linux #0-4] No strategy found for ancestor
[Chrome 98.0.4758.0 linux #0-4] Error: No strategy found for ancestor
[Chrome 98.0.4758.0 linux #0-4] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[Chrome 98.0.4758.0 linux #0-4] at async AboutBlock.getLanguageAccordion (/var/www/html/w/extensions/WikiLambda/tests/selenium/componentobjects/AboutBlock.js:48:28)
[Chrome 98.0.4758.0 linux #0-4] at async AboutBlock.addAboutDetails (/var/www/html/w/extensions/WikiLambda/tests/selenium/componentobjects/AboutBlock.js:138:21)
[Chrome 98.0.4758.0 linux #0-4] at async TesterPage.addAboutBlockEntries (/var/www/html/w/extensions/WikiLambda/tests/selenium/pageobjects/tester/TesterForm.page.js:74:3)
[Chrome 98.0.4758.0 linux #0-4] at async Context.<anonymous> (/var/www/html/w/extensions/WikiLambda/tests/selenium/specs/tester.js:93:4)
[Chrome 98.0.4758.0 linux #0-4]
[Chrome 98.0.4758.0 linux #0-4] 2) Edit the test should edit the about block test
[Chrome 98.0.4758.0 linux #0-4] element ("span.ext-wikilambda-viewpage-header__zid") still not displayed after 5000ms
[Chrome 98.0.4758.0 linux #0-4] Error: element ("span.ext-wikilambda-viewpage-header__zid") still not displayed after 5000ms
[Chrome 98.0.4758.0 linux #0-4] at async ElementActions.getText (/var/www/html/w/extensions/WikiLambda/tests/selenium/utils/ElementActions.js:82:3)
[Chrome 98.0.4758.0 linux #0-4] at async Tester.getTesterZId (/var/www/html/w/extensions/WikiLambda/tests/selenium/pageobjects/tester/Tester.page.js:69:16)
[Chrome 98.0.4758.0 linux #0-4] at async Tester.clickOnEditSourceLink (/var/www/html/w/extensions/WikiLambda/tests/selenium/pageobjects/tester/Tester.page.js:84:15)
Spec Files: 2 passed, 3 failed, 5 total (100% completed) in 00:01:22
SILENT=1 VERBOSE=1 ./run_selenium_tests ".*" 0.27s user 0.17s system 0% cpu 1:26.74 total