Remove vague GPL headers from browser tests with dead links
[lhc/web/wiklou.git] / tests / browser / features / step_definitions / create_account_steps.rb
1 Given(/^I go to Create account page at (.+)$/) do |path|
2 visit(CreateAccountPage, using_params: { page_title: path })
3 end
4
5 Then(/^form has Create account button$/) do
6 expect(on(CreateAccountPage).create_account_element).to exist
7 end
8
9 When(/^I submit the form$/) do
10 on(CreateAccountPage).create_account
11 end
12
13 Then(/^an error message is displayed$/) do
14 expect(on(CreateAccountPage).error_message_element.class_name).to eq 'errorbox'
15 end