Logo: Relish

  1. Sign in

Project: Console

Alerts Preferences

  • @dxpcloud
  • @paas
  • @teardown_projects
  • @teardown_alerts
Background
Given
I sign in to WeDeploy as a test user
Scenarios
When
I select "Alerts Preferences" from the topbar "account" menu
Then
I should be at url ending with "/account/alerts-preferences"
And
all "Console" checkboxes should be checked
And
all "Email" checkboxes should be unchecked
Save alerts preferences
Given
I select "Alerts Preferences" from the topbar "account" menu
And
all alerts preferences checkboxes are unchecked
When
I check the "Console" checkbox for "CPU"
And
I check the "Email" checkbox for "Instances"
And
I click the "Save Alerts Preferences" button
Then
I should see the notification
Alerts Preferences saved
And
I sign out and sign in as test user
And
I go to the alerts preferences page
And
only the following checkboxes should be checked
Alert Type
Instances Email
CPU Console
User opts out of console alert for Transfer
Given
I go to the alerts preferences page
And
I uncheck the "Console" checkbox for "Transfer"
And
I click the "Save Alerts Preferences" button
When
I create a project with ID "tau16"
And
I create the following alert using api:
projectId type
_GLOBAL_ USER_QUOTA_TRANSFER_ALL
And
I go to the alerts page
And
I should not see the "My Plan" card
  • @teardown_tester
User opts out of email alert for CPU
Given
I go to the alerts preferences page
And
I uncheck the "Email" checkbox for "CPU"
And
I click the "Save Alerts Preferences" button
When
I deploy services to project "tau16" from this repo:
https://github.com/wedeploy-qa/alerts-tests/tree/service-metric-cpu
And
I go to the alerts page
Then
I should see the following alert in "tau16" card
The dockerstress service exceeded 20% of its allocated CPU
But
I should not get an email with subject
service exceeded 20% of its allocated CPU

Last published 10 months ago by Christie Yoo.