Page MenuHomePhabricator

Add image: Create end-to-end test to verify saved content
Open, Needs TriagePublic

Description

Description
We want a test to verify that saving an image via the AddImage plugin, does in fact result in an edit with the caption and the added image.

Acceptance Criteria

  1. fill out the caption field
  2. save the edit
  3. verify the saved content is correct
Completion checklist

Functionality

  • The patches have been code reviewed and merged
  • The task passes its acceptance criteria

Engineering

  • There are existing and passing unit/integration tests
  • Tests for every involved patch should pass
  • Coverage for every involved project should have improved or stayed the same

Design & QA

  • If the task is UX/Design related: it must be reviewed and approved by the UX/Design team
  • Must be reviewed and approved by Quality Assurance.

Documentation

  • Related and updated documentation done where necessary

Event Timeline

kostajh updated the task description. (Show Details)

Change 811774 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/GrowthExperiments@master] [WIP] selenium: Test saving an edit for AddImage

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

Change 811774 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/GrowthExperiments@master] [WIP] selenium: Test saving an edit for AddImage

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

This might get unblocked by T336532. Another option would be to add a JS API for programmatically filling the caption text.

Change 811774 abandoned by Kosta Harlan:

[mediawiki/extensions/GrowthExperiments@master] [WIP] selenium: Test saving an edit for AddImage

Reason:

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