mirror of
https://github.com/apache/superset.git
synced 2026-04-20 00:24:38 +00:00
feat: get docker-compose to work as the backend for Cypress tests (#31796)
This commit is contained in:
committed by
GitHub
parent
2874096e27
commit
840773e626
@@ -55,7 +55,9 @@ def run_cypress_for_test_file(
|
||||
group_id = f"matrix{group}-file{i}-{attempt}"
|
||||
cmd = (
|
||||
f"{XVFB_PRE_CMD} "
|
||||
f'{cypress_cmd} --spec "{test_file}" --browser {browser} '
|
||||
f'{cypress_cmd} --spec "{test_file}" '
|
||||
f"--config numTestsKeptInMemory=0 "
|
||||
f"--browser {browser} "
|
||||
f"--record --group {group_id} --tag {REPO},{GITHUB_EVENT_NAME} "
|
||||
f"--ci-build-id {build_id} "
|
||||
f"-- {chrome_flags}"
|
||||
@@ -64,7 +66,9 @@ def run_cypress_for_test_file(
|
||||
os.environ.pop("CYPRESS_RECORD_KEY", None)
|
||||
cmd = (
|
||||
f"{XVFB_PRE_CMD} "
|
||||
f"{cypress_cmd} --browser {browser} "
|
||||
f"{cypress_cmd} "
|
||||
f"--browser {browser} "
|
||||
f"--config numTestsKeptInMemory=0 "
|
||||
f'--spec "{test_file}" '
|
||||
f"-- {chrome_flags}"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user