Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/extensions/CheckUser/tests/selenium/specs/checkuserlog.js
Ðазад
'use strict'; const assert = require( 'assert' ), LoginAsCheckUser = require( '../checkuserlogin' ), CheckUserLogPage = require( '../pageobjects/checkuserlog.page' ); describe( 'CheckUserLog', function () { describe( 'Without CheckUser user group', () => { it( 'Should display permission error to logged-out user', async function () { await CheckUserLogPage.open(); assert( await CheckUserLogPage.hasPermissionErrors.isExisting() ); } ); } ); describe( 'With CheckUser user group', () => { before( async () => { await LoginAsCheckUser.loginAsCheckUser(); await CheckUserLogPage.open(); } ); describe( 'Verify checkuser can interact with the CheckUser log', () => { it( 'Should show target input', async function () { assert( await CheckUserLogPage.targetInput.isExisting() ); } ); it( 'Should show initiator input', async function () { assert( await CheckUserLogPage.initiatorInput.isExisting() ); } ); it( 'Should show start date selector', async function () { assert( await CheckUserLogPage.startDateSelector.isExisting() ); } ); it( 'Should show end date selector', async function () { assert( await CheckUserLogPage.endDateSelector.isExisting() ); } ); it( 'Should show search button', async function () { assert( await CheckUserLogPage.search.isExisting() ); } ); it( 'Should be able to use the filters to search', async function () { // @todo check if the filters had any effect? await CheckUserLogPage.initiatorInput.setValue( process.env.MEDIAWIKI_USER ); await CheckUserLogPage.initiatorInput.click(); // Initiator input will be missing if the request failed. assert( await CheckUserLogPage.initiatorInput.isExisting() ); } ); } ); } ); } );
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка