Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/skins/MinervaNeue/tests/selenium/features/step_definitions/watch_steps.js
Ðазад
'use strict'; const assert = require( 'assert' ); const { ArticlePage } = require( '../support/world.js' ); const theWatchstarShouldNotBeSelected = () => { ArticlePage.watch_element.waitForExist(); assert.strictEqual( ArticlePage.watched_element.isExisting(), false, 'the watched element should not be present' ); }; const theWatchstarShouldBeSelected = async () => { await ArticlePage.watched_element.waitForExist(); const watchstar = await ArticlePage.watched_element; assert.strictEqual( await watchstar.isDisplayed(), true ); }; const iClickTheWatchstar = async () => { await ArticlePage.waitUntilResourceLoaderModuleReady( 'skins.minerva.scripts' ); await ArticlePage.watch_element.waitForExist(); await ArticlePage.watch_element.click(); }; const iClickTheUnwatchStar = () => { ArticlePage.waitUntilResourceLoaderModuleReady( 'skins.minerva.scripts' ); ArticlePage.watched_element.waitForExist(); ArticlePage.watched_element.click(); }; module.exports = { theWatchstarShouldNotBeSelected, theWatchstarShouldBeSelected, iClickTheWatchstar, iClickTheUnwatchStar };
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка