*** Settings ***
Library                                             SeleniumLibrary

*** Variables ***
${CUSTOMERS_HEADER_LABEL}=                          Our Happy Customers
${CUSTOMERS_ADD_CUSTOMER_LINK}=                     id=new-customer
${CUSTOMERS_CUSTOMER_SUCCESS_LABEL}=                Success! New customer added

*** Keywords ***
Verify Page Loaded
    Wait Until Page Contains                        ${CUSTOMERS_HEADER_LABEL}

Click Add Customer Link
    click link                                      ${CUSTOMERS_ADD_CUSTOMER_LINK}

Verify Customer Added Successfully
    Wait Until Page Contains                        ${CUSTOMERS_CUSTOMER_SUCCESS_LABEL}

Verifiy Not Be Loaded
    Page Should Not Contain                         ${CUSTOMERS_HEADER_LABEL}