Merge "QA: refactor for consistent Ruby practice"

This commit is contained in:
jenkins-bot 2014-09-18 01:28:50 +00:00 committed by Gerrit Code Review
commit 45f450ac52

View file

@ -2,12 +2,12 @@ class ArticlePage
include PageObject
include URL
page_url URL.url("<%=params[:article_name]%><%=params[:hash]%>")
li("flyout_link_container", css: "#pt-notifications")
a("flyout_link", css: "#pt-notifications a")
div("flyout", css: ".mw-echo-overlay")
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(: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