j40-cejst-2/client/cypress/integration/PublicEngLinks.feature
Vim 88d50748eb
Public Engagement Page (#1372)
* Add public engagement page

- modifies sitemap config
- creates PublicEvent component
- adds SVGs for dates
- all copy is in intl

* Add Public Engagement button to each page

- create new PublicEng component
- add to each page
- update snapshots
- modify CEJST and Meth page to give button more space

* Make mobile compliant and fix DOM validation error

- transform each <p>'s descendent into a <CollectionDescription>
- fix a mobile rendering issue with <Collection> library
- format registration links so they render on mobile
- update snapshots

* Add spacing to descriptions and fix links

* Add Gherkin tests for testing links

- all zoom links should be functional
- ensure all legacy tests, test the new page
- add data-cy tag for cypress
- update snapshots

* Refactor to pass accessibility on all pages

- update snapshots

* Correct registration links

* Make registration links into buttons

* Make new tag bold

* Update copy based on feedback from Corey
2022-03-04 13:16:07 -08:00

32 lines
1.2 KiB
Gherkin

Feature: All links on Public Eng page are functional
Scenario: Anyone should be able to register on Mar 9th
Given I am on the "Public" page
When I look for the "Mar 9 Reg Link" CTA
And I click on the "Mar 9 Reg Link" event
Then the link should respond successfully
Scenario: Anyone should be able to register on Mar 10th
Given I am on the "Public" page
When I look for the "Mar 10 Reg Link" CTA
And I click on the "Mar 10 Reg Link" event
Then the link should respond successfully
Scenario: Anyone should be able to register on Mar 16th
Given I am on the "Public" page
When I look for the "Mar 16 Reg Link" CTA
And I click on the "Mar 16 Reg Link" event
Then the link should respond successfully
Scenario: Anyone should be able to register on Mar 22th
Given I am on the "Public" page
When I look for the "Mar 22 Reg Link" CTA
And I click on the "Mar 22 Reg Link" event
Then the link should respond successfully
Scenario: Anyone should be able to register on Apr 15th
Given I am on the "Public" page
When I look for the "Apr 15 Reg Link" CTA
And I click on the "Apr 15 Reg Link" event
Then the link should respond successfully