Skip to content

Commit 75342ed

Browse files
authored
chore: update webui integration tests for fast-element v3 (#7509)
1 parent 555f289 commit 75342ed

3 files changed

Lines changed: 111 additions & 111 deletions

File tree

package-lock.json

Lines changed: 107 additions & 107 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/fast-element/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@
230230
},
231231
"devDependencies": {
232232
"@microsoft/fast-build": "*",
233-
"@microsoft/webui": "0.0.10"
233+
"@microsoft/webui": "0.0.12"
234234
},
235235
"files": [
236236
"./dist",

packages/fast-element/scripts/declarative/build-fixtures-with-webui.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* For each fixture directory this script:
77
* 1. Extracts <f-template> components from templates.html into individual
88
* component files (webui uses filename-based component discovery).
9-
* 2. Builds the fixture with `webui build --plugin=fast`.
9+
* 2. Builds the fixture with `webui build --plugin=fast-v3`.
1010
* 3. Renders the compiled protocol with the fixture's state.json.
1111
* 4. Writes the rendered index.html into temp/integrations/webui/fixtures/
1212
* alongside a copy of main.ts and any extra assets so that Playwright
@@ -80,7 +80,7 @@ function buildFixture(fixtureName) {
8080
const buildResult = build({
8181
appDir: buildDir,
8282
entry: "entry.html",
83-
plugin: "fast",
83+
plugin: "fast-v3",
8484
outDir: buildOutDir,
8585
});
8686

@@ -91,7 +91,7 @@ function buildFixture(fixtureName) {
9191
// Render with state
9292
const state = JSON.parse(readFileSync(join(fixtureDir, "state.json"), "utf8"));
9393
let html = render(buildResult.protocol, state, {
94-
plugin: "fast",
94+
plugin: "fast-v3",
9595
entry: "entry.html",
9696
});
9797

0 commit comments

Comments
 (0)