This (temporary) change is needed to prevent the unit tests from failing.
\# What \# Why \# How \# Designs \# Test Steps \# Other Notes
This commit is contained in:
11845
web/package-lock.json
generated
11845
web/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -31,13 +31,7 @@ if (!skipChrome) {
|
|||||||
args: [
|
args: [
|
||||||
"disable-search-engine-choice-screen",
|
"disable-search-engine-choice-screen",
|
||||||
...(runHeadless
|
...(runHeadless
|
||||||
? [
|
? ["headless", "disable-gpu", "no-sandbox", "window-size=1280,672", "browser-test"]
|
||||||
"headless",
|
|
||||||
"disable-gpu",
|
|
||||||
"no-sandbox",
|
|
||||||
"window-size=1280,672",
|
|
||||||
"browser-test",
|
|
||||||
]
|
|
||||||
: []),
|
: []),
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@ -77,9 +71,7 @@ export const config: Options.Testrunner = {
|
|||||||
plugins: [
|
plugins: [
|
||||||
litCss(),
|
litCss(),
|
||||||
replace({
|
replace({
|
||||||
"process.env.NODE_ENV": JSON.stringify(
|
"process.env.NODE_ENV": JSON.stringify(isProdBuild ? "production" : "development"),
|
||||||
isProdBuild ? "production" : "development",
|
|
||||||
),
|
|
||||||
"process.env.CWD": JSON.stringify(cwd()),
|
"process.env.CWD": JSON.stringify(cwd()),
|
||||||
"process.env.AK_API_BASE_PATH": JSON.stringify(apiBasePath),
|
"process.env.AK_API_BASE_PATH": JSON.stringify(apiBasePath),
|
||||||
"preventAssignment": true,
|
"preventAssignment": true,
|
||||||
@ -333,7 +325,7 @@ export const config: Options.Testrunner = {
|
|||||||
afterTest: async function (
|
afterTest: async function (
|
||||||
_test,
|
_test,
|
||||||
_context,
|
_context,
|
||||||
{ error: _error, result: _result, duration: _duration, passed: _passed, retries: _retries },
|
{ error: _error, result: _result, duration: _duration, passed: _passed, retries: _retries }
|
||||||
) {
|
) {
|
||||||
if (lemmeSee) {
|
if (lemmeSee) {
|
||||||
await browser.pause(500);
|
await browser.pause(500);
|
||||||
|
|||||||
Reference in New Issue
Block a user