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

emails.feature « profile « features - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 19ed949f6ae5d84a841d3614a890945e983e02b0 (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
@profile
Feature: Profile Emails
  Background:
    Given I sign in as a user
    And I visit profile emails page

  Scenario: I should see emails
    Then I should see my emails

  Scenario: Add new email
    Given I submit new email "my@email.com"
    Then I should see new email "my@email.com"
    And I should see my emails

  Scenario: Add duplicate email
    Given I submit duplicate email @user.email
    Then I should not have @user.email added
    And I should see my emails

  Scenario: Remove email
    Given I submit new email "my@email.com"
    Then I should see new email "my@email.com"
    And I should see my emails
    Then I click link "Remove" for "my@email.com"
    Then I should not see email "my@email.com"
    And I should see my emails