Add 3D filetype for STL files
[lhc/web/wiklou.git] / tests / browser / features / step_definitions / preferences_user_profile_steps.rb
1 When(/^I click User profile$/) do
2 visit(PreferencesPage).user_profile_link_element.click
3 end
4
5 Then(/^I can change my gender$/) do
6 on(PreferencesUserProfilePage) do |page|
7 expect(page.gender_undefined_radio_element).to exist
8 expect(page.gender_male_radio_element).to exist
9 expect(page.gender_female_radio_element).to exist
10 end
11 end
12
13 Then(/^I can change my language$/) do
14 expect(on(PreferencesUserProfilePage).lang_select_element).to exist
15 end
16
17 Then(/^I can change my signature$/) do
18 expect(on(PreferencesUserProfilePage).signature_field_element).to exist
19 end
20
21 Then(/^I can see my Basic informations$/) do
22 expect(on(PreferencesUserProfilePage).basic_info_table_element).to exist
23 end
24
25 Then(/^I can see my email$/) do
26 expect(on(PreferencesUserProfilePage).email_table_element).to exist
27 end
28
29 Then(/^I can see my signature$/) do
30 expect(on(PreferencesUserProfilePage).signature_table_element).to exist
31 end