Added release notes for 'ContentHandler::runLegacyHooks' removal
[mediawiki.git] / tests / browser / features / step_definitions / preferences_user_profile_steps.rb
blob5660d4913871a8c7b451526233905d465f6dfc56
1 When(/^I click User profile$/) do
2   visit(PreferencesPage).user_profile_link_element.when_present.click
3 end
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
13 Then(/^I can change my language$/) do
14   expect(on(PreferencesUserProfilePage).lang_select_element).to exist
15 end
17 Then(/^I can change my signature$/) do
18   expect(on(PreferencesUserProfilePage).signature_field_element).to exist
19 end
21 Then(/^I can see my Basic informations$/) do
22   expect(on(PreferencesUserProfilePage).basic_info_table_element).to exist
23 end
25 Then(/^I can see my email$/) do
26   expect(on(PreferencesUserProfilePage).email_table_element).to exist
27 end
29 Then(/^I can see my signature$/) do
30   expect(on(PreferencesUserProfilePage).signature_table_element).to exist
31 end