@@ -12,6 +12,7 @@ def pytest_addoption(parser):
12
12
'SeleniumBase specific configuration options' )
13
13
parser .addoption ('--browser' , action = "store" ,
14
14
dest = 'browser' ,
15
+ type = str .lower ,
15
16
choices = constants .ValidBrowsers .valid_browsers ,
16
17
default = constants .Browser .GOOGLE_CHROME ,
17
18
help = """Specifies the web browser to use. Default: Chrome.
@@ -23,9 +24,11 @@ def pytest_addoption(parser):
23
24
help = "Use if tests need to be run with a web browser." )
24
25
parser .addoption ('--env' , action = 'store' ,
25
26
dest = 'environment' ,
27
+ type = str .lower ,
26
28
choices = (
27
29
constants .Environment .QA ,
28
30
constants .Environment .STAGING ,
31
+ constants .Environment .DEVELOP ,
29
32
constants .Environment .PRODUCTION ,
30
33
constants .Environment .MASTER ,
31
34
constants .Environment .LOCAL ,
@@ -50,7 +53,8 @@ def pytest_addoption(parser):
50
53
parser .addoption ('--database_env' , action = 'store' ,
51
54
dest = 'database_env' ,
52
55
choices = (
53
- 'prod' , 'qa' , 'staging' , 'test' , 'local' , 'master'
56
+ 'production' , 'qa' , 'staging' , 'develop' ,
57
+ 'test' , 'local' , 'master'
54
58
),
55
59
default = 'test' ,
56
60
help = optparse .SUPPRESS_HELP )
0 commit comments