mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-12 14:25:15 +00:00
0540abb30c
Use the more verbose SpecialMobileDiff page Change-Id: I1e773b0a654d2b03601ae8ba37dc8bbc03910e7f
13 lines
509 B
JavaScript
13 lines
509 B
JavaScript
const assert = require( 'assert' ),
|
|
{ SpecialMobileDiffPage } = require( '../support/world.js' );
|
|
|
|
const iShouldSeeAddedContent = ( text ) => {
|
|
SpecialMobileDiffPage.inserted_content_element.waitForVisible();
|
|
assert.strictEqual( SpecialMobileDiffPage.inserted_content_element.getText(), text );
|
|
};
|
|
const iShouldSeeRemovedContent = ( text ) => {
|
|
assert.strictEqual( SpecialMobileDiffPage.deleted_content_element.getText(), text );
|
|
};
|
|
|
|
module.exports = { iShouldSeeAddedContent, iShouldSeeRemovedContent };
|