Description: Toolbar height can be adjusted by dragging.
Given I am on a map page
When I drag the horizontal handle of the toolbar
Then I see that the height of the toolbar has changed
Actual Result:
Test Result:
Notes: Also test using a touchscreen device
Description: Toolbar width can be adjusted by dragging.
Given I am on a map page
When I drag the vertical handle of the toolbar
Then I see that the width of the toolbar has changed
Actual Result:
Test Result:
Notes: Also test using a touchscreen device
Description: Toolbar can be hidden through a toggle.
Given I am on a map page
When I click on the toolbar toggle
Then I see that toolbar is not visible anymore
Actual Result:
Test Result:
Notes:
Description: Last settings of a map toolbar (height, width, visibility) get persisted between page visits.
Given I am on a map page
When I select specific height, width, visibility for a map toolbar
When I refresh the page
Then I see the same toolbar settings I previously set
Actual Result:
Test Result:
Notes:
Description: After writing something in Notes and then waiting for the autosave to finish, the cursor is still in the Notes menu without any additional clicking.
Given I am on a map page
When I select an element (e.g. planting, drawing, etc.)
And I write something in the Notes menu in the Toolbar
And I wait for the autosave to finish
Then I can continue typing without having to click on the Notes menu again
Actual Result:
Test Result:
Notes:
Description: Markdown editor does not automatically continue lists in the Notes menu
Given I am on a map page
When I select an element (e.g. planting, drawing, etc.)
And I write 1. in the Notes menu in the Toolbar
And I press Enter
And I write 1x in the Notes menu in the Toolbar
And I press Enter
And I write 1. in the Notes menu in the Toolbar
And I press Enter
And I write 1x in the Notes menu in the Toolbar
And I press Enter
Then each time I am on the new line without any automatic list continuation at the start
Actual Result:
Test Result:
Notes:
Description: Links get highlighted in the preview section of the Markdown editor in the Notes menu, and are clickable and open in new tab
Given I am on a map page
When I select an element (e.g. planting, drawing, etc.)
And I write https://cloud.perma.health in the Notes menu in the Toolbar
And I go to new line
And I write [test](https://cloud.perma.health) on the next line
And I go into preview mode
Then I see that both links show up as clickable (first one is just the URL; second says 'test') that both open our Nextcloud in a new tab when clicked
Actual Result:
Test Result:
Notes:
Description: Mixed values tooltip shown on selection of plantings with different values
Given I am on the map page with the plant layer active
When I select at least two plantings with differing attributes. Example of two plants - Acacia aneura and Apocynaceae.
Then I see an alert tooltip indicating that the values differ
Actual result:
Test result:
Notes: The same should apply for drawings, hydrologies, shadings and soil textures
Description: No mixed values tooltip shown on selection of plantings with equal values
Given I am on the map page with the plant layer active
When I select at least two plantings with equal attributes. Example - two plantings of the same plant, Capsicum annuum.
Then I do NOT see any alert tooltip indicating that the values differ
Actual result:
Test result:
Notes: The same should apply for drawings, hydrologies, shadings and soil textures
Description: After selecting a different planting, the Toolbar should update to display the attributes (plant attributes, width, length, height, add date, remove date, notes, plant name) of the newly selected planting
Given I am on a map page
When I select a planting
And I select another planting afterwards
Then I see the latter planting's attributes
Actual Result:
Test Result:
Notes: The same should apply for drawings, hydrologies, shadings and soil textures