Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
903a523
Moving new organization tests from NEDSSDev
Mar 4, 2026
1387799
Merge branch 'main' of https://github.com/CDCgov/NEDSS-Modernization …
Mar 5, 2026
a86a43c
Copied org test changes from NEDSSDev
Mar 6, 2026
f0c6806
Merge branch 'main' into organization-tests
krista-skylight Mar 6, 2026
987c9e3
Merge branch 'main' into organization-tests
krista-skylight Mar 6, 2026
0f7a21c
fixes to imports
Mar 6, 2026
f66453c
Merge branch 'main' into organization-tests
krista-skylight Mar 7, 2026
194c2ec
Merge branch 'main' into organization-tests
krista-skylight Mar 9, 2026
4d905f4
Upload cypress screenshots github action to help debug CI test fails
Mar 9, 2026
0f80902
Update to v4 of upload artifact
Mar 9, 2026
dea1582
Add step to clean up old containers and volumes so CI tests run on fr…
Mar 9, 2026
777584c
ci: Try not retrying to see if org test passes
Mar 9, 2026
c25510b
ci:get rid of extra organization.feature file
Mar 9, 2026
1c74b51
ci: bring back the retry
Mar 9, 2026
eaf6d90
test: use the previously entered unique organization for inactivate t…
Mar 9, 2026
f7d0e36
Modify edit with new organization to check that result count increase…
Mar 10, 2026
2917cba
test: Get rid of redundant modules and only keep the one in nbs-class…
Mar 10, 2026
2cb1eea
test: Functions to check that search results incremented by X
Mar 10, 2026
e086321
test:fix test step order typo
Mar 10, 2026
c3a8f4e
Merge branch 'main' into kc/organization-tests
krista-skylight Mar 10, 2026
ed18e56
Merge branch 'main' into kc/organization-tests
krista-skylight Mar 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/Regression-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,4 @@ jobs:
with:
name: cypress-report
path: testing/regression/cypress-report.zip

Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,193 @@ Feature: Classic NBS - Dedupe - User can view data in NBS Organization Search Pa
Background:
Given I am logged in as secure user and stay on classic

Scenario: Add organization
Then Navigate to classic organization add page
Then Click on Add button on organization add page
Then Enter quick code for new organisation
Then Click Submit button on organization add page

Scenario: Search organization
Then Navigate to classic organization Search pane
Then Enter organization name in input text field "test"
Then Click on Search in classic organization Search pane
Then View organization details through classic search
# Data Entry Tests

## Search Organization

Scenario: Verify organization exists by searching name
When I navigate to classic organization Search pane
And I enter organization name in input text field "Piedmont Hospital"
And I click on the Submit button
Then the search results should include "Piedmont Hospital"

Scenario: Verify organization exists by searching address
When I navigate to classic organization Search pane
And I enter organization address in input text field "1364 Clifton Road"
And I click on the Submit button
Then the search results should include "Emory University Hospital"
And the search results should include address "1364 Clifton Road"

Scenario: Add new organization with basic info
When I navigate to classic organization Search pane
And I enter a unique organization name in the name field
And I click on the Submit button
Then I should see a message that no matching organizations were found
And I click the Add button
And I select the role "Allergy clinic"
And I click on the Submit button
And I click the Add button
And I navigate to classic organization Search pane
And I enter the same organization name in the Search Pane
And I click on the Submit button
Then the organization should appear in search results

Scenario: Add new organization with all info
When I navigate to classic organization Search pane
And I enter a unique organization name in the name field
And I click on the Submit button
Then I should see a message that no matching organizations were found
And I click the Add button
And I select a random ID Type
And I select a random Assigning Authority
And I enter a random ID Value
And I click the Add Identification button
And I select address use "Primary Work Place"
And I select address type "Office"
And I enter street address "1600 Clifton Road NE"
And I enter city "Atlanta"
And I enter zip code "30333"
And I click the Add Address button
And I select telephone use "Primary Work Place"
And I select telephone type "Phone"
And I enter telephone number "404", "639", "3311"
And I click the Add Telephone button
And I click on the Submit button
And I navigate to classic organization Search pane
And I enter the same organization name in the Search Pane
And I click on the Submit button
Then the organization should appear in search results

## View Organization

Scenario: All organization details exist
When I navigate to classic organization Search pane
And I enter organization name in input text field "Piedmont Hospital"
And I click on the Submit button
And I click View on the search results
Then I should see all organization details are correct

Scenario: Edit with overwrite
When I navigate to classic organization Search pane
And I enter organization name in input text field "CHOA - Scottish Rite"
And I click on the Submit button
And I click View on the search results
And I click the Edit button
And I select "Typographical error correction or additional information" as the reason for edit
And I select address use "Primary Work Place"
And I select address type "Office"
And I enter street address "1600 Clifton Road NE"
And I enter city "Atlanta"
And I enter zip code "30333"
And I click the Add Address button
And I select telephone use "Primary Work Place"
And I select telephone type "Phone"
And I enter telephone number "404", "639", "3311"
And I click the Add Telephone button
And I click on the Submit button
And I navigate to classic organization Search pane
And I enter organization name in input text field "CHOA - Scottish Rite"
And I click on the Submit button
Then the search results should include "CHOA - Scottish Rite"
And the search results should include address "1600 Clifton Road NE"
And the search results should include telephone "404-639-3311"

Scenario: Edit with new organization
When I navigate to classic organization Search pane
And I enter organization name in input text field "CHOA - Scottish Rite"
And I click on the Submit button
And I save the number of search results
And I click View on the search results
And I click the Edit button
And I select "A change to existing information for non typographical reasons" as the reason for edit
And I enter a unique quick code
And I delete the existing address
And I select address use "Organizational Contact"
And I select address type "Postal/Mailing"
And I enter street address "456 Main Street"
And I click the Add Address button
And I click on the Submit button
And I navigate to classic organization Search pane
And I enter organization name in input text field "CHOA - Scottish Rite"
And I click on the Submit button
Then there should be 1 more search result than before
And one of the search results should have the generated quick code
And the search results should include address "456 Main Street"

Scenario: Provide multiple contact records (two new telephone numbers) for organization
When I navigate to classic organization Search pane
And I enter organization name in input text field "Northside Hospital"
And I click on the Submit button
And I click View on the search results
And I click the Edit button
And I select "Typographical error correction or additional information" as the reason for edit
And I add a new telephone with use "Primary Work Place", type "Phone", number "770"-"555"-"1234"
And I add a new telephone with use "Alternate Work Place", type "Phone", number "678"-"555"-"5678"
And I click on the Submit button
And I navigate to classic organization Search pane
And I enter organization name in input text field "Northside Hospital"
And I click on the Submit button
Then the search results should include telephone "770-555-1234"
And the search results should include telephone "678-555-5678"

Scenario: Provide multiple contact records (two new addresses) for organization
When I navigate to classic organization Search pane
And I enter organization name in input text field "St. Joseph's Hospital"
And I click on the Submit button
And I click View on the search results
And I click the Edit button
And I select "Typographical error correction or additional information" as the reason for edit
And I select address use "Alternate Work Place"
And I select address type "Office"
And I enter street address "123 Drury Lane"
And I enter city "Oakland"
And I enter zip code "94611"
And I click the Add Address button
And I select address use "Organizational Contact"
And I select address type "Postal/Mailing"
And I enter street address "456 Main Street"
And I enter city "Oakland"
And I enter zip code "94611"
And I click the Add Address button
And I click on the Submit button
And I navigate to classic organization Search pane
And I enter organization name in input text field "St. Joseph's Hospital"
And I click on the Submit button
Then the search results should include address "123 Drury Lane"
And the search results should include address "456 Main Street"

Scenario: Provide multiple ID records for organization
When I navigate to classic organization Search pane
And I enter organization name in input text field "St. Joseph's Hospital"
And I click on the Submit button
And I click View on the search results
And I click the Edit button
And I select "Typographical error correction or additional information" as the reason for edit
And I add a new ID record with type "ABCs Hospital ID", authority "CMS Provider", value "CMS1234"
And I add a new ID record with type "Organization identifier", authority "CLIA (CMS)", value "CLIA5678"
And I click on the Submit button
And I navigate to classic organization Search pane
And I enter organization name in input text field "St. Joseph's Hospital"
And I click on the Submit button
Then the search results should include ID Type "ABCs Hospital ID" with ID Value "CMS1234"
And the search results should include ID Type "Organization identifier" with ID Value "CLIA5678"

Scenario: Inactivate an existing organization

When I navigate to classic organization Search pane
And I enter a unique organization name in the name field
And I click on the Submit button
And I click the Add button
And I select the role "Allergy clinic"
And I click on the Submit button
And I click the Add button
And I navigate to classic organization Search pane
And I enter the same organization name in the Search Pane
And I click on the Submit button
And I click View on the search results
And I click the Inactivate button
And I confirm the inactivation
And I navigate to classic organization Search pane
And I enter the same organization name in the Search Pane
And I click on the Submit button
Then I should see a message that no matching organizations were found
Loading