generated from nhcarrigan/template
d17721aa91
- Allow inline styles in CSP for Angular component encapsulation - Hide skip-to-main-content link using screen-reader-only pattern - Add JavaScript handler for skip link to work across all routes - Add eslint-disable comments for intentional design choices
14 lines
283 B
TypeScript
14 lines
283 B
TypeScript
/**
|
|
* @copyright 2026 NHCarrigan
|
|
* @license Naomi's Public License
|
|
* @author Naomi Carrigan
|
|
*/
|
|
|
|
/**
|
|
* Gets the greeting element from the page.
|
|
* @returns A Cypress chainable to the h1 element.
|
|
*/
|
|
export const getGreeting = (): Cypress.Chainable => {
|
|
return cy.get("h1");
|
|
};
|