|
1 | 1 | Feature: SendingMultipleNoticesOfNonCompliance
|
2 | 2 |
|
3 |
| -Link to a feature: https://hous-hpb.atlassian.net/browse/DSS-57 |
4 |
| -#, https://hous-hpb.atlassian.net/browse/DSS-104 |
| 3 | +Link to a feature: https://hous-hpb.atlassian.net/browse/DSS-678 |
5 | 4 |
|
6 | 5 | @Scenario
|
7 |
| -@TermsAndConditions |
| 6 | +@SendingMultipleNoticesOfNonCompliance |
8 | 7 | Scenario: SendingMultipleNoticesOfNonCompliance
|
9 | 8 |
|
10 | 9 | #Preconditions:
|
11 | 10 | #• LG user has valid login credentials.
|
12 | 11 | #• Listings are available for selection.
|
13 | 12 |
|
14 |
| - When a LG User Navigate to Login Page |
15 |
| -# LG user navigates to login page. |
| 13 | +# When a LG User Navigate to Login Page. |
16 | 14 | # Login:
|
17 |
| - And user enters valid login credentials and clicks “Login" button |
| 15 | + |
| 16 | + Given that I am an authenticated User "<UserName>" and the expected result is "<ExpectedResult>" and I am a "<UserType>" user |
| 17 | + |
18 | 18 | # System verifies credentials and logs user in.
|
19 | 19 | Then LG user is redirected to dashboard-> Hompage
|
| 20 | + |
20 | 21 | # Navigate to Listings:
|
21 |
| - When LG user selects "View Listings" from menu to load listings data page. Or User navigates to view listing data on homepage Screen |
| 22 | + When LG user selects 'View Listings' from menu to load listings data page. Or User navigates to view listing data on homepage Screen |
| 23 | + |
22 | 24 | # Initial State:
|
23 |
| - Then the Send Notices of Non-Compliance button is disabled at this stage |
24 |
| - When LG USer Select Multiple Listings: |
25 |
| - Then the “Send Notices of Non-Compliance" button is enabled |
26 |
| -# Click Send Notices of Non-Compliance: |
27 |
| - When LG user clicks “Send Notices of Non-Compliance" button |
28 |
| - Then system opens details to complete fields for sending notices |
| 25 | + Then the Send Notices of Non-Compliance button is disabled |
| 26 | +# |
| 27 | + When LG User Select Multiple Listings |
| 28 | + Then the Send Notices of Non-Compliance button is enabled |
| 29 | + |
| 30 | +# Click Send Notices of Non-Compliance |
| 31 | + Then LG user clicks Non-Compliance button |
| 32 | + Then system opens details to complete fields for sending notices |
| 33 | + |
29 | 34 | # Mandatory Fields Check:
|
30 | 35 | Then the “Review" button is disabled if any mandatory field is not completed
|
31 |
| - Then If LG user clicks "Cancel", system prompts with a re-confirmation message |
| 36 | + Then If LG user clicks Cancel, system prompts with a re-confirmation message |
32 | 37 | Then If user confirms cancellation, user is redirected back to listings data page
|
33 | 38 | And the action history is not updated when the user cancels the action
|
34 | 39 | When user does not confirm, user remains on current page.
|
35 |
| - And Action History Not Updated |
| 40 | + And Action History Not Updated |
| 41 | +
|
36 | 42 | # Verify that the action history is not updated when the user cancels the action.
|
37 | 43 | # Complete Mandatory Fields:
|
38 | 44 | When LG user completes mandatory fields. ( Provide a LG email address to receive a copy of the Notice)
|
| 45 | +
|
39 | 46 | # Complete Optional Fields:
|
40 | 47 | Then that LG user can add BCCs
|
| 48 | +
|
41 | 49 | # Check State of "Review" Button
|
42 | 50 | # LG user also verify the "Review" button is disabled if user inputs an email that is not in the correct format, with a note (ensure the email format you have entered is correct) to prompt user
|
43 | 51 | When the LG User enters an Email Address
|
44 | 52 | Then if user inputs an email that is not in the correct format the user is prompted to enter an email address in the correct format
|
| 53 | +
|
45 | 54 | # Then (ensure the email format you have entered is correct) to prompt user
|
46 |
| - And the user can add multiple email addresses |
47 |
| - And Verify that if remove the listing checkbox is unchecked, review is also disabled |
| 55 | + And the user can add multiple email addresses |
| 56 | + And Verify that if remove the listing checkbox is unchecked, review is also disabled |
| 57 | +
|
48 | 58 | # Review and Submit Notices:
|
49 | 59 | When the LG user clicks “Review" button to confirm details to be sent
|
50 |
| - And the LG user selects "Submit" |
51 |
| - Then Successful confirmation is displayed for user on top Right of the page |
52 |
| - Then System immediately sends notices to platform/host for selected listings |
53 |
| - And A copy email is also sent to LG email address added to receive a copy of the notice same, a copy of email to bcc |
| 60 | + And the LG user selects the Submit button |
| 61 | + Then Successful confirmation is displayed for user on top Right of the page |
| 62 | + Then System immediately sends notices to platform/host for selected listings |
| 63 | + And A copy email is also sent to LG email address added to receive a copy of the notice same, a copy of email to bcc |
54 | 64 | And Action history is updated immediately with action taken
|
55 | 65 | And On the listings page, last action and last action date should be updated
|
56 | 66 |
|
57 | 67 | # Scenarios 1:LG user selects multiple listings from available listing data .
|
58 | 68 | # Scenario 2: LG user selects listings from different platforms
|
59 | 69 | Examples:
|
60 |
| - | UserName | RoleName | Email | Environment | ExpectedResult | |
61 |
| - | CEUATST | ceu_admin | ceuatst@gov.bc.ca | all | pass | |
62 |
| - #| STRDSSLg1Dev | lg_staff | ceuatst@gov.bc.ca | all | pass | |
| 70 | + | UserName | TypeOfNotice | UserType | Email | BCC | Environment | ExpectedResult | |
| 71 | + | STRDSSLg1Dev | Non-Compliance | lg_staff | richard.anderson@gov.bc.ca | | dev | pass | |
| 72 | + |
63 | 73 |
|
64 | 74 |
|
65 | 75 |
|
|
0 commit comments