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();
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ test("should be able to move flow from folder, rename it and be displayed on cor
|
|||
await page.getByTestId("fit_view").click();
|
||||
|
||||
await page.getByTestId("flow-configuration-button").click();
|
||||
await page.getByText("Settings").click();
|
||||
await page.getByText("Flow Settings").click();
|
||||
await page.getByPlaceholder("Flow name").fill(randomName);
|
||||
await page.getByText("Save").last().click();
|
||||
await page.getByTestId("icon-ChevronLeft").last().click();
|
||||
|
|
@ -89,7 +89,7 @@ test("should be able to move flow from folder, rename it and be displayed on cor
|
|||
await page.getByTestId(`card-${randomName}`).first().click();
|
||||
|
||||
await page.getByTestId("flow-configuration-button").click();
|
||||
await page.getByText("Settings").click();
|
||||
await page.getByText("Flow Settings").click();
|
||||
await page.getByPlaceholder("Flow name").fill(secondRandomName);
|
||||
await page.getByText("Save").last().click();
|
||||
await page.getByTestId("icon-ChevronLeft").last().click();
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ test("flowSettings", async ({ page }) => {
|
|||
await page.waitForTimeout(1000);
|
||||
|
||||
await page.getByTestId("flow_name").click();
|
||||
await page.getByText("Settings").first().click();
|
||||
await page.getByText("Flow Settings").first().click();
|
||||
await page
|
||||
.getByPlaceholder("Flow name")
|
||||
.fill(
|
||||
|
|
@ -56,7 +56,7 @@ test("flowSettings", async ({ page }) => {
|
|||
await page.getByText("Changes saved successfully").isVisible();
|
||||
|
||||
await page.getByTestId("flow_name").click();
|
||||
await page.getByText("Settings").first().click();
|
||||
await page.getByText("Flow Settings").first().click();
|
||||
|
||||
const flowName = await page.getByPlaceholder("Flow name").inputValue();
|
||||
const flowDescription = await page
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue