add prelim website tests

This commit is contained in:
Francis Cao 2024-02-29 17:40:49 -08:00
parent 14c0c5060a
commit 7ded5fc6c9
7 changed files with 73 additions and 11 deletions

View file

@ -7,5 +7,10 @@ declare namespace Cypress {
* @example cy.dataCy('greeting')
*/
dataCy(value: string): Chainable<JQuery<HTMLElement>>;
/**
* Custom command to login user into the app.
* @example cy.login('admin', 'password)
*/
login(username: string, password: string): Chainable<JQuery<HTMLElement>>;
}
}