mediawiki-extensions-Math/tests/browser/features/support/pages/edit_page.rb
Željko Filipin a4948c208a Fixed failing Selenium test
When user is logged in, visual editor is the default editor. When user
is not logged in, source editor is the default editor. When the test
does not log in, everything works just fine.

Bug: T126463
Change-Id: I1f15000a275657c0a92172781f57c5d1db537dcc
2016-02-22 09:51:24 +00:00

10 lines
196 B
Ruby

class EditPage
include PageObject
page_url 'Special:Random?action=edit'
text_area(:article_text, id: 'wpTextbox1')
img(:math_image, class: 'tex')
button(:preview, id: 'wpPreview')
end