forked from sillsdev/web-languageforge
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrune2e.sh
More file actions
executable file
·29 lines (26 loc) · 811 Bytes
/
rune2e.sh
File metadata and controls
executable file
·29 lines (26 loc) · 811 Bytes
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
#!/usr/bin/env bash
# Usage
# rune2e.sh lf : runs E2E tests for LF
# rune2e.sh sf : runs E2E tests for SF
# rune2e.sh jp : runs E2E tests for JP
# rune2e.sh lf --specs lexicon-new-project : runs lexicon-new-project spec for LF
#
# Note, make sure webdriver-manager is running
# gulp test-e2e-webdriver_standalone
if [ "$1" = "lf" ]
then
E2EHOSTNAME="languageforge.local"
elif [ "$1" = "sf" ]
then
E2EHOSTNAME="scriptureforge.local"
elif [ "$1" = "jp" ]
then
E2EHOSTNAME="jamaicanpsalms.scriptureforge.local"
else
E2EHOSTNAME="languageforge.local"
fi
# Ensure Cleanup
gulp test-e2e-run --webserverHost $E2EHOSTNAME ${@:2}
STATUS=$?
gulp test-e2e-teardownForLocalDev
exit $STATUS