Add new scenarios for font changes
There is currently some duplication between the various page objects and other code. Those should be cleaned up incrementally. Change-Id: I592829a00ca65bbecd5399b773c885c764c1cc06
This commit is contained in:
committed by
Amir E. Aharoni
parent
8aa7b46191
commit
d695b21381
14
tests/browser/features/support/pages/panel_page.rb
Normal file
14
tests/browser/features/support/pages/panel_page.rb
Normal file
@@ -0,0 +1,14 @@
|
||||
class ULSPage
|
||||
include PageObject
|
||||
|
||||
include URL
|
||||
page_url URL.url('?setlang=<%=params[:setlang]%>')
|
||||
|
||||
div(:panel_display, id: 'display-settings-block')
|
||||
div(:panel_input, id: 'display-settings-block')
|
||||
button(:panel_fonts, id: 'uls-display-settings-fonts-tab')
|
||||
button(:panel_language, id: 'uls-display-settings-language-tab')
|
||||
|
||||
span(:panel_button_close, id: 'languagesettings-close')
|
||||
button(:panel_button_display_apply, id: 'uls-displaysettings-apply')
|
||||
end
|
||||
@@ -0,0 +1,7 @@
|
||||
class ResetPreferencesPage
|
||||
include PageObject
|
||||
include URL
|
||||
page_url URL.url('Special:Preferences/reset')
|
||||
|
||||
button(:submit, class: 'mw-htmlform-submit')
|
||||
end
|
||||
Reference in New Issue
Block a user