79507ca33c92fb3a907bc41d00ae7c67eb6af45f
2 # This file is subject to the license terms in the LICENSE file found in the
3 # qa-browsertests top-level directory and at
4 # https://git.wikimedia.org/blob/qa%2Fbrowsertests/HEAD/LICENSE. No part of
5 # qa-browsertests, including this file, may be copied, modified, propagated, or
6 # distributed except according to the terms contained in the LICENSE file.
8 # Copyright 2012-2014 by the Mediawiki developers. See the CREDITS file in the
9 # qa-browsertests top-level directory and at
10 # https://git.wikimedia.org/blob/qa%2Fbrowsertests/HEAD/CREDITS
12 Given(/^I go to Create account page at (.+)$/) do |path
|
13 visit(CreateAccountPage
, :using_params => { :page_title => path
})
16 Then(/^form has Create account button$/) do
17 on(CreateAccountPage
).create_account_element
.should exist