mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-04 16:28:50 +01:00
Fix up the selenium tests
There was a selenium test that verified that projects could not have commas that was previously missed. Modify that test so that it verifies that the project was created successfully.
This commit is contained in:
parent
55bf457740
commit
f1c40c5594
1 changed files with 4 additions and 2 deletions
|
|
@ -109,7 +109,9 @@ Feature: Manage the list of projects
|
|||
Then the project "very busy" should be above the project "test"
|
||||
|
||||
@selenium
|
||||
Scenario: Cannot add a project with comma in the name
|
||||
Scenario: Can add a project with comma in the name
|
||||
When I go to the projects page
|
||||
And I submit a new project with name "foo,bar"
|
||||
Then I should see "Name cannot contain the comma"
|
||||
Then I should see "foo,bar"
|
||||
And the badge should show 4
|
||||
And the project list badge for "active" projects should show 4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue