Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5977702
wrapper.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
868 B
Referenced Files
None
Subscribers
None
wrapper.js
View Options
'use strict'
;
const
Launcher
=
require
(
'@wdio/cli'
).
default
,
getTestString
=
require
(
'wdio-mediawiki/Util'
).
getTestString
;
const
optsOverride
=
{
checkUserAccountUsername
:
getTestString
(
'User-'
),
checkUserAccountPassword
:
getTestString
()
};
const
preSpecsWdio
=
new
Launcher
(
'tests/selenium/wdio.pre-specs.conf.js'
,
optsOverride
);
preSpecsWdio
.
run
().
then
(
()
=>
{
const
specsWdio
=
new
Launcher
(
'tests/selenium/wdio.conf.js'
,
optsOverride
);
specsWdio
.
run
().
then
(
(
code
)
=>
{
// eslint-disable-next-line n/no-process-exit
process
.
exit
(
code
);
},
()
=>
{
// eslint-disable-next-line n/no-process-exit
process
.
exit
(
1
);
console
.
error
(
'Unable to use Launcher to run the specs.'
);
}
);
},
()
=>
{
console
.
error
(
'Unable to use Launcher to run the pre-specs.'
);
// eslint-disable-next-line n/no-process-exit
process
.
exit
(
1
);
}
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 3, 20:03 (2 d, 23 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
fe/2e/1448b74132a3c1ca2790e75e1987
Default Alt Text
wrapper.js (868 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment