Add UI-native component/net creation workflows and QA coverage

This commit is contained in:
Rbanh committed 2026-02-18 22:09:42 -05:00
1 parent 2bda088223
commit 486092e884
10 files changed
+123

No files matched your search

Binary file not shown.

Before

Width:  |  Height:  |  Size: 232 KiB

After

Width:  |  Height:  |  Size: 228 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 173 KiB

After

Width:  |  Height:  |  Size: 174 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 177 KiB

After

Width:  |  Height:  |  Size: 177 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 255 KiB

After

Width:  |  Height:  |  Size: 269 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 172 KiB

After

Width:  |  Height:  |  Size: 173 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 166 KiB

After

Width:  |  Height:  |  Size: 165 KiB

+10
View File
@@ -200,6 +200,16 @@ async function run() {
const mode = await page.locator("#renderModeSelect").inputValue();
assert.equal(mode, "schematic_stub");
await page.locator("#newComponentTypeSelect").selectOption("resistor");
const beforeInstanceCount = await page.locator("[data-ref-item]").count();
await page.getByRole("button", { name: "Add Component" }).click();
await waitFor(async () => (await page.locator("[data-ref-item]").count()) >= beforeInstanceCount + 1);
await page.locator("#newQuickNetClassSelect").selectOption("signal");
await page.locator("#newQuickNetNameInput").fill("UI_TEST_NET");
await page.getByRole("button", { name: "Add Net" }).click();
await expectText(page, "#netList", /UI_TEST_NET/);
const dense = await readFile(DENSE_ANALOG_PATH, "utf8");
await page.locator("#jsonEditor").fill(dense);
await page.getByRole("button", { name: "Apply JSON" }).click();