Cucumber features: Team, SSH keys

This commit is contained in:
randx 2012-06-18 19:34:09 +03:00
parent eb00cb69dd
commit 22d6dc2b3b
9 changed files with 162 additions and 8 deletions

View file

@ -0,0 +1,22 @@
Feature: SSH Keys
Background:
Given I signin as a user
And I have ssh keys:
| title |
| Work |
| Home |
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 click link "Add new"
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