-#
-# This file is subject to the license terms in the LICENSE file found in the
-# qa-browsertests top-level directory and at
-# https://git.wikimedia.org/blob/qa%2Fbrowsertests/HEAD/LICENSE. No part of
-# qa-browsertests, including this file, may be copied, modified, propagated, or
-# distributed except according to the terms contained in the LICENSE file.
-#
-# Copyright 2012-2014 by the Mediawiki developers. See the CREDITS file in the
-# qa-browsertests top-level directory and at
-# https://git.wikimedia.org/blob/qa%2Fbrowsertests/HEAD/CREDITS
-#
When(/^I click Appearance$/) do
visit(PreferencesPage).appearance_link_element.when_present.click
end
end
end
-Then(/^I can select skins$/) do
+Then(/^I can select skin Vector$/) do
on(PreferencesAppearancePage) do |page|
- expect(page.cologne_blue_element).to exist
- expect(page.modern_element).to exist
- expect(page.monobook_element).to exist
expect(page.vector_element).to exist
end
end