mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-22 08:40:03 +01:00
ca1a7bfc4e
* Add bin script to start cypress component test * remove unneeded flags
12 lines
384 B
Bash
Executable File
12 lines
384 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
yarn add cypress@6.7.0 cypress-terminal-report@2.1.0 @cypress/react@4.16.4 @cypress/webpack-preprocessor@5.7.0
|
|
|
|
# Only start webpack if not already running
|
|
nc -vz 127.0.0.1 8234 2> /dev/null || ./bin/start-frontend &
|
|
|
|
CYPRESS_BASE_URL=http://localhost:8080 npx cypress open
|
|
|
|
yarn remove cypress cypress-terminal-report @cypress/react @cypress/webpack-preprocessor
|