@@ -38,6 +38,10 @@ const currentApp: ToolboxAppManifest = {
|
||||
indexedDb: true,
|
||||
crossOriginIsolated: false,
|
||||
},
|
||||
capabilities: {
|
||||
required: ["workers"],
|
||||
optional: [],
|
||||
},
|
||||
privacy: {
|
||||
processing: "local",
|
||||
fileUploads: false,
|
||||
@@ -184,10 +188,12 @@ describe("AppShell", () => {
|
||||
</AppShell>,
|
||||
);
|
||||
|
||||
await waitFor(() =>
|
||||
expect(
|
||||
document.querySelector("[data-toolbox-context='connected']"),
|
||||
).toBeInTheDocument(),
|
||||
await waitFor(
|
||||
() =>
|
||||
expect(
|
||||
document.querySelector("[data-toolbox-context='connected']"),
|
||||
).toBeInTheDocument(),
|
||||
{ timeout: 4_000 },
|
||||
);
|
||||
fireEvent.click(screen.getByRole("button", { name: "Apps" }));
|
||||
const navigation = screen.getByRole("navigation", {
|
||||
|
||||
Reference in New Issue
Block a user