Update examples
This commit is contained in:
parent
1e30863784
commit
709136d19e
|
@ -12,18 +12,16 @@ class HackingTests(BaseCase):
|
|||
self.assert_element('input[title="Search"]')
|
||||
self.set_attribute('[action="/search"]', "action", "//bing.com/search")
|
||||
self.set_attributes('[value="Google Search"]', "value", "Bing Search")
|
||||
self.type('input[title="Search"]', "SeleniumBase GitHub")
|
||||
self.type('input[title="Search"]', "SeleniumBase GitHub Docs Install")
|
||||
self.sleep(0.5)
|
||||
self.js_click('[value="Bing Search"]')
|
||||
self.highlight("h1.b_logo")
|
||||
help_docs_install_link = 'a[href*="seleniumbase.io/help_docs/install"]'
|
||||
if self.is_element_visible(help_docs_install_link):
|
||||
self.highlight_click(help_docs_install_link)
|
||||
self.switch_to_newest_window()
|
||||
self.assert_text("Install SeleniumBase", "h1")
|
||||
self.click_link_text("GitHub branch")
|
||||
self.highlight_click('a[href*="github.com/seleniumbase/SeleniumBase"]')
|
||||
self.switch_to_newest_window()
|
||||
self.assert_element('[href="/seleniumbase/SeleniumBase"]')
|
||||
self.assert_true("seleniumbase/SeleniumBase" in self.get_current_url())
|
||||
self.click('a[title="examples"]')
|
||||
|
|
|
@ -18,7 +18,8 @@ python_files = test_*.py *_test.py *_tests.py *_suite.py *_test_*.py
|
|||
python_classes = Test* *Test* *Test *Tests *Suite
|
||||
python_functions = test_*
|
||||
|
||||
# Here are the pytest markers used in the example tests:
|
||||
# Here are some common pytest markers:
|
||||
# (Some are used in the example tests.)
|
||||
# (pytest v4.5.0 and newer requires marker registration to prevent warnings.)
|
||||
# (Future versions of pytest may turn those marker warnings into errors.)
|
||||
markers =
|
||||
|
@ -32,7 +33,11 @@ markers =
|
|||
offline: custom marker
|
||||
develop: custom marker
|
||||
qa: custom marker
|
||||
ci: custom marker
|
||||
e2e: custom marker
|
||||
ready: custom marker
|
||||
smoke: custom marker
|
||||
deploy: custom marker
|
||||
active: custom marker
|
||||
master: custom marker
|
||||
release: custom marker
|
||||
|
|
Loading…
Reference in New Issue