2014-08-04 23:07:37 +00:00
|
|
|
class ArticlePage
|
|
|
|
include PageObject
|
|
|
|
include URL
|
2014-11-10 21:21:10 +00:00
|
|
|
page_url URL.url('<%=params[:article_name]%><%=params[:hash]%>')
|
2014-09-22 22:00:35 +00:00
|
|
|
|
2014-11-10 21:21:10 +00:00
|
|
|
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')
|
2014-08-13 23:11:38 +00:00
|
|
|
|
|
|
|
# Overlay header
|
2014-11-10 21:21:10 +00:00
|
|
|
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')
|
2014-08-04 23:07:37 +00:00
|
|
|
end
|