Skip to content

Instantly share code, notes, and snippets.

View Juraci's full-sized avatar
🏠
Working from home

Juraci de Lima Vieira Neto Juraci

🏠
Working from home
  • Porto Alegre/RS - Brazil
View GitHub Profile
@Juraci
Juraci / gist:8849035
Last active August 29, 2015 13:56
Page Object Standards 1# - Avoid long procedures inside the page objects
# Here is an example of procedures that should be avoided inside the page objects
it "can create the server" do
server = DataSetup::Servers::Server.new(server_name)
server_details_view = server_list_view.create_server(server)
# ^ this create_server method above is hiding the flow of the test inside the page object
server_details_view.info_section.wait_to_load