mirror of
https://github.com/Mueller-Patrick/Betterzon.git
synced 2026-04-27 07:40:10 +00:00
BETTERZON-21: Adding cucumber tests for Price Alarms
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
Feature: Price Alarms
|
||||
|
||||
Scenario: Show a list of price alarms
|
||||
Given the user is on the landing page
|
||||
And the user is logged in
|
||||
And the user has at least 1 price alarm set
|
||||
When the user clicks on the profile icon
|
||||
Then the profile details popup should open
|
||||
When the user clicks on price alarms
|
||||
Then the price alarm list should open
|
||||
And the price alarm list should contain at least 1 entry
|
||||
And the price alarm list should contain a maximum of 20 entries per page
|
||||
|
||||
Scenario: Remove a price alarm
|
||||
Given the user is on the price alarm list page
|
||||
And the user is logged in
|
||||
When the user clicks on the "remove" button next to a price alarm
|
||||
Then a popup should open asking the user to confirm the removal
|
||||
When the user confirms the removal of the price alarm
|
||||
Then the price alarm should be removed from the database
|
||||
Reference in New Issue
Block a user