acceptance/ui/features/api/ui.rb
# Ensures that we've logged in.  Subsequent calls
# will use the same page and not login again.
Ensures that we've logged in.  Subsequent calls
will use the same page and not login again.
Ensures that we ' ve logged in . Subsequent calls will use the same page and not login again .
def login()
        if self.LoginPage == nil || !verify_login?()
            puts "  \e[33m** Logging in to the UI **\e[0m"
            login_as(applicationUserID(), applicationPassword())
        end
    end
def login ( ) if self . LoginPage == nil || ! verify_login? ( ) puts "  \e[33m** Logging in to the UI **\e[0m" login_as ( applicationUserID ( ) , applicationPassword ( ) ) end end
Ensures that we've logged in.
Ensures that we ' ve logged in .