debian-mirror-gitlab/features/profile/ssh_keys.feature

21 lines
533 B
Gherkin
Raw Normal View History

2014-09-02 18:07:02 +05:30
@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
2016-06-02 11:05:42 +05:30
Given I should see new ssh key form
2014-09-02 18:07:02 +05:30
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