Given I am logged in
When I navigate to Preferences
And I click Appearance
- Then I can select skins
+ Then I can select skin Vector
And I can select image size
And I can select thumbnail size
And I can select Threshold for stub link
end
end
-Then(/^I can select skins$/) do
+Then(/^I can select skin Vector$/) do
on(PreferencesAppearancePage) do |page|
- expect(page.cologne_blue_element).to exist
- expect(page.modern_element).to exist
- expect(page.monobook_element).to exist
expect(page.vector_element).to exist
end
end
page_url 'Special:Preferences#mw-prefsection-rendering'
checkbox(:auto_number_check, id: 'mw-input-wpnumberheadings')
- radio_button(:cologne_blue, id: 'mw-input-wpskin-cologneblue')
radio_button(:day_mo_year_radio, id: 'mw-input-wpdate-dmy')
checkbox(:dont_show_aft_check, id: 'mw-input-wparticlefeedback-disable')
checkbox(:exclude_from_experiments_check, id: 'mw-input-wpvector-noexperiments')
radio_button(:iso_8601_radio, id: 'mw-input-wpdate-ISO_8601')
span(:local_time_span, id: 'wpLocalTime')
radio_button(:mo_day_year_radio, id: 'mw-input-wpdate-mdy')
- radio_button(:modern, id: 'mw-input-wpskin-modern')
- radio_button(:monobook, id: 'mw-input-wpskin-monobook')
radio_button(:no_preference_radio, id: 'mw-input-wpdate-default')
text_field(:other_offset, id: 'mw-input-wptimecorrection-other')
a(:restore_default_link, id: 'mw-prefs-restoreprefs')