Add UI-native component/net creation workflows and QA coverage
No files matched your search
|
Before Width: | Height: | Size: 232 KiB After Width: | Height: | Size: 228 KiB |
|
Before Width: | Height: | Size: 173 KiB After Width: | Height: | Size: 174 KiB |
|
Before Width: | Height: | Size: 177 KiB After Width: | Height: | Size: 177 KiB |
|
Before Width: | Height: | Size: 255 KiB After Width: | Height: | Size: 269 KiB |
|
Before Width: | Height: | Size: 172 KiB After Width: | Height: | Size: 173 KiB |
|
Before Width: | Height: | Size: 166 KiB After Width: | Height: | Size: 165 KiB |
@@ -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();
|
||||
|
||||