Skip to content

Commit

Permalink
Merge pull request #261 from CBIIT/chaudhryma
Browse files Browse the repository at this point in the history
ServiceNOW test upgrade updates for NERD and SEER ODS Data Regression suites
  • Loading branch information
iamdez99 authored Sep 4, 2024
2 parents 874fe2a + c9c0728 commit 09d6fb2
Show file tree
Hide file tree
Showing 77 changed files with 2,020 additions and 1,557 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ src/main/resources/conf/.DS_Store
src/test/resources/.DS_Store
src/main/java/com/drivers/.DS_Store
src/main/java/com/.DS_Store
src/test/java/PlaywrightTests
src/main/resources/.DS_Store
src/test/java/ServiceNow/COVIDDash/Resources/.DS_Store
src/test/java/ServiceNow/PlatformBusinessApps/CCT_CHAT_BOT/Playwright/Steps/Example.java
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
/**
* This class contains cucumber related log utilities
* that will allow you to log them to reports
*
*
* @author juarezds
*
*/
Expand Down
3 changes: 1 addition & 2 deletions src/main/resources/conf/env/test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,7 @@

<!-- Application ID for NERD -->
<application id="NERD">
<login_url>https://service-test.nci.nih.gov/nerd
</login_url> <!-- add test url -->
<login_url>https://service-test.nci.nih.gov/nerd</login_url> <!-- add test url -->
<role name="Role">
<user id="regular">
<name>regular</name>
Expand Down

