Skip to content

Commit 709136d

Browse files
committed
Update examples
1 parent 1e30863 commit 709136d

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

examples/test_hack_search.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,16 @@ def test_hack_search(self):
1212
self.assert_element('input[title="Search"]')
1313
self.set_attribute('[action="/search"]', "action", "//bing.com/search")
1414
self.set_attributes('[value="Google Search"]', "value", "Bing Search")
15-
self.type('input[title="Search"]', "SeleniumBase GitHub")
15+
self.type('input[title="Search"]', "SeleniumBase GitHub Docs Install")
1616
self.sleep(0.5)
1717
self.js_click('[value="Bing Search"]')
1818
self.highlight("h1.b_logo")
1919
help_docs_install_link = 'a[href*="seleniumbase.io/help_docs/install"]'
2020
if self.is_element_visible(help_docs_install_link):
2121
self.highlight_click(help_docs_install_link)
22-
self.switch_to_newest_window()
2322
self.assert_text("Install SeleniumBase", "h1")
2423
self.click_link_text("GitHub branch")
2524
self.highlight_click('a[href*="github.com/seleniumbase/SeleniumBase"]')
26-
self.switch_to_newest_window()
2725
self.assert_element('[href="/seleniumbase/SeleniumBase"]')
2826
self.assert_true("seleniumbase/SeleniumBase" in self.get_current_url())
2927
self.click('a[title="examples"]')

examples/translations/pytest.ini

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ python_files = test_*.py *_test.py *_tests.py *_suite.py *_test_*.py
1818
python_classes = Test* *Test* *Test *Tests *Suite
1919
python_functions = test_*
2020

21-
# Here are the pytest markers used in the example tests:
21+
# Here are some common pytest markers:
22+
# (Some are used in the example tests.)
2223
# (pytest v4.5.0 and newer requires marker registration to prevent warnings.)
2324
# (Future versions of pytest may turn those marker warnings into errors.)
2425
markers =
@@ -32,7 +33,11 @@ markers =
3233
offline: custom marker
3334
develop: custom marker
3435
qa: custom marker
36+
ci: custom marker
37+
e2e: custom marker
3538
ready: custom marker
39+
smoke: custom marker
40+
deploy: custom marker
3641
active: custom marker
3742
master: custom marker
3843
release: custom marker

0 commit comments

Comments
 (0)