2014-06-23 17:27:07 +00:00
|
|
|
class EditPage
|
|
|
|
include PageObject
|
|
|
|
|
2016-02-19 12:32:00 +00:00
|
|
|
page_url 'Special:Random?action=edit'
|
|
|
|
|
2015-09-02 15:21:17 +00:00
|
|
|
text_area(:article_text, id: 'wpTextbox1')
|
|
|
|
button(:preview, id: 'wpPreview')
|
2016-05-16 16:11:59 +00:00
|
|
|
span(:start_editing, text: 'Start editing')
|
2016-04-26 17:07:49 +00:00
|
|
|
|
|
|
|
def math_image_element
|
2016-06-13 14:45:34 +00:00
|
|
|
browser.img(class: 'mwe-math-fallback-image-inline')
|
2016-04-26 17:07:49 +00:00
|
|
|
end
|
2014-06-23 17:27:07 +00:00
|
|
|
end
|