Skip to content

Commit 0ea0463

Browse files
authored
Merge pull request #1210 from seleniumbase/fix-recorder-desktop-on-linux
Fix Recorder Desktop on Linux
2 parents 873543b + 7f8a59b commit 0ea0463

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

.github/workflows/python-package.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,15 @@ jobs:
6262
- name: Run pytest boilerplate_test.py --browser=chrome --headless
6363
run: |
6464
pytest examples/boilerplates/boilerplate_test.py --browser=chrome --headless -v -s --junit-xml=junit/test-results.xml
65-
- name: Run pytest test_demo_site.py --browser=chrome --headless
65+
- name: Run pytest test_demo_site.py --browser=chrome --xvfb
6666
run: |
67-
pytest examples/test_demo_site.py --browser=chrome --headless -v -s --junit-xml=junit/test-results.xml
67+
pytest examples/test_demo_site.py --browser=chrome --xvfb -v -s --junit-xml=junit/test-results.xml
68+
- name: Run pytest test_iframes.py --browser=chrome --xvfb --rs --crumbs
69+
run: |
70+
pytest examples/test_iframes.py --browser=chrome --xvfb --rs --crumbs -v -s --junit-xml=junit/test-results.xml
71+
- name: Run pytest test_mfa_login.py --browser=chrome --xvfb
72+
run: |
73+
pytest examples/test_mfa_login.py --browser=chrome --xvfb -v -s --junit-xml=junit/test-results.xml
6874
- name: Run pytest my_first_test.py --browser=chrome --headless
6975
run: |
7076
pytest examples/my_first_test.py --browser=chrome --headless -v -s --junit-xml=junit/test-results.xml

seleniumbase/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# seleniumbase package
2-
__version__ = "2.4.9"
2+
__version__ = "2.4.10"

seleniumbase/console_scripts/sb_recorder.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def set_colors(use_colors):
3030
c1 = ""
3131
c2 = ""
3232
c3 = ""
33+
c4 = ""
3334
cr = ""
3435
if use_colors:
3536
colorama.init(autoreset=True)

seleniumbase/plugins/base_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def options(self, parser, env):
5353
),
5454
default=constants.Environment.TEST,
5555
help="""This option sets a test env from a list of choices.
56-
In tests, use "self.environment" to get the env.""",
56+
Access using "self.env" or "self.environment".""",
5757
)
5858
parser.add_option(
5959
"--account",

seleniumbase/plugins/pytest_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def pytest_addoption(parser):
181181
),
182182
default=constants.Environment.TEST,
183183
help="""This option sets a test env from a list of choices.
184-
In tests, use "self.environment" to get the env.""",
184+
Access using "self.env" or "self.environment".""",
185185
)
186186
parser.addoption(
187187
"--account",

0 commit comments

Comments
 (0)