mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-29 08:24:47 +00:00
c8ce9608c0
Bug: T255447 Change-Id: I4cdde3070a6dc4e742ea37a78a17dfd556103dd6
15 lines
526 B
JavaScript
15 lines
526 B
JavaScript
'use strict';
|
|
|
|
const assert = require( 'assert' ),
|
|
{ SpecialMobileDiffPage } = require( '../support/world.js' );
|
|
|
|
const iShouldSeeAddedContent = ( text ) => {
|
|
SpecialMobileDiffPage.inserted_content_element.waitForDisplayed();
|
|
assert.strictEqual( SpecialMobileDiffPage.inserted_content_element.getText(), text );
|
|
};
|
|
const iShouldSeeRemovedContent = ( text ) => {
|
|
assert.strictEqual( SpecialMobileDiffPage.deleted_content_element.getText(), text );
|
|
};
|
|
|
|
module.exports = { iShouldSeeAddedContent, iShouldSeeRemovedContent };
|