mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-30 12:43:03 +00:00
21 lines
469 B
Bash
Executable File
21 lines
469 B
Bash
Executable File
#!/bin/bash
|
|
set -euxo pipefail
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|
cd "$DIR"
|
|
|
|
if [ "${RUN_QUICKSTART:-true}" == "true" ]; then
|
|
source ./run-quickstart.sh
|
|
fi
|
|
|
|
source venv/bin/activate
|
|
|
|
python -c 'from tests.cypress.integration_test import ingest_data; ingest_data()'
|
|
|
|
cd tests/cypress
|
|
npm install
|
|
|
|
export CYPRESS_ADMIN_USERNAME=${ADMIN_USERNAME:-datahub}
|
|
export CYPRESS_ADMIN_PASSWORD=${ADMIN_PASSWORD:-datahub}
|
|
|
|
npx cypress open |