-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_behave.sh.local
executable file
·38 lines (31 loc) · 1.09 KB
/
run_behave.sh.local
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
30
31
32
33
34
35
36
37
38
#!/bin/bash
#chmod +x behave_runner.py
# WEB - OFFICIAL ENVIRONMENT SETTINGS
PYON_ENVIRONMENT='staging'
PYON_TARGET='bs'
PYON_MODE='web'
PYON_OS='MacOS Catalina'
PYON_OS_VERSION=
PYON_DEVICE='local'
PYON_BROWSER='chrome'
PYON_BROWSER_VERSION='90.0'
PYON_ORIENTATION='Portrait'
PYON_RESOLUTION='1280x1024'
PYON_TAGS=
PYON_EXCLUDED_TAG='wip'
echo 'COPYING PROPERTIES'
cp env_settings.properties.local env_settings.properties
echo 'UPDATING PACKAGES...'
python update.py
python behave_runner.py --target $PYON_TARGET \
--environment "$PYON_ENVIRONMENT" \
--mode $PYON_MODE \
--os "$PYON_OS" \
--os_version "$PYON_OS_VERSION" \
--device_name "$PYON_DEVICE" \
--browser $PYON_BROWSER \
--browser_version "$PYON_BROWSER_VERSION" \
--orientation "$PYON_ORIENTATION" \
--resolution "$PYON_RESOLUTION" \
--tags "$PYON_TAGS" \
--exclude "$PYON_EXCLUDED_TAG"