Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/skins/MinervaNeue/tests/selenium/features/support/hooks.js
Ðазад
/** * Hooks * * Hooks are used for setup and teardown of the environment before and after each scenario. * It's preferable to use tags to invoke hooks rather than using the generic 'Before' and 'After' * events, which execute before and after all scenario. * https://github.com/cucumber/cucumber-js/blob/master/docs/support_files/hooks.md */ 'use strict'; const { After, Before } = require( '@cucumber/cucumber' ); Before( () => { // This hook will be executed before ALL scenarios } ); After( () => { // This hook will be executed after ALL scenarios } ); Before( { tags: '@foo' }, () => { // This hook will be executed before scenarios tagged with @foo } );
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка