mediawiki-extensions-Echo/tests/browser/features/support/pages/article_page.rb
Cmcmahon bf9773e6ed QA update for single quote preference
Change-Id: I35d22c47abd78a588f622b9b7cd07444c345db5a
2014-11-10 14:21:28 -07:00

16 lines
537 B
Ruby

class ArticlePage
include PageObject
include URL
page_url URL.url('<%=params[:article_name]%><%=params[:hash]%>')
span(:first_heading_span, css: '#firstHeading > span:nth-child(1)')
li(:flyout_link_container, css: '#pt-notifications')
a(:flyout_link, css: '#pt-notifications a')
div(:flyout, css: '.mw-echo-overlay')
# Overlay header
a(:alert_tab_link, css: '.mw-echo-overlay-title ul li a', index: 1)
button(:mark_as_read, css: '.mw-echo-notifications > button')
a(:messages_view_link, css: '.mw-ui-active')
end