mediawiki-extensions-Revisi.../tests/browser/features/support/pages/article_page.rb
addshore d7caa6c1f3 Start browser tests (Initial test for beta feature switch)
This adds 1 simple browser test to make sure that the placeholder
for the revision slider loads when the beta feature is enabled and
does not load when it is disabled

More tests will follow.

Bug: T133278
Change-Id: I5be9014b6c5ac03128c034fd866141e89fd7a0ed
2016-06-30 14:46:37 +01:00

8 lines
170 B
Ruby

class ArticlePage
include PageObject
url_template = '<%= params[:article_name] %>' \
'<%= "?#{params[:query]}" if params[:query] %>'
page_url url_template
end