Skip to content

Commit 36d268f

Browse files
committed
test(dojo/e2e): note the aimock fixture source in the MAF dotnet a2ui specs
The asserted data values are deterministic only because aimock serves recorded fixtures; say so at the top of each spec (matching the recovery spec's existing convention) so nobody runs them against a live model and chases phantom flakes.
1 parent 5877853 commit 36d268f

3 files changed

Lines changed: 12 additions & 0 deletions

File tree

apps/dojo/e2e/tests/microsoftAgentFrameworkDotnetTests/a2uiAdvanced.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
import { test } from "../../test-isolation-helper";
22
import { A2UIPage } from "../../featurePages/A2UIPage";
33

4+
// The exact names asserted below (The Ritz, …) come from the deterministic
5+
// aimock fixtures (apps/dojo/e2e/aimock-setup.ts); these specs are not meant
6+
// to run against a live model.
7+
48
test("[Microsoft Agent Framework .NET] A2UI Advanced renders surface with hotel comparison", async ({
59
page,
610
}) => {

apps/dojo/e2e/tests/microsoftAgentFrameworkDotnetTests/a2uiDynamicSchema.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
import { test, expect } from "../../test-isolation-helper";
22
import { A2UIPage } from "../../featurePages/A2UIPage";
33

4+
// The exact data values asserted below ($450/night, 4.8, Sony WH-1000XM5, …)
5+
// come from the deterministic aimock fixtures (apps/dojo/e2e/aimock-setup.ts);
6+
// these specs are not meant to run against a live model.
7+
48
test("[Microsoft Agent Framework .NET] A2UI Dynamic Schema renders hotel comparison surface", async ({
59
page,
610
}) => {

apps/dojo/e2e/tests/microsoftAgentFrameworkDotnetTests/a2uiFixedSchema.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
import { test, expect } from "../../test-isolation-helper";
22
import { A2UIPage } from "../../featurePages/A2UIPage";
33

4+
// The exact data values asserted below (UA 123, $289, …) come from the
5+
// deterministic aimock fixtures (apps/dojo/e2e/aimock-setup.ts); these specs
6+
// are not meant to run against a live model.
7+
48
test("[Microsoft Agent Framework .NET] A2UI Fixed Schema renders flight search surface", async ({
59
page,
610
}) => {

0 commit comments

Comments
 (0)