Comment 1 for bug 1703751

Revision history for this message
Rebecca Blundell (rjb-dev) wrote :

Actually, we already have some tests to check what options are available - We can combine those with this:
test/behat/features/settings/notification_choices.feature
This systematically tests all options are available for user and admin.
 - Change feature text to accurately describe what the test does.

test/behat/features/settings/notification_setting_order.feature
 - take out all the "I should see" steps as if they aren't on the page, the "should appear" steps won't work anyway.
 - Add the remaining steps as a Scenario called "Check options are in alphabetical order" to notification_choices.feature.
 - Delete notification_setting_order.feature

 - At the end of the main scenario of notification_choices.feature, after the I press "Save" step, add the steps:
And I should see "Preferences saved"
And I should not see "Delete account"
 - Delete the change_account_settings.feature
 - Rename notification_choices.feature as notification_settings.feature