Skip to content

Update test_elementfinder.py #328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Conversation

lina1
Copy link
Contributor

@lina1 lina1 commented Sep 23, 2014

add test test_find_by_partial_link_text

add test test_find_by_partial_link_text
@HelioGuilherme66
Copy link
Member

Fails at unit tests!

C:\GitHub\robotframework-selenium2library\test>python run_tests.py python firefox
Running unit tests
++.......................E...........................................................................
++======================================================================
ERROR: test_find_by_partial_link_text (locators.test_elementfinder.ElementFinderTests)
++----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\GitHub\robotframework-selenium2library\test\unit\locators\test_elementfinder.py", line 252, in test_find_by_partial_link_
text
result = finder.find(browser, "partial link=my link")
File "C:\GitHub\robotframework-selenium2library\test..\src\Selenium2Library\locators\elementfinder.py", line 28, in find
raise ValueError("Element locator with prefix '" + prefix + "' is not supported")
ValueError: Element locator with prefix 'partial link' is not supported

++----------------------------------------------------------------------
Ran 99 tests in 0.203s

FAILED (errors=1)

1 unit tests failed - not running acceptance tests!

@ombre42
Copy link
Contributor

ombre42 commented Sep 23, 2014

lina1 submitted the code for this test in a different branch than #308 which contains the code this test is for. FYI, lina1, if you commit to the same branch you have a pull request for, it is automatically added to the pull request.
Thank you for submitting this.

@lina1 lina1 closed this Sep 24, 2014
@lina1 lina1 deleted the patch-1 branch September 24, 2014 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants