summaryrefslogtreecommitdiff
path: root/features/profile/ssh_keys.feature
blob: b0d5b7489165554d7c8666c2f0e8a29248acbe9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@profile
Feature: Profile SSH Keys
  Background:
    Given I sign in as a user
    And I have ssh key "ssh-rsa Work"
    And I visit profile keys page

  Scenario: I should see ssh keys
    Then I should see my ssh keys

  Scenario: Add new ssh key
    Given I should see new ssh key form
    And I submit new ssh key "Laptop"
    Then I should see new ssh key "Laptop"

  Scenario: Remove ssh key
    Given I click link "Work"
    And I click link "Remove"
    Then I visit profile keys page
    And I should not see "Work" ssh key