Page MenuHomePhabricator
Paste P16197

Test Output for Echo (WebdriverIO v7)
ActivePublic

Authored by Vidhi-Mody on May 25 2021, 11:33 AM.
vidhimody@MacBook-Pro  ~/mediawiki/extensions/Echo   review/sahilgrewalhere/T274579→origin/master ● ↑1 ↓3  npm run selenium-test  ✔  8785  17:00:45
> echo@0.0.1 selenium-test /Users/vidhimody/mediawiki/extensions/Echo
> wdio tests/selenium/wdio.conf.js
Execution of 2 spec files started at 2021-05-25T11:30:58.071Z
[0-0] RUNNING in chrome - /tests/selenium/specs/echo.js
[0-0] [17:01:03] [S] [MWBOT] Login successful: Admin@http://localhost:8080//w
[0-0]
Screenshot: /Users/vidhimody/mediawiki/extensions/Echo/tests/selenium/log/alerts-and-notices-are-visible-after-logging-in-%40daily.png
[0-0]
Screenshot: /Users/vidhimody/mediawiki/extensions/Echo/tests/selenium/log/flyout-for-alert-appears-when-clicked-%40daily.png
[0-0]
Screenshot: /Users/vidhimody/mediawiki/extensions/Echo/tests/selenium/log/flyout-for-notices-appears-when-clicked-%40daily.png
[0-0]
Screenshot: /Users/vidhimody/mediawiki/extensions/Echo/tests/selenium/log/checks-for-welcome-message-after-signup.png
[0-0] PASSED in chrome - /tests/selenium/specs/echo.js
[0-1] RUNNING in chrome - /tests/selenium/specs/notifications.js
[0-1]
Screenshot: /Users/vidhimody/mediawiki/extensions/Echo/tests/selenium/log/checks-for-Notifications-Page-%40daily.png
[0-1] PASSED in chrome - /tests/selenium/specs/notifications.js
"spec" Reporter:
------------------------------------------------------------------
[Chrome 90.0.4430.212 darwin #0-0] Running: Chrome (v90.0.4430.212) on darwin
[Chrome 90.0.4430.212 darwin #0-0] Session ID: eb02382d-4897-4ab7-85a8-20fe19c24667
[Chrome 90.0.4430.212 darwin #0-0]
[Chrome 90.0.4430.212 darwin #0-0] » /tests/selenium/specs/echo.js
[Chrome 90.0.4430.212 darwin #0-0] Echo
[Chrome 90.0.4430.212 darwin #0-0] ✓ alerts and notices are visible after logging in @daily
[Chrome 90.0.4430.212 darwin #0-0] ✓ flyout for alert appears when clicked @daily
[Chrome 90.0.4430.212 darwin #0-0] ✓ flyout for notices appears when clicked @daily
[Chrome 90.0.4430.212 darwin #0-0] ✓ checks for welcome message after signup
[Chrome 90.0.4430.212 darwin #0-0]
[Chrome 90.0.4430.212 darwin #0-0] 4 passing (19.8s)
------------------------------------------------------------------
[Chrome 90.0.4430.212 darwin #0-1] Running: Chrome (v90.0.4430.212) on darwin
[Chrome 90.0.4430.212 darwin #0-1] Session ID: 02909b0e-e82d-40f5-b9a9-c5212b09fbfb
[Chrome 90.0.4430.212 darwin #0-1]
[Chrome 90.0.4430.212 darwin #0-1] » /tests/selenium/specs/notifications.js
[Chrome 90.0.4430.212 darwin #0-1] Notifications
[Chrome 90.0.4430.212 darwin #0-1] ✓ checks for Notifications Page @daily
[Chrome 90.0.4430.212 darwin #0-1]
[Chrome 90.0.4430.212 darwin #0-1] 1 passing (5.5s)
Spec Files: 2 passed, 2 total (100% completed) in 00:00:32

Event Timeline

@zeljkofilipin I guess the failure in jenkins is due to some unknown reasons, maybe after getting wdio-mediawiki@1.1.0 update it may solved..! What is your opinion??

@Sahilgrewalhere to check if updating to wdio-mediawiki@1.1.0 will fix the problem, rebase your patch on top of https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Echo/+/694515