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
@@ -0,0 +1,15 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Test Fixture - Result</title>
</head>
<body>
<h1 id="result-heading">Multi-Step Complete</h1>
<p id="result-message">You have completed all steps successfully.</p>
<div id="completion-status">
<span id="status-badge">✓ Complete</span>
</div>
<a href="/index.html" id="home-link">Back to Home</a>
</body>
</html>
@@ -0,0 +1,16 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Test Fixture - Step 1</title>
</head>
<body>
<h1 id="step-heading">Step 1: Enter Your Details</h1>
<p id="step-description">Please provide your name to continue.</p>
<form id="step1-form" action="/multi-step/step2.html" method="GET">
<label for="username">Username:</label>
<input type="text" id="username" name="username" required />
<button type="submit" id="next-btn">Next Step</button>
</form>
</body>
</html>
@@ -0,0 +1,22 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Test Fixture - Step 2</title>
</head>
<body>
<h1 id="step-heading">Step 2: Confirm Your Selection</h1>
<p id="step-description">Choose your preference below.</p>
<form id="step2-form" action="/multi-step/result.html" method="GET">
<div>
<label for="preference">Preference:</label>
<select id="preference" name="preference">
<option value="option-a">Option A</option>
<option value="option-b">Option B</option>
<option value="option-c">Option C</option>
</select>
</div>
<button type="submit" id="finish-btn">Finish</button>
</form>
</body>
</html>