"Greenspace" Integration - "NX View Definition"
Note - These testing guidelines assume the user is skilled in the use of, at a minimum, the following:
- NX View Definition
- Greenspace | Log out
- View Definition
Scenario 1: Greenspace (Third Party Application) Integration - 'NX View Definition' setup and validations
Specific Setup:
- Have an active user [UserA], that is not assigned to a user role
- Have an active user [UserB], that is assigned to any user role [TestRole]
Steps
- Open form "NX View Definition"
- Validate field "Third Party Application" is present on the form
- Select "User" in the "User or Role" field
- Select [UserA] in the "Select User" field
- In the "Third Party Application" field select "Greenspace" option
- Click [File]
- Re-select [UserA] in the "Select User" field
- Validate all fields are populated as expected
- Close the form
- Re-open form "NX View Definition"
- Select "Role" in the "User or Role"
- From the "Select User Role" field, select [TestRole]
- In the "Third Party Application" field select the "Greenspace" option
- Click [File]
- Re-select [TestRole] in the "Select User Role" field
- Validate all fields are populated as expected
- Close the form
- Return to the "NX View Definition"
- Navigate to the "Third Party Integrations" section.
- In the "Configuration to Edit", select the current testing server
- In the "Third-Party Application" field, select "Greenspace"
- Validate the "Active" field has defaulted to "No"
- Select "Yes" in the field
- In the "Application URL" field, enter the following URL to connect to the "Greenspace" login page: "https://app.staging.grnspace.ca/acco...results/search"
- Click [File]
- Close the form
- Return "NX View Definition"
- Navigate to the elect the "Third Party Integrations "section.
- In the "Configuration to Edit", select the current testing server
- Validate "Greenspace" is selected in the "Third-Party Application" field
- Validate "Yes" is selected in the "Active" field
- Validate "https://app.staging.grnspace.ca/acco...results/search" is selected in the "Application URL" field
- Close the form
- Close the form
Scenario 2: Greenspace (Third Party Application) URL Launch/Login - "Widget" and "Control Panel" setup and validations
Specific Setup:
- In form "NX View Definition":
- [UserA] (Not assigned to a user role) has been configured with "Greenspace" selected in field "Third Party Application" and the "Third Party Integrations" section" configured and set to "Active"
- [UserB] is assigned to a role [TestRole]
- [TestRole] has been configured with "Greenspace" selected in field "Third Party Application" and the "Third Party Integrations" section" configured and set to "Active"
- Both users have credentials to login into the "Greenspace" website when the URL is launched
- Have access to forms "View Definition" and "NX View Definition"
Steps
- Open form "View Definition"
- Click "Select View"
- Select "Add New" and click [OK] to create a new view
- Populate the "View ID" and "View Description" with the desired values to indicate that this will be a view that will contain the "Greeenspace" widget. For example "Greenspace_Widget_View"
- Populate the other required fields
- Click [Launch View Designer]
- From the " Available Widgets" list, select the "Third Party Integrations - Greenspace" widget
- Drag the widget to the view layout section
- Click [Submit]
- Click [Submit] to file the new view
- Validate submission is successful
- Open form "NX View Definition"
- Select user [UserA] for edit
- Validate "Greenspace" is selected in the "Third-Party Application" field
- Click [Associated myDay Views]
- From the "Select Additional Views" list, select new view "Greenspace" view
- Click [OK]
- Click [File]
- Validate the form submits successfully
- Close the form
- Re-open form "NX View Definition"
- Select "Role" in the "User or Role"
- From the "Select User Role" field, select [TestRole]
- From the "Select Additional Views" list, select new view "Greenspace" view
- Click [OK]
- Click [File]
- Validate the form submits successfully
- Log in as the [UserA]
- From the "Console Views" menu bar, select new "Greenspace" view
- Validate the "Greenspace" widget is displayed
- Validate a message is displayed in the widget "Resource cannot be viewed in the widget, click here to open in New tab"
- Search for or select any client [TestClient] in the search field on the left side panel
- Click on the "Resource cannot be viewed in the widget, click here to open in New tab" message
- Validate a new tab is opened, navigating the user to the "Greenspace" login page, as expected
- Enter the proper username and password credentials assigned to [UserA], in the "Email Address" and "Password" fields.
- Click [Sign In]
- Validate the user is logged in successfully and the "Assessment Results" page is displayed
- Validate the page indicates [TestClient] has been selected
- At the top right of the page, click to log out
- Now close the tab
- Navigate back to the home view
- In the "Control Panel" section
- Validate a "Greenspace" green square icon with the letter "G" is present for selection
- Search for or select any client [TestClient] in the search field on the left side panel
- Now click the "Greenspace" icon in the "Control Panel"
- Validate a new window is opened, navigating the user to the "Greenspace" login page, as expected
- Enter the proper username and password credentials assigned to [UserA], in the "Email Address" and "Password" fields.
- Click [Sign In]
- Validate the user is logged in successfully and the "Assessment Results" page is displayed for [UserA]
- Validate the page indicates [TestClient] has been selected
- At the top right of the page, click to log out
- Now close the tab
- Repeat steps 4 and 5, logging in as [UserB] who is assigned to [TestRole]
- Validate all results are successful, as expected
- Return "NX View Definition"
- Navigate to the "Third Party Integrations" section.
- In the "Configuration to Edit", select the current testing server
- Set the value in the "Active" field to "No"
- Click [File] to submit the changes
- Close the form
- As [UserA], navigate back to the home view
- In the "Control Panel" section
- Validate a "Greenspace" green square icon is no longer present, as expected
- From the "Console Views" menu bar, select new "Greenspace" view
- Validate the "Greenspace" widget is displayed
- Validate a message is displayed in the widget "Resource cannot be viewed in the widget, click here to open in New tab"
- Click on the message
- Validate a new tab is opened but a page is displayed with the message "Page not found", as expected.
- Repeat step 8, logged in as [UserB]
- Validate all results are as expected
|
Topics
• NX View Definition
• User Definition
|