mediawiki-skins-MinervaNeue/tests/selenium/features/step_definitions/history_steps.js

13 lines
446 B
JavaScript
Raw Normal View History

const assert = require( 'assert' ),
{ ArticlePage, SpecialHistoryPage } = require( '../support/world' );
const iClickOnTheHistoryLinkInTheLastModifiedBar = () => {
ArticlePage.last_modified_bar_history_link_element.waitForVisible();
ArticlePage.last_modified_bar_history_link_element.click();
assert.strictEqual( SpecialHistoryPage.side_list_element.isVisible(), true );
};
module.exports = {
iClickOnTheHistoryLinkInTheLastModifiedBar
};