|Marija Novak | marija@myorg.com | mypassword5555 | BioSistemika Process | Normal user |
Scenario: Successful create new project
Given home page of BioSistemika Process team of a Karli Novak user
And I click to "New project" button
Then I fill in "Mangart" to Project name field of "Create new project" modal window
And I click to "Public" button
And I click on "Create project" button
Then I should see "Project Mangart successfully created." flash message
Then I should see "Golica" public project card in "BioSistemika Process" team page
Scenario: Unsuccessful create new project
Given home page of BioSistemika Process team of a Karli Novak user
And I click to "New project" button
And I click on "Create project" button
Then I should see "is too short (minimum is 2 charaacters)" red Project name error message of "Create new project" modal window
Then I fill in "Golica" to Project name field of "Create new project" modal window
And I click on "Create project" button
Then I should see "This project name has to be unique inside a team (this includes the archive)" red Project name error message of "Create new project" modal window
And I click on "Cancel" button
Scenario: Successful edit project
Given home page of BioSistemika Process team of a Karli Novak user
And I click to down arrow of a "Mangart" project card
And I click to "Edit" of a Options modal window
Then I change "Mangart" Project name with "Golica" Project name of "Edit project Mangart" modal window
And I click to "Privat" button
And I click on "Update project" button
Then I should see "Golica" privat project card in "BioSistemika Process" team page
Scenario: Successful add user to a project
Given home page of BioSistemika Process team of a Karli Novak user
And I click to avatar of a "Golica" project card
Then I click to "Manage users" on "Golica" project card
And I click to "Marija Novak" in users dropdown menu of a "Manage users for Golica" modal window
And I click to "User" in Select Role dropdown menu of a "Manage users for Golica" modal window
And I click to "Add" button of a "Manage users for Golica" modal window
And I click to "Close" button
Then I should see "Marija Novak" in Users list of "Golica" project card
Scenario: Successful change user role to a project
Given home page of BioSistemika Process team of a Karli Novak user
And I click to avatar of a "Golica" project card
Then I click to "Manage users" on "Golica" project card
And I click to "Owner" in Change Role dropdown menu of a "Manage users for Golica" modal window
And I click to "Close" button
Then I should see "Owner" under Marija Novak in Users list of "Golica" project card