This repository has been archived by the owner on May 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
FEC eRegs Sanity Suite
Porta Antiporta edited this page Jul 20, 2016
·
3 revisions
The following test suite is aimed to be a sanity suite to be executed each time a release is deployed to staging as well as production. A failure of any test in this suite will constitute the need for a hotfix.
Initially, this test suite will be run manually, but can later be converted to automated tests.
Also note that these tests should be run on both mobile and desktop.
Scenario 1: Number of Regulations
Given I am a user on the legal landing page
When I browse to the Table of Contents of the FEC Regulations
Then There are 45 Regulations in the Table of Contents
Scenario 2: Regulations are 2016 regulations
Given I am a user on the legal landing page
When I browse to the Regulations
And View a specific section of a regulation
Then I am brought to the 2016 annual edition of that regulation
Given I am a user on the legal landing page
When I search regulations for a particular keyword
And I view a specific search result
Then I am brought to the 2016 annual edition of that regulation
Scenario 3: Navigating from fec-eregs to beta.fec and vice versa
Given I am a user on beta.fec's landing page
Then I am able to navigate to a specific section within the fec-eregs
Given I am viewing a regulation
Then I am able to navigate back to the beta.fec landing page.
Scenario 4: No duplicates in Search Results
Given I have triggered a search for a key phrase
Then I am returned results without duplicate results