Hi,

it seems that the instructions on the docker page a incomplete. I think you
also need Extension:TextExtracts
<https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:TextExtracts>
and Extension:PageImages
<https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:PageImages>
installed see Extension:Popups#Dependencies
<https://www.mediawiki.org/wiki/Extension:Popups#Dependencies>.

So clone these two to your extension directory and load them in the
LocalSettings.php - I think they must be added there before you load the
Popups extension.

Hope that helps, if it works you could update the docker help page. ( or
just poke and I do it ;-) )

best
Fisch


Am Di., 26. Okt. 2021 um 16:27 Uhr schrieb <agha.saa...@gmail.com>:

> Hi,
>
> I am trying to run selenium test suite for Popups extension. I have
> followed this
> https://www.mediawiki.org/wiki/MediaWiki-Docker/Extension/Popups. Some of
> the test cases are getting failed.
>
> [0-0] RUNNING in chrome - /tests/selenium/specs/page_previews.js
> [0-0] AssertionError [ERR_ASSERTION] in "Dwelling on a valid page link I
> should see a page preview"
> AssertionError [ERR_ASSERTION]: Page preview is shown.
>     at Context.<anonymous>
> (/core/extensions/Popups/tests/selenium/specs/page_previews.js:18:3)
> [0-0] AssertionError [ERR_ASSERTION] in "Dwelling on a valid page link
> Quickly hovering, abandoning and re-hovering a link shows page preview"
> AssertionError [ERR_ASSERTION]: Page preview is shown.
>     at Context.<anonymous>
> (/core/extensions/Popups/tests/selenium/specs/page_previews.js:31:3)
> [0-0] FAILED in chrome - /tests/selenium/specs/page_previews.js
> [0-1] (node:6255) ExperimentalWarning: The dns.promises API is experimental
> [0-1] (node:6255) ExperimentalWarning: The fs.promises API is experimental
> [0-1] RUNNING in chrome - /tests/selenium/specs/reference_previews.js
> [0-1] PASSED in chrome - /tests/selenium/specs/reference_previews.js
>
>  "dot" Reporter:
> F.F....
>
> Spec Files:      1 passed, 1 failed, 2 total (100% completed) in 00:00:55
>
> Any dependencies that I need to add?
>
> #selenium #Popups #extensions #testsuite #testcases
> _______________________________________________
> Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
> To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
>


-- 
Christoph Jauera
Software Developer

Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin
Phone: +49 (0)30 219 158 26-0
https://wikimedia.de

Imagine a world in which every single human being can freely share in the
sum of all knowledge. Help us to achieve our vision!
https://spenden.wikimedia.de

Wikimedia Deutschland – Gesellschaft zur Förderung Freien Wissens e. V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für
Körperschaften I Berlin, Steuernummer 27/029/42207.
_______________________________________________
Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/

Reply via email to