Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion dist/assets/index-BQUorxWE.css

This file was deleted.

328 changes: 328 additions & 0 deletions dist/assets/index-D2LZqiXQ.js

Large diffs are not rendered by default.

328 changes: 0 additions & 328 deletions dist/assets/index-DPiU8cHm.js

This file was deleted.

1 change: 1 addition & 0 deletions dist/assets/index-DbG5mQ4q.css

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3310,8 +3310,8 @@
.send.is-busy .send-spin { animation: none; opacity: 0.6; }
}
</style>
<script type="module" crossorigin src="/assets/index-DPiU8cHm.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-BQUorxWE.css">
<script type="module" crossorigin src="/assets/index-D2LZqiXQ.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-DbG5mQ4q.css">
</head>
<body>
<div class="shell-frame"><div class="shell-stage" id="shell-stage">
Expand Down Expand Up @@ -3351,7 +3351,7 @@ <h1 class="headline reveal">FlutterFlow custom code.<br><span class="headline-su
<div class="composer" id="composer">
<label class="sr-only" for="pipeline-input">Describe the widget or action you need</label>
<div class="ghost" aria-hidden="true"><span class="typed"></span><span class="suggest"></span></div>
<textarea id="pipeline-input" class="field" rows="3" spellcheck="false" aria-describedby="suggest-status" placeholder="Describe the widget or action you need">A circular progress gauge with a gradient stroke</textarea>
<textarea id="pipeline-input" class="field" rows="3" spellcheck="false" aria-describedby="suggest-status" placeholder="Describe the widget or action you need" data-demo-prompt="A circular progress gauge with a gradient stroke"></textarea>
<span id="suggest-status" class="sr-only" aria-live="polite"></span>
<button class="tab-hint" type="button" id="tab-hint" tabindex="-1" hidden=""><kbd aria-hidden="true">Tab</kbd><span class="tab-hint-label">to accept</span></button>
<div class="tools">
Expand Down
12 changes: 5 additions & 7 deletions e2e/smoke.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {
} from "./fixtures/apiFixtures.js";

const COMPOSER_PLACEHOLDER = /Describe the widget or action you need/i;
const COMPOSER_DEFAULT_PROMPT = "A circular progress gauge with a gradient stroke";

/**
* Baseline smoke test for the redesigned hero landing and composer state.
Expand Down Expand Up @@ -43,8 +42,8 @@ test.describe("Redesigned hero landing and composer", () => {
});

test("shows the hero landing and the composer", async ({ page }) => {
// Reduced motion presents the completed example immediately; normal
// motion is verified against the source's 5200ms hold + 73ms characters.
// Reduced motion lands the hero demo's end state immediately; the motion
// itself is verified in the STU-445 composer suite.
await page.emulateMedia({ reducedMotion: "reduce" });
await applyDefaultRoutes(page, {
[ENDPOINTS.identity]: guestIdentity(),
Expand All @@ -59,15 +58,14 @@ test.describe("Redesigned hero landing and composer", () => {
await expect(heading).toBeVisible();
await expect(heading).toContainText("FlutterFlow custom code.");

// Composer is present with its shipped example prompt. The hero demo
// types it in on load, so wait for the demo's end state rather than
// polling the prefix.
// Composer is present, empty on its hint: the hero demo's example is
// illustration only and never stays in the field.
const composer = page.locator("#pipeline-input");
await expect(composer).toBeVisible();
await expect(page.locator("#composer")).not.toHaveClass(/is-demo-typing/, {
timeout: 15000,
});
await expect(composer).toHaveValue(COMPOSER_DEFAULT_PROMPT);
await expect(composer).toHaveValue("");
await expect(composer).toHaveAttribute(
"placeholder",
COMPOSER_PLACEHOLDER,
Expand Down
Loading
Loading