-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathMakefile
29 lines (24 loc) · 973 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
cy:
@read -r -p "Isolate the front end? (y/n): " isolate;\
read -r -p "Enter the target url: " targetUrl;\
npm run cypress -- --env ISOLATED=$$isolate,BASEURL=$$targetUrl
runner:
@read -r -p "Isolate the front end? (y/n): " isolate;\
read -r -p "Enter the target url: " targetUrl;\
npm run cy-runner -- --env ISOLATED=$$isolate,BASEURL=$$targetUrl
# container:
# docker run -d -p 4200:80 vprodemo.azurecr.ui/samplewebui:latest
# test-container:
# docker run -d -p 4201:80 vprodemo.azurecr.ui/samplewebui:latest
#npm run start
e2e-runner:
#prep
npx cypress run --spec "cypress/integration/login/*"
#create
npx cypress run --spec "cypress/integration/cira/create.*"
npx cypress run --spec "cypress/integration/profile/create.*"
#test
npx cypress run --spec "cypress/integration/**/create-error.*,cypress/integration/domain/* "
#delete
npx cypress run --spec "cypress/integration/profile/delete.*"
npx cypress run --spec "cypress/integration/cira/delete.*"