Do not output invalid links for deleted names on Special:Contributions
[lhc/web/wiklou.git] / tests / browser / features / step_definitions / preferences_appearance_steps.rb
index 133eec3..8ffdaf1 100644 (file)
@@ -1,14 +1,3 @@
-#
-# 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
@@ -54,11 +43,8 @@ Then(/^I can select my time zone$/) do
   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