fix: update nav bar UI, changed user menu to use shadcn dropdown, fix responsivity issues (#4454)
* Updated saved color * Removed selection from header / * hide text from 1200px * Updated github star style * Fixed hover state on account menu * Fix misalignment of store * Changed user menu to use dropdown menu from shadcn * Fixed notification dot * Change mobile responsivity * Fixed flow settings name * Implement opening the sidebar when hitting / * Fixed code opening when hitting space on sidebar * Fixed errors with tests
This commit is contained in:
parent
a4863bbe57
commit
6761df6110
18 changed files with 120 additions and 166 deletions
|
|
@ -182,11 +182,7 @@ test("search components", async ({ page }) => {
|
|||
await page.getByText("Exit", { exact: true }).click();
|
||||
}
|
||||
|
||||
await page
|
||||
.getByText("Components", {
|
||||
exact: true,
|
||||
})
|
||||
.click();
|
||||
await page.getByTestId("components-btn").click();
|
||||
|
||||
await page.getByPlaceholder("Search components").fill("Chat Input");
|
||||
await page.getByText("Chat Input", { exact: true }).isVisible();
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ test("when auto_login is false, admin can CRUD user's and should see just your o
|
|||
await page.getByTestId("zoom_out").click();
|
||||
|
||||
await page.getByTestId("flow-configuration-button").click();
|
||||
await page.getByText("Settings", { exact: true }).last().click();
|
||||
await page.getByText("Flow Settings", { exact: true }).last().click();
|
||||
|
||||
await page.getByPlaceholder("Flow Name").fill(randomFlowName);
|
||||
|
||||
|
|
@ -210,7 +210,7 @@ test("when auto_login is false, admin can CRUD user's and should see just your o
|
|||
await page.getByTestId("zoom_out").click();
|
||||
|
||||
await page.getByTestId("flow-configuration-button").click();
|
||||
await page.getByText("Settings", { exact: true }).last().click();
|
||||
await page.getByText("Flow Settings", { exact: true }).last().click();
|
||||
|
||||
await page.getByPlaceholder("Flow Name").fill(secondRandomFlowName);
|
||||
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ test("should share component with share button", async ({ page }) => {
|
|||
await page.waitForTimeout(1000);
|
||||
const flowName = await page.getByTestId("flow_name").innerText();
|
||||
await page.getByTestId("flow_name").click();
|
||||
await page.getByText("Settings").click();
|
||||
await page.getByText("Flow Settings").click();
|
||||
const flowDescription = await page
|
||||
.getByPlaceholder("Flow description")
|
||||
.inputValue();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue