mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-17 19:21:39 +00:00
26e413e04d
Porting first selenium test from Ruby to Node.js using the mocha framework. Starting with `category.feature` test. Tests are placed in a new `tests/selenium` folder with their own eslint config. Bug: T190710 Change-Id: Iad954405a5ae0608fd5dc90dd5dfa434b3781037
13 lines
446 B
JavaScript
13 lines
446 B
JavaScript
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
|
|
};
|