Special case opus mime detction
[mediawiki.git] / tests / browser / features / step_definitions / preferences_editing_steps.rb
blobf691ffdc8db80fc88010824a42a61e3c79662623
1 When(/^I click Editing$/) do
2   visit(PreferencesPage).editing_link_element.when_present.click
3 end
5 Then(/^I can select edit area font style$/) do
6   expect(on(PreferencesEditingPage).edit_area_font_style_select_element.when_present).to exist
7 end
9 Then(/^I can select live preview$/) do
10   expect(on(PreferencesEditingPage).live_preview_check_element.when_present).to exist
11 end
13 Then(/^I can select section editing by double clicking$/) do
14   expect(on(PreferencesEditingPage).edit_section_double_click_check_element.when_present).to exist
15 end
17 Then(/^I can select section editing by right clicking$/) do
18   expect(on(PreferencesEditingPage).edit_section_right_click_check_element.when_present).to exist
19 end
21 Then(/^I can select section editing via edit links$/) do
22   expect(on(PreferencesEditingPage).edit_section_edit_link_element.when_present).to exist
23 end
25 Then(/^I can select show edit toolbar$/) do
26   expect(on(PreferencesEditingPage).show_edit_toolbar_check_element.when_present).to exist
27 end
29 Then(/^I can select show preview before edit box$/) do
30   expect(on(PreferencesEditingPage).preview_on_top_check_element.when_present).to exist
31 end
33 Then(/^I can select show preview on first edit$/) do
34   expect(on(PreferencesEditingPage).preview_on_first_check_element.when_present).to exist
35 end
37 Then(/^I can select to prompt me when entering a blank edit summary$/) do
38   expect(on(PreferencesEditingPage).forced_edit_summary_check_element.when_present).to exist
39 end
41 Then(/^I can select to warn me when I leave an edit page with unsaved changes$/) do
42   expect(on(PreferencesEditingPage).unsaved_changes_check_element.when_present).to exist
43 end