Skip to content

Commit 01d2d31

Browse files
committed
Fix keyword's name
1 parent 1e671c0 commit 01d2d31

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Selenium2Library/keywords/_waiting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def wait_until_page_contains_element(self, locator, timeout=None, error=None):
6262
error = "Element '%s' did not appear in <TIMEOUT>" % locator
6363
self._wait_until(timeout, error, self._is_element_present, locator)
6464

65-
def wait_until_page_not_contains_element(self, locator, timeout=None, error=None):
65+
def wait_until_page_does_not_contain_element(self, locator, timeout=None, error=None):
6666
"""Waits until element specified with `locator` disappears from current page.
6767
6868
Fails if `timeout` expires before the element disappears. See

test/acceptance/keywords/waiting.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ Wait Until Page Contains Element
1717
Wait Until Page Contains Element new div 2 seconds
1818
Run Keyword And Expect Error Element '%cnon-existent' did not appear in 100 milliseconds Wait Until Page Contains Element %cnon-existent 0.1 seconds
1919

20-
Wait Until Page Not Contains Element
20+
Wait Until Page Does Not Contain Element
2121
[Documentation] Tests also that format characters (e.g. %c) are handled correctly in error messages
22-
Wait Until Page Not Contains Element not_present 2 seconds
23-
Run Keyword And Expect Error Element 'content' did not disappear in 100 milliseconds Wait Until Page Not Contains Element content 0.1 seconds
22+
Wait Until Page Does Not Contain Element not_present 2 seconds
23+
Run Keyword And Expect Error Element 'content' did not disappear in 100 milliseconds Wait Until Page Does Not Contain Element content 0.1 seconds
2424

2525
Wait Until Element Is Visible
2626
Run Keyword And Expect Error Element 'hidden' was not visible in 100 milliseconds Wait Until Element Is Visible hidden 0.1

0 commit comments

Comments
 (0)