refactor: routes and back button (#3600)
* Changed ProtectedRoute to handle refresh token * Created DashboardWrapperPage to insert header into elements * Changed routes to be contained by only one ProtectedRoute * Removed refresh and get version query of App.tsx * Added loading if user not authenticated in ProtectedAdminRoute * Changed page layout to not contain header * Changed AdminPage and FlowPage to not have headers * Removed unused variables * Refactored redirectToLastLocation of headerComponent * Removed unused track last visited path * changed viewPage to not set onFlowPage since it's used only on header * Added flow fetching into Playground page * Fixed back button not working between flows * Changed duplicate requests to show which request failed * Refactored useGetBuilds to remove duplicated request * Re-added get version query and config query * [autofix.ci] apply automated fixes * Fix tests that rely on autosave delay --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
ffff5720d8
commit
d6537b724e
19 changed files with 221 additions and 282 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { expect, test } from "@playwright/test";
|
||||
import { test } from "@playwright/test";
|
||||
import * as dotenv from "dotenv";
|
||||
import path from "path";
|
||||
|
||||
|
|
@ -70,6 +70,8 @@ test("should delete rows from table message", async ({ page }) => {
|
|||
timeout: 30000,
|
||||
});
|
||||
|
||||
await page.waitForTimeout(2000);
|
||||
|
||||
await page.getByTestId("user-profile-settings").last().click();
|
||||
await page.getByText("Settings").last().click();
|
||||
await page.getByText("Messages").last().click();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue