mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-17 11:13:34 +00:00
6bd240389e
Bug: T219920 Change-Id: I34b5301a274fe90a7a2db58a8bec2b9398d998b6
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 };
|