Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/skins/MinervaNeue/tests/selenium/specs/mainmenu_loggedin.js
Ðазад
'use strict'; const { iAmLoggedIntoTheMobileWebsite, iAmOnPage } = require( '../features/step_definitions/common_steps' ), { iSeeALinkToAboutPage, iShouldSeeAUserPageLinkInMenu, iShouldSeeLogoutLinkInMenu, iClickOnTheMainNavigationButton, iShouldSeeALinkInMenu, iShouldSeeALinkToDisclaimer } = require( '../features/step_definitions/menu_steps' ); // @chrome @en.m.wikipedia.beta.wmflabs.org @firefox @test2.m.wikipedia.org @vagrant @login describe( 'Menus open correct page for anonymous users', () => { beforeEach( async () => { await iAmLoggedIntoTheMobileWebsite(); await iAmOnPage( 'Main Page' ); } ); it( 'Check links in menu', async () => { await iClickOnTheMainNavigationButton(); await iShouldSeeALinkToDisclaimer(); await iShouldSeeAUserPageLinkInMenu(); await iSeeALinkToAboutPage(); [ 'Home', 'Random', 'Settings', 'Watchlist' ].forEach( async ( label ) => { await iShouldSeeALinkInMenu( label ); } ); await iShouldSeeLogoutLinkInMenu(); try { await iShouldSeeALinkInMenu( 'Nearby' ); } catch ( e ) { console.warn( 'Nearby item will only appear in main menu if $wgMFNearby is configured' ); } } ); } );
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка