Skip to content
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

Tests for element() #12

Closed
vefimofff opened this issue Jul 14, 2017 · 3 comments
Closed

Tests for element() #12

vefimofff opened this issue Jul 14, 2017 · 3 comments

Comments

@vefimofff
Copy link
Contributor

vefimofff commented Jul 14, 2017

Develop tests for method element(final By locator) from OurElementProvider.

Create .html file and tests running on this file to check that element() method works as expected.

  1. element returns first visible element using given locator
  2. element waits for element to become visible (e.g. simulate situation when there is no element, then after 3 seconds it appears)
  3. element fails if nothing is found. (exception is thrown)
  4. there are 3 iframes and visible element is present in the second one.

Please feel free to add more tests on your taste.

@EreOo
Copy link
Contributor

EreOo commented Jul 19, 2017

Hi, @vefimofff !
I want try do this isuue.

@vefimofff
Copy link
Contributor Author

@EreOo cool, join our gitter chat https://gitter.im/teasy-test-framework/Lobby and lets discuss there.

@vefimofff
Copy link
Contributor Author

Closing this as for the start point we have more that enough tests. The new tests to be added when we consider them necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants