21 Page Objects part 1 - WebdriverIO

Опубликовано: 10 Октябрь 2018
на канале: Will Brock
2,928
31

The Page Object pattern allows you to abstract parts of your page out of your end to end tests and into a Javascript class. This makes your code much more reusable throughout all tests.

In part one we go over converting our existing tests into the page object pattern by creating a Page base class and Login page with an open method and transferring our selectors into getters in our Login page class.

Examples used in the video:
https://github.com/WillBrock/webdrive...


Смотрите видео 21 Page Objects part 1 - WebdriverIO онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Will Brock 10 Октябрь 2018, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,928 раз и оно понравилось 31 людям.