Page MenuHomePhabricator

Write Selenium end-to-end test(s) for incident report form
Closed, ResolvedPublic

Description

Acceptance criteria:

  • At least one Selenium test that visits a configured page, clicks on the "Report" button, navigates the form, and submits the form contents

Note: we can use the dev-tools wdio service to intercept and make assertions against the API request.

Event Timeline

Change 964093 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/ReportIncident@master] Add selenium tests to test the dialog

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

The dev-tools service didn't work for my purposes, but the intercept service worked well.

Change 964093 merged by jenkins-bot:

[mediawiki/extensions/ReportIncident@master] Add selenium tests to test the reporting dialog

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

Dreamy_Jazz updated the task description. (Show Details)

I think we can skip QA as this change made only one change to the non-test code that did not make any visual change.