Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playwright: revert "Playwright: run tests headlessly." #56679

Merged
merged 1 commit into from
Sep 29, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .teamcity/_self/projects/WebApp.kt
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,6 @@ fun playwrightPrBuildType( targetDevice: String, buildUuid: String ): BuildType
export NODE_CONFIG_ENV=test
export PLAYWRIGHT_BROWSERS_PATH=0
export TEAMCITY_VERSION=2021
export HEADLESS=1

# Decrypt config
openssl aes-256-cbc -md sha1 -d -in ./config/encrypted.enc -out ./config/local-test.json -k "%CONFIG_E2E_ENCRYPTION_KEY%"
Expand All @@ -638,7 +637,7 @@ fun playwrightPrBuildType( targetDevice: String, buildUuid: String ): BuildType
export NODE_CONFIG="{\"calypsoBaseURL\":\"${'$'}{URL%/}\"}"
export DEBUG=pw:api

yarn jest --reporters=jest-teamcity --reporters=default --maxWorkers=%E2E_WORKERS% --group=calypso-pr
xvfb-run yarn jest --reporters=jest-teamcity --reporters=default --maxWorkers=%E2E_WORKERS% --group=calypso-pr
""".trimIndent()
dockerImage = "%docker_image_e2e%"
}
Expand Down Expand Up @@ -752,12 +751,11 @@ object PreReleaseE2ETests : BuildType({
export LOCALE=en
export NODE_CONFIG="{\"calypsoBaseURL\":\"${'$'}{URL%/}\"}"
export DEBUG=pw:api
export HEADLESS=1

# Decrypt config
openssl aes-256-cbc -md sha1 -d -in ./config/encrypted.enc -out ./config/local-test.json -k "%CONFIG_E2E_ENCRYPTION_KEY%"

yarn jest --reporters=jest-teamcity --reporters=default --maxWorkers=%E2E_WORKERS% --group=calypso-release
xvfb-run yarn jest --reporters=jest-teamcity --reporters=default --maxWorkers=%E2E_WORKERS% --group=calypso-release
""".trimIndent()
dockerImage = "%docker_image_e2e%"
}
Expand Down