From ad96e08e68988a616c7c2af4e38b9850636b06b4 Mon Sep 17 00:00:00 2001 From: mahula Date: Mon, 7 Apr 2025 12:07:11 +0200 Subject: [PATCH] cypress: deactivate settings notification test --- .../User.SettingNotifications.feature.broken | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 cypress/e2e/User.SettingNotifications.feature.broken diff --git a/cypress/e2e/User.SettingNotifications.feature.broken b/cypress/e2e/User.SettingNotifications.feature.broken new file mode 100644 index 000000000..7e4301b81 --- /dev/null +++ b/cypress/e2e/User.SettingNotifications.feature.broken @@ -0,0 +1,20 @@ +Feature: User sets donations info settings + As a user + I want to change my notifications settings + In order to manage the notifications + + Background: + Given the following "users" are in the database: + | email | password | id | name | slug | termsAndConditionsAgreedVersion | + | peterpan@example.org | 123 | id-of-peter-pan | Peter Pan | peter-pan | 0.0.4 | + | user@example.org | 123 | user | User | user | 0.0.4 | + And I am logged in as "peter-pan" + + Scenario: The notifications setting "Send e-mail notifications" is set to true by default and can be set to false + # When I navigate to my "Notifications" settings page + When I navigate to page "/settings/notifications" + Then the checkbox with ID "send-email" should "be.checked" + And I click on element with ID "send-email" + And the checkbox with ID "send-email" should "not.be.checked" + Then I click save + And I see a toaster with "Notifications settings saved!"