Large diffs are not rendered by default.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,4 @@ public class NERDOGSRMemberOfCongress_Constants {

/* NERD OGCR MEMBER OF CONGRESS SENATOR */
public static final String NERD_OGCR_MEMBER_OF_CONGRESS_SENATOR = "Senator Alex Padilla (D-CA)";

/* NERD OGCR PORTAL MEMBER OF CONGRESS FIELD1 */
public static final String NERD_OGCR_PORTAL_MEMBER_OF_CONGRESS_FIELD1 = " All";

/* NERD OGCR PORTAL MEMBER OF CONGRESS FIELD2 */
public static final String NERD_OGCR_PORTAL_MEMBER_OF_CONGRESS_FIELD2 = " Representative Abigail Davis Spanberger (D-VA)";
}
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,7 @@ public class ReturningSubmissions_Constants {

/* SUBMISSION VIEW RECORD CATEGORY HEADER */
public static final String SUBMISSION_VIEW_RECORD_CATEGORY_HEADER = "Category";

/* NATIVE VIEW EMAILS UNDER SYSTEM LOGS URL */
public static final String NATIVE_VIEW_EMAILS_UNDER_SYSTEM_LOGS_URL = "https://service-test.nci.nih.gov/now/nav/ui/classic/params/target/sys_email_list.do%3Fsysparm_userpref_module%3D8d620b63c611227b008368697b0b8d7b%26sysparm_query%3Dsys_created_onONToday%2540javascript%253Ags.daysAgoStart%25280%2529%2540javascript%253Ags.daysAgoEnd%25280%2529%255EEQ";
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Feature: Article View Test Automation - CRS Reviewer Views Top Accomplishments

@SS-4631 @SS-5261 @SS-4636 @SS-4637 @bucurgb @Regression @Smoke @selenium
@NERDSNOW-209 @SS-5261 @SS-4636 @SS-4637 @bucurgb @Regression @Smoke @selenium
Scenario Outline: CRS Reviewer Sees Published Top Accomplishments, Other accomplishments and Collaborations
Given a CRS Reviewer is on the NERD Home Page
Given a CRS Reviewer "[email protected]" is on the NERD Home Page
Then there are three knowledge bases called "<knowledgeBaseOne>", "<knowledgeBaseTwo>", and "<knowledgeBaseThree>"
When the user clicks the NERD Knowledge Base
Then the user is redirected to the Knowledge Base view page
Expand All @@ -17,9 +17,9 @@ Feature: Article View Test Automation - CRS Reviewer Views Top Accomplishments
| NERD | ROCK | Moonshot Evaluation | Other Accomplishments |
| NERD | ROCK | Moonshot Evaluation | Collaborations |

@SS-4631 @bucurgb @Regression @Smoke @selenium
@NERDSNOW-209 @bucurgb @Regression @Smoke @selenium
Scenario Outline: CRS Reviewer Sees Top Accomplishment Fields
Given a CRS Reviewer is viewing the list of the published "Top Accomplishments"
Given a CRS Reviewer "[email protected]" is viewing the list of the published "Top Accomplishments"
Then there is a record called "<recordName>"
When the user clicks the title of the record "<recordName>"
Then the user is redirected to the Article View of the "<recordName>" record
Expand All @@ -29,9 +29,9 @@ Feature: Article View Test Automation - CRS Reviewer Views Top Accomplishments
| recordName |
| The genetics and epigenetics of susceptibility to dietary-induced non-alcoholic fatty liver disease |

@SS-4637 @bucurgb @Regression @Smoke @selenium
@NERDSNOW-140 @bucurgb @Regression @Smoke @selenium
Scenario Outline: CRS Reviewer Sees Other Accomplishment Fields
Given a CRS Reviewer is viewing the list of the published "Other Accomplishments"
Given a CRS Reviewer "[email protected]" is viewing the list of the published "Other Accomplishments"
Then there is a record called "<recordName>"
When the user clicks the title of the record "<recordName>"
Then the user is redirected to the Article View of the "<recordName>" record
Expand All @@ -43,7 +43,7 @@ Feature: Article View Test Automation - CRS Reviewer Views Top Accomplishments

@SS-4636 @bucurgb @Regression @Smoke @selenium
Scenario Outline: CRS Reviewer Sees Collaborations
Given a CRS Reviewer is viewing the list of the published "Collaborations"
Given a CRS Reviewer "[email protected]" is viewing the list of the published "Collaborations"
Then there is a record called "<recordName>"
When the user clicks the title of the record "<recordName>"
Then the user is redirected to the Article View of the "<recordName>" record
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Feature: CRS Reviewers Test Scenarios

@SS-3450 @bucurgb @Regression @Smoke @selenium
Scenario: Verifying New OM Category Type - Service Portal
Given a CRS reviewer is logged into NERDs CRS Knowledge Management System
Given a CRS reviewer "[email protected]" is logged into NERDs CRS Knowledge Management System
When adding a new OM entry
Then OM Content Type "OM Content Type" displays
And the following check box options are also available, "Administration Transition Material", "Congressional Justification", "HHS Requests", "Anti-Harrassment/Civility Material", "Donna's Blog", "Furlough Planning", "Equity and Inclusion Program", "COVID-19 Leadership Messages"
Expand All @@ -11,13 +11,13 @@ Feature: CRS Reviewers Test Scenarios

@SS-3871 @SS-3938 @chaudhryma @Regression @selenium
Scenario: Test Special topics filter missing "Women's Health"
Given a CRS reviewer is logged into NERDs CRS Knowledge Management System
Given a CRS reviewer "[email protected]" is logged into NERDs CRS Knowledge Management System
And clicks the "Special Topic" filter
Then the field options are "All", "Big data/Data sharing", "COVID-19","Communications","Early Detection","Metastatic","Minority health/Health disparities","Moonshot","Partnerships","Pediatric","Rare", "Report/Guidance/Policy", "Sex/Gender differences", "Training/Workforce development", "Women's health", and "Workforce"

@SS-3481 @SS-3499 @chaudhryma @Regression @selenium
Scenario: Verifying COVID added to OM category type
Given a CRS reviewer is logged into NERDs CRS Knowledge Management System
Given a CRS reviewer "[email protected]" is logged into NERDs CRS Knowledge Management System
When adding a new OM entry
Then OM Content Type "OM Content Type" displays
Then the following check box option is displayed as COVID19 Leadership Messages "COVID-19 Leadership Messages"
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ Feature: Covid-19 Activities Submission page Scenarios

@NERDSNOW-675 @chaudhryma @Regression @selenium
Scenario:Test Change 'Covid-19 Activities' Option on the 'Categories' Filter to Not Include 'Special Topic' Articles
Given a NERD user is viewing the Knowledge Base as a super user Grace Liou
Given a NERD user is viewing the Knowledge Base as a super user "[email protected]"
When they select the COVID19 Activities Category
Then no other results are displayed which have 'COVID-19' as the Special Topic Filter
Original file line number Diff line number Diff line change
Expand Up @@ -10,38 +10,38 @@ Feature: NCI Staff Member Test Scenarios
Scenario: Test 1: Remove 'Delete' Button in NERD For Specific Users (Top Accomplishments submission)
Given an NCI Staff Member not on the NERD table is on the NERD CRS Knowledge Base
When NCI Staff Member submits new Top Accomplishments submission
And DOC Planning Contact returning the Top Accomplishments submission back to NCI Staff Member
And DOC Planning Contact "Abigail Joyce" returning the Top Accomplishments submission back to NCI Staff Member
And NCI Staff Member views Top Accomplishments submission category
Then NCI Staff Member DOES NOT see the 'Delete' button for Top Accomplishments submission returned record

@NERDSNOW-687 @chaudhryma @Regression @selenium
Scenario: Test 2: Remove 'Delete' Button in NERD For Specific Users (Other Accomplishments submission)
Given an NCI Staff Member not on the NERD table is on the NERD CRS Knowledge Base
When NCI Staff Member submits new Other Accomplishments submission
And DOC Planning Contact returning the Other Accomplishments submission back to NCI Staff Member
And DOC Planning Contact "Abigail Joyce" returning the Other Accomplishments submission back to NCI Staff Member
And NCI Staff Member views the returned Other Accomplishments submission
Then NCI Staff Member DOES NOT see the 'Delete' button for Other Accomplishments submission returned record

@NERDSNOW-688 @chaudhryma @Regression @selenium
Scenario: Test 3: Remove 'Delete' Button in NERD For Specific Users (Collaborations submission)
Given an NCI Staff Member not on the NERD table is on the NERD CRS Knowledge Base
When NCI Staff Member submits new Collaborations submission
And DOC Planning Contact returning the Collaborations submission back to NCI Staff Member
And DOC Planning Contact "Abigail Joyce" returning the Collaborations submission back to NCI Staff Member
And NCI Staff Member views the returned Collaborations submission
Then NCI Staff Member DOES NOT see the 'Delete' button for Collaborations submission returned record

@NERDSNOW-689 @chaudhryma @Regression @selenium
Scenario: Test 4: Remove 'Delete' Button in NERD For Specific Users (COVID-19 Activities submission)
Given an NCI Staff Member not on the NERD table is on the NERD CRS Knowledge Base
When NCI Staff Member submits new COVID19 Activities submission
And DOC Planning Contact returning the COVID19 Activities submission back to NCI Staff Member
And DOC Planning Contact "Abigail Joyce" returning the COVID19 Activities submission back to NCI Staff Member
And NCI Staff Member views the returned COVID19 Activities submission
Then NCI Staff Member DOES NOT see the 'Delete' button for COVID19 Activities submission returned record

@NERDSNOW-690 @chaudhryma @Regression @selenium
Scenario: Test 5: Remove 'Delete' Button in NERD For Specific Users (Ad Hoc Data Call submission)
Given an NCI Staff Member not on the NERD table is on the NERD CRS Knowledge Base
When NCI Staff Member submits new Ad Hoc Data Call submission
And DOC Planning Contact returning the Ad Hoc Data Call submission back to NCI Staff Member
And DOC Planning Contact "Abigail Joyce" returning the Ad Hoc Data Call submission back to NCI Staff Member
And NCI Staff Member views the returned Ad Hoc Data Call submission
Then NCI Staff Member DOES NOT see the 'Delete' button for Ad Hoc Data Call submission returned record
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Feature: Test Member of congress results appearance

@SS-5200 @SS-5212 @bucurgb @Regression @selenium
Scenario: Test Member of congress results appearance
Given a user is in the OGCR Admin Group
Given "Sonia Hawkins" is in the OGCR Admin Group
When the user goes to the OGCR Knowledge Base
And the OGCR user clicks the Add New Entry button
Then the Member of Congress drop down field only includes options that have the "Active" flag enabled in the Member of Congress table
Then the Member of Congress drop down field only includes options that have the "Active" flag enabled in the Member of Congress table
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@ Feature: NERD/OGCR Entry Page Scenarios

@SS-5221 @SS-5238 @chaudhryma @Regression @selenium
Scenario:Test Update Special Topic dropdown list on the OGCR>>Add New Entry page
Given a user is in the OGCR Admin Group
Given "Sonia Hawkins" is in the OGCR Admin Group
When the user goes to the OGCR Knowledge Base
And the OGCR user clicks the Add New Entry button
Then I should Only see the following options in the Special Topic field dropdown list "15x25/Payline", "Big data/Data sharing", "CCDI", "COVID-19", "Health Disparities", "Low-Dose Radiation", "MCD/Early Detection", "Moonshot", "Pediatric", "Rare", "STAR Act", "Survivorship"

@SS-5218 @SS-5253 @chaudhryma @Regression @selenium
Scenario:Test Update OGCR Content Type dropdown list on the OGCR>>Add New Entry page
Given a user is in the OGCR Admin Group
Given "Sonia Hawkins" is in the OGCR Admin Group
When the user goes to the OGCR Knowledge Base
And the OGCR user clicks the Add New Entry button
Then I should Only see the following options in the OCGR Content Type dropdown list "-- None --", "Bill Summary/Text", "Biography" , "BRAIN Brief", "CACR", "Formal Correspondence", "GAO/OIG", "Hearing/Briefing/Visit Summary", "Informal Correspondence", "Preparatory Document", "Presentation/Legislative Update", "QFR", "Significant Item", "Technical Assistance", "Other"

@NERDSNOW-34 @NERDSNOW-48 @chaudhryma @Regression @selenium
Scenario: Test NERD OGCR - Match the "Member of Congress" dropdown list on both the OGCR Portal page and the New Entry Form page
Given a user is in the OGCR Admin Group
Given "Sonia Hawkins" is in the OGCR Admin Group
When the user goes to the OGCR Knowledge Base
And clicks the "Member of Congress" Drop down filter
Then All Drop Down field options are same as the Add New Entry form page for the Member of Congress field.
Then All Drop Down field options are same as the Add New Entry form page for the Member of Congress field.
Loading

0 comments on commit 09d6fb2

Please sign in to comment.