mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-25 11:17:50 +01:00
a012aa6723
* initial test * add yaml * add logs * without tail * run again for consistency * wait longer * manuall configure cypress * use latest ubuntu * try installing all * yarn install * yarn install with cypress * full flow * run again for consistency * initial tests for trends * handle exception * separate e2e docker-compose * run on pr * trends-testing foundation * run test * don't pass everything * handle uncaught exceptions * fix dashboard tests * change email domain * change dataattr to data-attr and boilerplate cleanup * base url config * add script for test runner * change default postgres
10 lines
475 B
Bash
Executable File
10 lines
475 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
dropdb --if-exists posthog_e2e_test
|
|
createdb posthog_e2e_test
|
|
DEBUG=1 DATABASE_URL=postgres://localhost:5432/posthog_e2e_test python manage.py migrate
|
|
DATABASE_URL=postgres://localhost:5432/posthog_e2e_test celery -A posthog worker -B --scheduler redbeat.RedBeatScheduler &
|
|
./bin/start-frontend &
|
|
CYPRESS_BASE_URL=http://localhost:8080 yarn run cypress open &
|
|
DEBUG=1 DATABASE_URL=postgres://localhost:5432/posthog_e2e_test python manage.py runserver 8080 |