Page MenuHomePhabricator
Paste P15708

Test Results for ElectronPdfService
ActivePublic

Authored by Sahilgrewalhere on May 4 2021, 11:05 AM.
> selenium-test
> wdio tests/selenium/wdio.conf.js
Execution of 1 spec files started at 2021-05-04T10:22:21.202Z
[0-0] RUNNING in chrome - /tests/selenium/specs/electronpdfservice.js
[0-0]
Screenshot: /home/sahil/Desktop/newmedi/mediawiki/extensions/ElectronPdfService/tests/selenium/log/pdf-download-button-is-visible.png
[0-0] Error in "ElectronPdfService pdf download button is visible"
Can't call click on element with selector "[id^=coll-download-as-r]" because element wasn't found
[0-0] FAILED in chrome - /tests/selenium/specs/electronpdfservice.js
"spec" Reporter:
------------------------------------------------------------------
[Chrome 90.0.4430.93 linux #0-0] Spec: /home/sahil/Desktop/newmedi/mediawiki/extensions/ElectronPdfService/tests/selenium/specs/electronpdfservice.js
[Chrome 90.0.4430.93 linux #0-0] Running: Chrome (v90.0.4430.93) on linux
[Chrome 90.0.4430.93 linux #0-0] Session ID: 91d0900d-6eb6-4fd7-bf8a-499feae49156
[Chrome 90.0.4430.93 linux #0-0]
[Chrome 90.0.4430.93 linux #0-0] ElectronPdfService
[Chrome 90.0.4430.93 linux #0-0] ✖ pdf download button is visible
[Chrome 90.0.4430.93 linux #0-0]
[Chrome 90.0.4430.93 linux #0-0] 1 failing (12.9s)
[Chrome 90.0.4430.93 linux #0-0]
[Chrome 90.0.4430.93 linux #0-0] 1) ElectronPdfService pdf download button is visible
[Chrome 90.0.4430.93 linux #0-0] Can't call click on element with selector "[id^=coll-download-as-r]" because element wasn't found
[Chrome 90.0.4430.93 linux #0-0] Error: Can't call click on element with selector "[id^=coll-download-as-r]" because element wasn't found
[Chrome 90.0.4430.93 linux #0-0] at Context.<anonymous> (/home/sahil/Desktop/newmedi/mediawiki/extensions/ElectronPdfService/tests/selenium/specs/electronpdfservice.js:12:20)
"junit" Reporter:
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite name="ElectronPdfService" timestamp="2021-05-04T15:52:24" time="12.826" tests="1" failures="0" errors="1" skipped="0">
<properties>
<property name="specId" value="0"/>
<property name="suiteName" value="ElectronPdfService"/>
<property name="capabilities" value="chrome.90_0_4430_93.linux"/>
<property name="file" value="./tests/selenium/specs/electronpdfservice.js"/>
</properties>
<testcase classname="chrome.90_0_4430_93.linux.ElectronPdfService" name="pdf_download_button_is_visible" time="12.824">
<error message="Can't call click on element with selector &quot;[id^=coll-download-as-r]&quot; because element wasn't found"/>
<system-err>
<![CDATA[
Error: Can't call click on element with selector "[id^=coll-download-as-r]" because element wasn't found
at Context.<anonymous> (/home/sahil/Desktop/newmedi/mediawiki/extensions/ElectronPdfService/tests/selenium/specs/electronpdfservice.js:12:20)
]]>
</system-err>
</testcase>
</testsuite>
</testsuites>
Spec Files: 0 passed, 1 failed, 1 total (100% completed) in 00:00:15