Legger til testing for å lage feilmelding

This commit is contained in:
Sindre Kjelsrud 2023-08-04 12:46:58 +02:00
parent 3962f3818c
commit de91e13727
4 changed files with 39 additions and 3 deletions

View file

@ -22,6 +22,10 @@ import './commands'
declare global {
namespace Cypress {
interface Chainable {
getByTestId(
selector: string,
...rest: any
): Chainable<JQuery<HTMLElement>>;
checkPageA11y(): Chainable<JQuery<HTMLElement>>;
}
}