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:
11843
web/package-lock.json
generated
11843
web/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -31,13 +31,7 @@ if (!skipChrome) {
|
||||
args: [
|
||||
"disable-search-engine-choice-screen",
|
||||
...(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: [
|
||||
litCss(),
|
||||
replace({
|
||||
"process.env.NODE_ENV": JSON.stringify(
|
||||
isProdBuild ? "production" : "development",
|
||||
),
|
||||
"process.env.NODE_ENV": JSON.stringify(isProdBuild ? "production" : "development"),
|
||||
"process.env.CWD": JSON.stringify(cwd()),
|
||||
"process.env.AK_API_BASE_PATH": JSON.stringify(apiBasePath),
|
||||
"preventAssignment": true,
|
||||
@ -333,7 +325,7 @@ export const config: Options.Testrunner = {
|
||||
afterTest: async function (
|
||||
_test,
|
||||
_context,
|
||||
{ error: _error, result: _result, duration: _duration, passed: _passed, retries: _retries },
|
||||
{ error: _error, result: _result, duration: _duration, passed: _passed, retries: _retries }
|
||||
) {
|
||||
if (lemmeSee) {
|
||||
await browser.pause(500);
|
||||
|
||||
Reference in New Issue
Block a user