Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/tests/selenium/docs/Stack/specs/expect.js
Ðазад
// Example code for Selenium/Explanation/Stack // https://www.mediawiki.org/wiki/Selenium/Explanation/Stack 'use strict'; // baseUrl is required for our continuous integration. // If you don't have MW_SERVER and MW_SCRIPT_PATH environment variables set // you can probably hardcode it to something like this: // const baseUrl = 'http://localhost:8080/wiki/'; const baseUrl = `${ process.env.MW_SERVER }${ process.env.MW_SCRIPT_PATH }/index.php?title=`; describe( 'Main page', () => { it( 'should have "Log in" link when using expect', async () => { await browser.url( `${ baseUrl }Main_Page` ); await expect( await $( 'li#pt-login-2 a' ) ).toExist(); } ); } );
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка