Welcome to mirror list, hosted at ThFree Co, Russian Federation.

change_settings.feature « desktop « features - github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4655b2a9da4a58182d10e5ee8abe5f982aac59c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
@javascript
Feature: Change settings

  Background:
    Given I am signed in
    And I have following aspects:
      | Friends    |
      | Family     |
    When I go to the edit user page

  Scenario: Change my email
    When I fill in the following:
      | user_email         | new_email@newplac.es           |
    And I press "Change email"
    Then I should see "Email changed"
    And I follow the "confirm_email" link from the last sent email
    Then I should see "activated"
    And my "email" should be "new_email@newplac.es"

  Scenario: Change my email preferences
    When I uncheck "user_email_preferences_mentioned"
    And I scroll a bit
    And I press "change_email_preferences"
    Then I should see "Email notifications changed"
    And the "user_email_preferences_mentioned" checkbox should not be checked
    When I uncheck "user_email_preferences_mentioned_in_comment"
    And I scroll a bit
    And I press "change_email_preferences"
    Then I should see "Email notifications changed"
    And the "user_email_preferences_mentioned_in_comment" checkbox should not be checked

  Scenario: Change my preferred language
    When I select "polski" from "user_language"
    And I press "Change language"
    Then I should see "Język został zmieniony"
    And "polski" should be selected from "user_language"

  Scenario: Change my post default aspects
    When I go to the stream page
    And I expand the publisher
    Then I should see "All aspects" within ".aspect-dropdown"
    When I go to the edit user page
    And I press the aspect dropdown
    And I toggle the aspect "Family"
    And I press the aspect dropdown
    And I press "Change" within "#post-default-aspects"
    And I go to the stream page
    And I expand the publisher
    Then I should see "Family" within ".aspect-dropdown"

  Scenario: Change my post default to public
    When I press the aspect dropdown
    And I toggle the aspect "Public"
    And I press "Change" within "#post-default-aspects"
    And I go to the stream page
    And I expand the publisher
    Then I should see "Public" within ".aspect-dropdown"

  Scenario: exporting profile data
    When I click on the first selector ".account-data a"
    Then I should see "Download my profile"
    And I should have 1 email delivery