mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-03 19:47:10 +00:00
* fix(runner): allow nil connection for web platform * fix(testrun): skip SDK handshake for web platform * feat(folio-web): add React/Vite web sample app * feat(folio-web): add sanderling spec * fix(chrome): use InsertText for multi-char text input * feat(hierarchy): add Screen field populated from sanderling-screen attr * fix(chrome): auto-detect viewport from CSS vars, fix InputText accumulation, expose route as screen * fix(runner): fall back to hierarchy root screen when snapshot screen is empty * fix(folio-web): broaden loggedIn extractor to all authenticated pages
10 lines
260 B
TypeScript
10 lines
260 B
TypeScript
export const DEMO_EMAIL = '[email protected]'
|
|
export const DEMO_PASSWORD = 'ledger123'
|
|
|
|
export function checkCredentials(email: string, password: string): boolean {
|
|
return (
|
|
email.trim().toLowerCase() === DEMO_EMAIL &&
|
|
password === DEMO_PASSWORD
|
|
)
|
|
}
|