Files
harness-tools/extensions/fast-browser/fixtures/login.html
T
jb fd63b0ccec
fast-browser scenarios / Offline scenario contract tests (push) Failing after 44s
fast-browser scenarios / Local Chromium headless scenarios (push) Failing after 23s
fast-browser-with-jev
2026-09-20 12:24:08 -04:00

25 lines
980 B
HTML

<!doctype html>
<html lang="en">
<head><meta charset="utf-8"><title>Fast Browser test login</title></head>
<body>
<h1>Local test-account login</h1>
<p>This disposable fixture sends no requests and stores no credentials.</p>
<form id="login">
<label for="username">Username</label>
<input id="username" name="username" autocomplete="off">
<label for="password">Password</label>
<input id="password" name="password" type="password" autocomplete="off">
<button type="submit">Sign in</button>
</form>
<p id="status" role="status"></p>
<script>
document.getElementById('login').addEventListener('submit', (event) => {
event.preventDefault();
const accepted = document.getElementById('username').value === 'demo-user'
&& document.getElementById('password').value === 'demo-password';
document.getElementById('status').textContent = accepted ? 'Test login complete' : 'Test login failed';
});
</script>
</body>
</html>