Add browser test for preview functionality to MediaWiki core
authorThiemo Kreuz <thiemo.kreuz@wikimedia.de>
Thu, 29 Nov 2018 18:04:31 +0000 (19:04 +0100)
committerWMDE-Fisch <christoph.jauera@wikimedia.de>
Fri, 7 Dec 2018 15:27:45 +0000 (16:27 +0100)
commit3b03ea9bdc8bc1b44258ae2a0a07bb4a9565c29a
tree3d1d0f95a5be713b0baec23d87db22e63e43b45a
parent5195d895bd7b0d84fe74efe3a2ed3dc86b3c62aa
Add browser test for preview functionality to MediaWiki core

The basic functionality of being able to preview an edit is currently
not covered by a test, as far as I can see.

The assertion for a wpTextbox2 that should *not* be there is a result of
the issue documented at T209012, where the EditPage::isConflict flag was
accidentially set. This assertion makes sure accidential conflicts can't
happen again, no matter which extension might cause it.

Bug: T210758
Change-Id: Iae723430b3a88079ad3499429e65c29817eca67e
tests/selenium/pageobjects/edit.page.js
tests/selenium/specs/page.js