mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-17 03:08:12 +00:00
13 lines
457 B
JavaScript
13 lines
457 B
JavaScript
|
const assert = require( 'assert' ),
|
||
|
{ DiffPage } = require( '../support/world.js' );
|
||
|
|
||
|
const iShouldSeeAddedContent = ( text ) => {
|
||
|
DiffPage.inserted_content_element.waitForVisible();
|
||
|
assert.strictEqual( DiffPage.inserted_content_element.getText(), text );
|
||
|
};
|
||
|
const iShouldSeeRemovedContent = ( text ) => {
|
||
|
assert.strictEqual( DiffPage.deleted_content_element.getText(), text );
|
||
|
};
|
||
|
|
||
|
module.exports = { iShouldSeeAddedContent, iShouldSeeRemovedContent };
|