mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-12-12 15:35:11 +00:00
d7caa6c1f3
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
14 lines
288 B
Ruby
14 lines
288 B
Ruby
class DiffPage
|
|
include PageObject
|
|
|
|
p(:revisionslider_placeholder, id: 'mw-revision-slider-placeholder')
|
|
div(:revisionslider_container, id: 'mw-revision-slider-container')
|
|
|
|
def wait_for_slider_to_load
|
|
wait_until do
|
|
revisionslider_placeholder? == false
|
|
end
|
|
end
|
|
|
|
end
|