How can I add my own name env. to base_case and start it from CLI #1806
Replies: 1 comment 1 reply
-
Hi @SergeyGuschin, Based on your screenshots, it looks like you're mixing up valid pytest markers with valid envs. --account=STR (Set account. Access with "self.account" in tests.)
--data=STRING (Extra test data. Access with "self.data" in tests.)
--var1=STRING (Extra test data. Access with "self.var1" in tests.)
--var2=STRING (Extra test data. Access with "self.var2" in tests.)
--var3=STRING (Extra test data. Access with "self.var3" in tests.)
--variables=DICT (Extra test data. Access with "self.variables".) (That can be found in https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/plugins/pytest_plugin.py) The |
Beta Was this translation helpful? Give feedback.
-
Hello Michael. I have a question for you. How can I add my own env name? So I can type the command in CLI --env=myownname and get it to work? I try to modify base_case file by it still gives me an error.
base_case.py
The error
Beta Was this translation helpful? Give feedback.
All reactions