mediawiki-extensions-Relate.../tests/browser/features/support/pages/article_page.rb
Baha 9932fee563 Add browser tests for ReadMore
Change-Id: Ia1f628b4f2e1af7d33dc6779a139c2800be82964
2015-12-04 15:43:45 +05:00

12 lines
327 B
Ruby

# Standard article page
class ArticlePage
include PageObject
page_url '<%= URI.encode(params[:article_name]) %>'\
'<%= URI.encode(params[:query_string]) if params[:query_string] %>'\
'<%= params[:hash] %>'
aside(:read_more, css: '.ra-read-more')
li(:read_more_cards, css: '.ext-cards-card')
end