Fork me on GitHub
#architecture
<
2018-03-26
>
mathpunk18:03:38

I'm writing some Webdriver tests using etaoin. This is the first time I've written something where the point of it is the tests (rather than using tests to validate my code). I'm looking for advice or suggestions on how I might structure the project, since usually I just run tests in my IDE

nenadalm18:03:04

I have namespace for each page which contains helpful functions for the page (mostly functions returning selectors). Something like: http://webdriver.io/guide/testrunner/pageobjects.html (except I don't have LoginPage.username.setValue('value'), but setValue(LoginPage.usernameField(), 'value')