fix: enable browser_agent in integration tests and add localhost fixture tests (#24523)

This commit is contained in:
Gaurav
2026-04-02 22:54:38 +08:00
committed by GitHub
parent 8d171e0200
commit 811a383d50
20 changed files with 487 additions and 11 deletions
+37
View File
@@ -0,0 +1,37 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Test Fixture - Contact Form</title>
</head>
<body>
<h1 id="form-heading">Contact Form</h1>
<form id="contact-form" action="/form-result.html" method="GET">
<div>
<label for="name">Name:</label>
<input type="text" id="name" name="name" required />
</div>
<div>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required />
</div>
<div>
<label for="message">Message:</label>
<textarea id="message" name="message" rows="4"></textarea>
</div>
<div>
<label for="category">Category:</label>
<select id="category" name="category">
<option value="general">General</option>
<option value="support">Support</option>
<option value="feedback">Feedback</option>
</select>
</div>
<div>
<input type="checkbox" id="subscribe" name="subscribe" value="yes" />
<label for="subscribe">Subscribe to newsletter</label>
</div>
<button type="submit" id="submit-btn">Submit</button>
</form>
</body>
</html>