mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-24 17:18:02 +00:00
feat(ci) - add cypress dashboard view to CI (#4654)
This commit is contained in:
parent
53d357b4eb
commit
cb45d67b46
2
.github/workflows/build-and-test.yml
vendored
2
.github/workflows/build-and-test.yml
vendored
@ -78,6 +78,8 @@ jobs:
|
||||
run: ./gradlew build -x check -x docs-website:build
|
||||
- name: Smoke test
|
||||
run: ./smoke-test/smoke.sh
|
||||
env:
|
||||
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY}}
|
||||
- uses: actions/upload-artifact@v2
|
||||
if: always()
|
||||
with:
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"baseUrl": "http://localhost:9002/",
|
||||
"chromeWebSecurity": false,
|
||||
"viewportHeight": 960,
|
||||
"viewportWidth": 1536
|
||||
"baseUrl": "http://localhost:9002/",
|
||||
"chromeWebSecurity": false,
|
||||
"viewportHeight": 960,
|
||||
"viewportWidth": 1536,
|
||||
"projectId": "hkrxk5"
|
||||
}
|
||||
|
@ -15,7 +15,7 @@ def ingest_cleanup_data():
|
||||
|
||||
|
||||
def test_run_cypress(frontend_session, wait_for_healthchecks):
|
||||
command = f"npx cypress run"
|
||||
command = f"npx cypress run --record"
|
||||
print('starting?')
|
||||
proc = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd="tests/cypress")
|
||||
stdout = proc.stdout.read()
|
||||
|
Loading…
x
Reference in New Issue
Block a user