Remove @reset-preferences-after hook

Change-Id: I47595f5334fcc7b8fe6d4a7ea69d2b8345f06597
This commit is contained in:
Niklas Laxström
2013-12-02 11:46:35 +02:00
parent f497a5683d
commit 5749d92c4f
6 changed files with 8 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
@commons.wikimedia.beta.wmflabs.org @login @reset-preferences-after
@commons.wikimedia.beta.wmflabs.org @login
Feature: Font selection
In order to have better using experience,
@@ -11,6 +11,7 @@ Feature: Font selection
Background:
Given I am logged in
And I have reset my preferences
And I set "German" as the interface language
And I open ULS
And I open Display panel of language settings

View File

@@ -1,8 +1,9 @@
@login @reset-preferences-after
@login
Feature: Live preview of display language changes
Background:
Given I am logged in
And I have reset my preferences
And I set "English" as the interface language
And I am on a page with interlanguage links

View File

@@ -1,10 +1,11 @@
@commons.wikimedia.beta.wmflabs.org @login @reset-preferences-after
@commons.wikimedia.beta.wmflabs.org @login
Feature: Persistent settings
This assumes wiki content language is English.
Background:
Given I am logged in
And I have reset my preferences
And I set "German" as the interface language
And I open the Universal Language Selector
And I open Display panel of language settings

View File

@@ -63,10 +63,11 @@ Feature: Settings panel
When I open "Language" panel of language settings
Then I see "English (sama kuin sisällön)" as the name of the content language
@login @reset-preferences-after
@login
Scenario: Selecting language via [...] button
Given I am logged in
And I have reset my preferences
When I open "Language" panel of language settings
And I click the button with the ellipsis
And I use the panel to change my interface language to "German"

View File

@@ -2,7 +2,3 @@ Before("@language") do |scenario|
@language = true
@scenario = scenario
end
After("@reset-preferences-after") do |scenario|
visit(ResetPreferencesPage).submit_element.click if @browser.exist?
end

View File

@@ -14,8 +14,3 @@ This file contains the descriptions of the tags we use.
@login
This test logs in. You can filter these tests out if you don't have an
account available.
@reset-preferences-after
This test changes user preferences and resets them at the end. In theory you
could use your normal user account if you skip these tests, but I would not
recommend doing that.