mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-04 06:51:48 +01:00
refactor sidebar and finish migration of notes
This commit is contained in:
parent
94b5aa2346
commit
ea1ca130f1
18 changed files with 138 additions and 97 deletions
|
|
@ -63,26 +63,31 @@ Feature: Edit a project
|
|||
When I try to edit the project name of "manage me" to "test"
|
||||
Then I should see "Name already exists"
|
||||
|
||||
@selenium @wip
|
||||
@selenium
|
||||
Scenario: I can go to the note of a project
|
||||
Given I have a project "test" with 2 note
|
||||
Given I have a project "test" with 2 notes
|
||||
When I visit the "test" project
|
||||
Then I should see 2 notes
|
||||
When I click on the first note icon
|
||||
Then I should go to that note page
|
||||
|
||||
@selenium @wip
|
||||
@selenium
|
||||
Scenario: I can add a note to the project
|
||||
Given I have a project "test"
|
||||
Given I have a project called "test"
|
||||
When I visit the "test" project
|
||||
And I add a note "hello I'm testing"
|
||||
Then I should see one note
|
||||
And I add a note "hello I'm testing" to the project
|
||||
Then I should see one note in the project
|
||||
|
||||
@selenium @wip
|
||||
@selenium @focus
|
||||
Scenario: Cancelling adding a note to the project will remove form
|
||||
Given I have a project called "test"
|
||||
When I visit the "test" project
|
||||
And I cancel adding a note to the project
|
||||
Then the form for adding a note should not be visible
|
||||
|
||||
@selenium
|
||||
Scenario: Long notes in a project are shown cut off
|
||||
Given I have a project "test"
|
||||
Given I have a project called "test"
|
||||
When I visit the "test" project
|
||||
And I add a note "test 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234 TOO LONG"
|
||||
And I add a note "test 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234 TOO LONG" to the project
|
||||
Then I should not see "test 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234 TOO LONG"
|
||||
And I should see "test 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234"
|
||||
|
||||
And I should see "test 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234"
|
||||
Loading…
Add table
Add a link
Reference in a new issue