-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VACMS-15414 Update homepage Cypress tests
- Loading branch information
Showing
6 changed files
with
408 additions
and
435 deletions.
There are no files selected for viewing
58 changes: 58 additions & 0 deletions
58
src/applications/static-pages/homepage/tests/header-disability.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
// VA Benefits and Health Care -> Health care | ||
export const disability = '[data-e2e-id="vetnav-level2--disability"]'; | ||
export const viewAll = { | ||
id: 'view-all-in-disability', | ||
href: '/disability', | ||
text: 'View all in disability', | ||
}; | ||
|
||
export const getHealthCareBenefits = 'vetnav-column-one-header'; | ||
export const manageYourHealth = 'vetnav-column-one-header'; | ||
|
||
export const links = [ | ||
{ | ||
id: '[data-e2e-id="about-va-health-benefits-0"]', | ||
href: '/health-care/about-va-health-benefits', | ||
text: 'About VA health benefits', | ||
}, | ||
{ | ||
id: '[data-e2e-id="how-to-apply-1"]', | ||
href: '/health-care/how-to-apply', | ||
text: 'How to apply', | ||
}, | ||
{ | ||
id: '[data-e2e-id="family-and-caregiver-health-benefits-2"]', | ||
href: '/health-care/family-caregiver-benefits', | ||
text: 'Family and caregiver health benefits', | ||
}, | ||
{ | ||
id: '[data-e2e-id="apply-now-for-health-care-3"]', | ||
href: '/health-care/apply/application', | ||
text: 'Apply now for health care', | ||
}, | ||
{ | ||
id: '[data-e2e-id="send-a-secure-message-to-your-health-care-team-1"]', | ||
href: '/health-care/secure-messaging', | ||
text: 'Send a secure message to your health care team', | ||
}, | ||
{ | ||
id: '[data-e2e-id="send-a-secure-message-to-your-health-care-team-1"]', | ||
href: '/health-care/secure-messaging', | ||
text: 'Send a secure message to your health care team', | ||
}, | ||
{ | ||
id: '[data-e2e-id="schedule-and-manage-health-appointments-2"]', | ||
href: '/health-care/schedule-view-va-appointments', | ||
text: 'Schedule and manage health appointments', | ||
}, | ||
{ | ||
id: '[data-e2e-id="view-your-lab-and-test-results-3"]', | ||
href: '/health-care/view-test-and-lab-results', | ||
text: 'View your lab and test results', | ||
}, | ||
{ | ||
id: '[data-e2e-id="order-hearing-aid-batteries-and-accessories-4"]', | ||
href: '/health-care/order-hearing-aid-batteries-and-accessories', | ||
text: 'Order hearing aid batteries and accessories', | ||
}, | ||
]; |
69 changes: 69 additions & 0 deletions
69
src/applications/static-pages/homepage/tests/header-health-care.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
export const vaBenefitsAndHealthCareButton = | ||
'[data-e2e-id="va-benefits-and-health-care-0"]'; | ||
|
||
// VA Benefits and Health Care -> Health care | ||
export const healthCare = '[data-e2e-id="vetnav-level2--health-care"]'; | ||
export const viewAll = { | ||
id: 'view-all-in-health-care', | ||
href: '/health-care', | ||
text: 'View all in health care', | ||
}; | ||
|
||
export const headings = [ | ||
{ | ||
id: '#vetnav-column-one-header', | ||
text: 'Get health care benefits', | ||
}, | ||
{ | ||
id: '#vetnav-column-one-header', | ||
text: 'Manage your health', | ||
}, | ||
]; | ||
|
||
export const links = [ | ||
{ | ||
id: '[data-e2e-id="about-va-health-benefits-0"]', | ||
href: '/health-care/about-va-health-benefits', | ||
text: 'About VA health benefits', | ||
}, | ||
{ | ||
id: '[data-e2e-id="how-to-apply-1"]', | ||
href: '/health-care/how-to-apply', | ||
text: 'How to apply', | ||
}, | ||
{ | ||
id: '[data-e2e-id="family-and-caregiver-health-benefits-2"]', | ||
href: '/health-care/family-caregiver-benefits', | ||
text: 'Family and caregiver health benefits', | ||
}, | ||
{ | ||
id: '[data-e2e-id="apply-now-for-health-care-3"]', | ||
href: '/health-care/apply/application', | ||
text: 'Apply now for health care', | ||
}, | ||
{ | ||
id: '[data-e2e-id="send-a-secure-message-to-your-health-care-team-1"]', | ||
href: '/health-care/secure-messaging', | ||
text: 'Send a secure message to your health care team', | ||
}, | ||
{ | ||
id: '[data-e2e-id="send-a-secure-message-to-your-health-care-team-1"]', | ||
href: '/health-care/secure-messaging', | ||
text: 'Send a secure message to your health care team', | ||
}, | ||
{ | ||
id: '[data-e2e-id="schedule-and-manage-health-appointments-2"]', | ||
href: '/health-care/schedule-view-va-appointments', | ||
text: 'Schedule and manage health appointments', | ||
}, | ||
{ | ||
id: '[data-e2e-id="view-your-lab-and-test-results-3"]', | ||
href: '/health-care/view-test-and-lab-results', | ||
text: 'View your lab and test results', | ||
}, | ||
{ | ||
id: '[data-e2e-id="order-hearing-aid-batteries-and-accessories-4"]', | ||
href: '/health-care/order-hearing-aid-batteries-and-accessories', | ||
text: 'Order hearing aid batteries and accessories', | ||
}, | ||
]; |
Empty file.
Oops, something went wrong.