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

need WebPage method to validate all page controls are in place (visible, clickable) #10

Open
heilgeirr opened this issue Jul 27, 2018 · 0 comments

Comments

@heilgeirr
Copy link
Collaborator

heilgeirr commented Jul 27, 2018

i.e. Test.jdi_uitests_webtests.main.page_objects.pages.login.Login

class Login(Form):

login = TextField(By.id("Login"))

password = TextField(By.id("Password"))

button = Button(By.css(".btn-login"))

profile = Clickable(By.css(".profile-photo"))

in tests, precondition could be login_form.is_ready() # all elements visible, enabled and clickable

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

No branches or pull requests

1 participant