feat: updated components header styling (#8085)
* Removed unused styles * Updated node icon to follow design * Updated node name to follow design and include Beta * Removed Beta from node status * Removed unused classes and parameters from GenericNode * Changed node description padding on input * Changed paddings and gaps * removed unused classes * Added accent purple foreground color to Experimental * Fixed classes and gaps in generic node * Fixed node name gaps * Fixed node status classes and styling * Removed unused classes and changed run-bg size * Changed test to use new test id * Changed Node Name to have beta tooltip * Changed Build Failed icon to be a circle alert * Changed Node Status gap and conditions to show spacings correctly * Changed padding to not change height of other components * Changed nodeStatus to show validation on small node * Changed classes to show correct spacing and overflow * Changed description size * Fixed description text size * Fixed input margin * Fixed description editing not appearing when no description is available * Fixed status not breaking words * Updated colors * Updated node output color * [autofix.ci] apply automated fixes * Changed duration style in chat * Re-added output color * Updated timeout on mcp server tab test * Added more timeout to mcp server tab test * fixed loop component test --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
6660df1fe0
commit
4f9e2705d8
16 changed files with 148 additions and 221 deletions
|
|
@ -2,10 +2,10 @@ import { expect, Page, test } from "@playwright/test";
|
|||
import { awaitBootstrapTest } from "../../utils/await-bootstrap-test";
|
||||
|
||||
async function toggleNodeState(page: Page, action: "minimize" | "expand") {
|
||||
const expectedCount = action === "minimize" ? 0 : 1;
|
||||
const expectedCount = action === "minimize" ? 1 : 0;
|
||||
await page.getByTestId("more-options-modal").click();
|
||||
await page.getByTestId(`${action}-button-modal`).click();
|
||||
expect(await page.getByTestId("show-node-content").count()).toBe(
|
||||
expect(await page.getByTestId("hide-node-content").count()).toBe(
|
||||
expectedCount,
|
||||
);
|
||||
}
|
||||
|
|
@ -36,7 +36,7 @@ test(
|
|||
|
||||
expect(await page.getByText("Toolset", { exact: true }).count()).toBe(0);
|
||||
await page.getByTestId("title-Text Output").click();
|
||||
expect(await page.getByTestId("show-node-content").count()).toBe(1);
|
||||
expect(await page.getByTestId("hide-node-content").count()).toBe(0);
|
||||
|
||||
for (let i = 0; i < 5; i++) {
|
||||
await toggleNodeState(page, "minimize");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue