Page MenuHomePhabricator

Selenium Tests for Wikistories
Open, In Progress, HighPublic

Description

Description

The Wikistories extension work is stable enough for end-to-end tests to be implemented. These tests would cover critical functionality as an end user and ideally would run on both the CI and Beta cluster.

Test Scenarios

  • Verify a user can add a maximum of 10 images
  • Verify a user should have a minimum of 2 story pages
  • Verify a user should add text to all story pages
  • Verify a user must enter a story title
  • Verify a user must not create a story with a title that already exists
  • Successfully create a wikistory from a wiki page
  • View a wikistory from a wikipage

Event Timeline

Restricted Application added a subscriber: Aklapper. ยท View Herald TranscriptMay 31 2022, 11:25 AM
SBisson triaged this task as High priority.Jun 9 2022, 12:59 PM

Change 805809 had a related patch set uploaded (by Eazeeee; author: Eazeeee):

[mediawiki/extensions/Wikistories@master] selenium: First Test

https://gerrit.wikimedia.org/r/805809

Change 805809 merged by jenkins-bot:

[mediawiki/extensions/Wikistories@master] selenium: First Test

https://gerrit.wikimedia.org/r/805809

Change 808031 had a related patch set uploaded (by Eazeeee; author: Eazeeee):

[mediawiki/extensions/Wikistories@master] selenium: Login Test

https://gerrit.wikimedia.org/r/808031

Change 808032 had a related patch set uploaded (by Eazeeee; author: Eazeeee):

[mediawiki/extensions/Wikistories@master] Merge branch 'master' of ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikistories into T309600

https://gerrit.wikimedia.org/r/808032

Change 808032 abandoned by Sbisson:

[mediawiki/extensions/Wikistories@master] Merge branch 'master' of ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikistories into T309600

Reason:

https://gerrit.wikimedia.org/r/808032

Change 808306 had a related patch set uploaded (by Eazeeee; author: Eazeeee):

[mediawiki/extensions/Wikistories@master] Merge branch 'master' of ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikistories into T309600

https://gerrit.wikimedia.org/r/808306

Change 808306 abandoned by Huei Tan:

[mediawiki/extensions/Wikistories@master] Merge branch 'master' of ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikistories into T309600

Reason:

not necessary

https://gerrit.wikimedia.org/r/808306

Change 808031 abandoned by Eazeeee:

[mediawiki/extensions/Wikistories@master] WIP selenium: Login Test

Reason:

Want to start afresh.

https://gerrit.wikimedia.org/r/808031

Change 833008 had a related patch set uploaded (by Eazeeee; author: Eazeeee):

[mediawiki/extensions/Wikistories@master] WIP selenium: Wikistories can be enabled in Preferences

https://gerrit.wikimedia.org/r/833008

Change 843499 had a related patch set uploaded (by Eazeeee; author: Eazeeee):

[integration/config@master] Wikistories: Add dependencies

https://gerrit.wikimedia.org/r/843499

Change 843499 merged by jenkins-bot:

[integration/config@master] Wikistories: Add dependencies

https://gerrit.wikimedia.org/r/843499

Change 862289 had a related patch set uploaded (by Zfilipin; author: Zfilipin):

[integration/config@master] jjb: Create selenium-daily-beta-Wikistories

https://gerrit.wikimedia.org/r/862289

Change 862289 merged by jenkins-bot:

[integration/config@master] jjb: Create selenium-daily-beta-Wikistories

https://gerrit.wikimedia.org/r/862289

Change 862297 had a related patch set uploaded (by Zfilipin; author: Zfilipin):

[mediawiki/extensions/Wikistories@master] selenium: Run tests only targeting the beta cluster

https://gerrit.wikimedia.org/r/862297

Change 862297 merged by jenkins-bot:

[mediawiki/extensions/Wikistories@master] selenium: Run tests only targeting the beta cluster

https://gerrit.wikimedia.org/r/862297