@malloy-publisher/sdk 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -0
- package/dist/{DocumentStorageProvider-CyOJ0hqf.es.js → DocumentStorage-B04sZ5Ie.es.js} +2307 -2334
- package/dist/{DocumentStorageProvider-DGPQEd_l.cjs.js → DocumentStorage-B_MMJ0Ot.cjs.js} +20 -20
- package/dist/{RenderedResult-BnPzJ9Jf.es.js → RenderedResult-BB7eokcf.es.js} +100 -80
- package/dist/RenderedResult-DVuGhatg.cjs.js +135 -0
- package/dist/ServerProvider-D-jjzfE5.cjs.js +1 -0
- package/dist/{ServerProvider-BWOEKg0O.es.js → ServerProvider-Do-GBvpn.es.js} +492 -481
- package/dist/builder/index.cjs.js +57 -52
- package/dist/builder/index.es.js +4421 -3738
- package/dist/client/api.d.ts +14 -1
- package/dist/client/index.cjs.js +1 -1
- package/dist/client/index.es.js +1 -1
- package/dist/components/Dashboard/TileCard.d.ts +7 -3
- package/dist/components/Dashboard/telemetry.d.ts +20 -8
- package/dist/components/DashboardBuilder/DashboardBuilder.d.ts +16 -4
- package/dist/components/DashboardBuilder/DashboardEditor.d.ts +31 -8
- package/dist/components/DashboardBuilder/controls.d.ts +8 -6
- package/dist/components/DashboardBuilder/document.d.ts +19 -5
- package/dist/components/DashboardBuilder/malloyText.d.ts +0 -30
- package/dist/components/DashboardBuilder/malloyTree.d.ts +232 -0
- package/dist/components/DashboardBuilder/preview.d.ts +17 -0
- package/dist/components/DashboardBuilder/readDocument.d.ts +23 -28
- package/dist/components/DashboardBuilder/spliceDocument.d.ts +12 -0
- package/dist/components/DocumentStorage/DocumentStorage.d.ts +69 -5
- package/dist/components/DocumentStorage/index.d.ts +1 -0
- package/dist/index.cjs.js +9 -9
- package/dist/index.es.js +508 -506
- package/dist/theme/resolveTheme.d.ts +1 -1
- package/dist/theme/types.d.ts +12 -2
- package/package.json +1 -1
- package/src/components/Dashboard/TileCard.tsx +8 -4
- package/src/components/Dashboard/telemetry.ts +20 -8
- package/src/components/DashboardBuilder/BuilderToolbar.tsx +4 -5
- package/src/components/DashboardBuilder/DashboardBuilder.tsx +21 -3
- package/src/components/DashboardBuilder/DashboardEditor.authoritative.spec.tsx +706 -0
- package/src/components/DashboardBuilder/DashboardEditor.resourceUri.spec.tsx +356 -0
- package/src/components/DashboardBuilder/DashboardEditor.tsx +468 -103
- package/src/components/DashboardBuilder/FilterDialog.tsx +19 -6
- package/src/components/DashboardBuilder/TileFrame.tsx +11 -2
- package/src/components/DashboardBuilder/TileMenu.tsx +6 -0
- package/src/components/DashboardBuilder/__test__/inventory.ts +367 -0
- package/src/components/DashboardBuilder/controls.spec.ts +53 -3
- package/src/components/DashboardBuilder/controls.ts +9 -7
- package/src/components/DashboardBuilder/document.ts +17 -5
- package/src/components/DashboardBuilder/invariants.spec.ts +297 -0
- package/src/components/DashboardBuilder/malloyText.spec.ts +27 -66
- package/src/components/DashboardBuilder/malloyText.ts +4 -109
- package/src/components/DashboardBuilder/malloyTree.spec.ts +362 -0
- package/src/components/DashboardBuilder/malloyTree.ts +954 -0
- package/src/components/DashboardBuilder/preview.spec.ts +18 -0
- package/src/components/DashboardBuilder/preview.ts +24 -6
- package/src/components/DashboardBuilder/readDocument.spec.ts +312 -21
- package/src/components/DashboardBuilder/readDocument.ts +144 -165
- package/src/components/DashboardBuilder/scannerShapes.spec.ts +550 -0
- package/src/components/DashboardBuilder/spliceDocument.spec.ts +955 -21
- package/src/components/DashboardBuilder/spliceDocument.ts +509 -119
- package/src/components/DashboardBuilder/statementExtent.spec.ts +606 -0
- package/src/components/DocumentStorage/BrowserDocumentStorage.ts +7 -6
- package/src/components/DocumentStorage/DocumentStorage.ts +78 -5
- package/src/components/DocumentStorage/index.ts +1 -0
- package/src/components/Package/Package.tsx +12 -7
- package/src/components/RenderedResult/RenderedResult.tsx +21 -1
- package/src/components/given/GivensPanel.tsx +15 -3
- package/src/theme/buildTableCssVars.spec.ts +3 -0
- package/src/theme/buildTableCssVars.ts +6 -0
- package/src/theme/defaults.ts +16 -12
- package/src/theme/resolveTheme.spec.ts +14 -7
- package/src/theme/resolveTheme.ts +14 -8
- package/src/theme/types.ts +12 -2
- package/tsconfig.spec.json +5 -1
- package/dist/RenderedResult-Dp22kZsQ.cjs.js +0 -115
- package/dist/ServerProvider-Cc489A3f.cjs.js +0 -1
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
// Copyright (c) Credible Data Inc.
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
|
|
4
|
+
import {
|
|
5
|
+
cleanup,
|
|
6
|
+
fireEvent,
|
|
7
|
+
render,
|
|
8
|
+
screen,
|
|
9
|
+
waitFor,
|
|
10
|
+
} from "@testing-library/react";
|
|
11
|
+
import { beforeEach, describe, expect, it, mock } from "bun:test";
|
|
12
|
+
import {
|
|
13
|
+
cacheKeys,
|
|
14
|
+
clearCache,
|
|
15
|
+
mockServerProvider,
|
|
16
|
+
pending,
|
|
17
|
+
serverWrapper,
|
|
18
|
+
} from "../../../test/serverProvider";
|
|
19
|
+
import { BrowserDocumentStorage } from "../DocumentStorage/BrowserDocumentStorage";
|
|
20
|
+
import { DocumentStorageProvider } from "../DocumentStorage/DocumentStorageProvider";
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* `resourceUri` + `dashboard`, alongside the deprecated `environmentName` /
|
|
24
|
+
* `packageName` / `dashboardName` form, and the `versionId` a `resourceUri`
|
|
25
|
+
* can carry: what it reaches (every READ), what it never reaches (the write),
|
|
26
|
+
* and what it does to Save when the write target is the package itself.
|
|
27
|
+
*/
|
|
28
|
+
const PACKAGE_FILE = `## artifact { title="Storefront" tiles=["a -> by_cat"] } dashboard { columns=12 }
|
|
29
|
+
import { scoped_orders } from "../data_app.malloy"
|
|
30
|
+
|
|
31
|
+
source: a is scoped_orders extend {
|
|
32
|
+
# colspan=6
|
|
33
|
+
# label="By category"
|
|
34
|
+
view: by_cat is by_category
|
|
35
|
+
}`;
|
|
36
|
+
|
|
37
|
+
const getModel = mock(
|
|
38
|
+
(_env: string, _pkg: string, path: string, _versionId?: string) =>
|
|
39
|
+
Promise.resolve({
|
|
40
|
+
data:
|
|
41
|
+
path === "dashboards/overview.malloy"
|
|
42
|
+
? { modelPath: path, sourceText: PACKAGE_FILE }
|
|
43
|
+
: {
|
|
44
|
+
modelPath: path,
|
|
45
|
+
sources: [
|
|
46
|
+
{
|
|
47
|
+
name: "scoped_orders",
|
|
48
|
+
views: [{ name: "by_category" }],
|
|
49
|
+
},
|
|
50
|
+
],
|
|
51
|
+
sourceInfos: [
|
|
52
|
+
JSON.stringify({
|
|
53
|
+
name: "scoped_orders",
|
|
54
|
+
schema: { fields: [] },
|
|
55
|
+
}),
|
|
56
|
+
],
|
|
57
|
+
},
|
|
58
|
+
}),
|
|
59
|
+
);
|
|
60
|
+
const getDashboard = mock(
|
|
61
|
+
(_env: string, _pkg: string, _slug: string, _versionId?: string) =>
|
|
62
|
+
Promise.resolve({
|
|
63
|
+
data: { path: "dashboards/overview.malloy", givens: [], tiles: [] },
|
|
64
|
+
}),
|
|
65
|
+
);
|
|
66
|
+
const listDashboards = mock((_env: string, _pkg: string, _versionId?: string) =>
|
|
67
|
+
Promise.resolve({ data: [{ name: "overview" }] }),
|
|
68
|
+
);
|
|
69
|
+
const updateModelSource = mock(
|
|
70
|
+
(_env: string, _pkg: string, path: string, body: { source: string }) =>
|
|
71
|
+
Promise.resolve({
|
|
72
|
+
data: {
|
|
73
|
+
path,
|
|
74
|
+
contentHash: `hash-of-${body.source.length}`,
|
|
75
|
+
created: false,
|
|
76
|
+
},
|
|
77
|
+
}),
|
|
78
|
+
);
|
|
79
|
+
// Typed with the client's own signature, so a spec can read the request body
|
|
80
|
+
// off `mock.calls`. Inferred from `() => …` the call tuple is empty, and
|
|
81
|
+
// indexing it is a type error the spec typecheck catches but `bun test` does
|
|
82
|
+
// not.
|
|
83
|
+
const executeQueryModel = mock(
|
|
84
|
+
(
|
|
85
|
+
_env: string,
|
|
86
|
+
_pkg: string,
|
|
87
|
+
_path: string,
|
|
88
|
+
_body: { query?: string; givens?: unknown; versionId?: string },
|
|
89
|
+
) => pending(),
|
|
90
|
+
);
|
|
91
|
+
|
|
92
|
+
// Mutated between tests: a `mutable` server is what puts Save into the
|
|
93
|
+
// package, which is the branch `versionId` has to gate.
|
|
94
|
+
const serverContext = { mutable: false };
|
|
95
|
+
mockServerProvider(
|
|
96
|
+
{
|
|
97
|
+
models: { getModel, executeQueryModel, updateModelSource },
|
|
98
|
+
dashboards: { getDashboard, listDashboards },
|
|
99
|
+
},
|
|
100
|
+
serverContext,
|
|
101
|
+
);
|
|
102
|
+
|
|
103
|
+
const { DashboardEditor } = await import("./DashboardEditor");
|
|
104
|
+
|
|
105
|
+
const URI = "publisher://environments/env/packages/pkg";
|
|
106
|
+
const button = (name: string | RegExp) =>
|
|
107
|
+
screen.getByRole("button", { name, hidden: true });
|
|
108
|
+
|
|
109
|
+
const mountByUri = (versionId?: string) =>
|
|
110
|
+
render(
|
|
111
|
+
<DocumentStorageProvider documentStorage={new BrowserDocumentStorage()}>
|
|
112
|
+
<DashboardEditor
|
|
113
|
+
resourceUri={
|
|
114
|
+
versionId === undefined ? URI : `${URI}?versionId=${versionId}`
|
|
115
|
+
}
|
|
116
|
+
dashboard="overview"
|
|
117
|
+
/>
|
|
118
|
+
</DocumentStorageProvider>,
|
|
119
|
+
{ wrapper: serverWrapper },
|
|
120
|
+
);
|
|
121
|
+
|
|
122
|
+
const mountLegacy = () =>
|
|
123
|
+
render(
|
|
124
|
+
<DocumentStorageProvider documentStorage={new BrowserDocumentStorage()}>
|
|
125
|
+
<DashboardEditor
|
|
126
|
+
environmentName="env"
|
|
127
|
+
packageName="pkg"
|
|
128
|
+
dashboardName="overview"
|
|
129
|
+
/>
|
|
130
|
+
</DocumentStorageProvider>,
|
|
131
|
+
{ wrapper: serverWrapper },
|
|
132
|
+
);
|
|
133
|
+
|
|
134
|
+
beforeEach(() => {
|
|
135
|
+
clearCache();
|
|
136
|
+
localStorage.clear();
|
|
137
|
+
getModel.mockClear();
|
|
138
|
+
getDashboard.mockClear();
|
|
139
|
+
listDashboards.mockClear();
|
|
140
|
+
updateModelSource.mockClear();
|
|
141
|
+
// Uncleared, a tile query from an earlier test carries into the next one's
|
|
142
|
+
// assertions, where it looks like the component under test made it.
|
|
143
|
+
executeQueryModel.mockClear();
|
|
144
|
+
serverContext.mutable = false;
|
|
145
|
+
});
|
|
146
|
+
|
|
147
|
+
describe("the two prop forms", () => {
|
|
148
|
+
it("open the same dashboard", async () => {
|
|
149
|
+
mountLegacy();
|
|
150
|
+
expect(await screen.findByText("Storefront")).toBeDefined();
|
|
151
|
+
const legacyCall = getModel.mock.calls.find(
|
|
152
|
+
(call) => call[2] === "dashboards/overview.malloy",
|
|
153
|
+
);
|
|
154
|
+
cleanup();
|
|
155
|
+
clearCache();
|
|
156
|
+
getModel.mockClear();
|
|
157
|
+
|
|
158
|
+
mountByUri();
|
|
159
|
+
expect(await screen.findByText("Storefront")).toBeDefined();
|
|
160
|
+
const uriCall = getModel.mock.calls.find(
|
|
161
|
+
(call) => call[2] === "dashboards/overview.malloy",
|
|
162
|
+
);
|
|
163
|
+
|
|
164
|
+
// Same environment, package, path and (absent) version either way: the
|
|
165
|
+
// union resolves to the same locals, not a second code path that
|
|
166
|
+
// happens to agree today.
|
|
167
|
+
expect(uriCall).toEqual(legacyCall);
|
|
168
|
+
expect(uriCall).toEqual([
|
|
169
|
+
"env",
|
|
170
|
+
"pkg",
|
|
171
|
+
"dashboards/overview.malloy",
|
|
172
|
+
undefined,
|
|
173
|
+
]);
|
|
174
|
+
});
|
|
175
|
+
});
|
|
176
|
+
|
|
177
|
+
describe("versionId", () => {
|
|
178
|
+
it("reaches every read: the model, the manifest, the list, and the catalog", async () => {
|
|
179
|
+
mountByUri("v7");
|
|
180
|
+
expect(await screen.findByText("Storefront")).toBeDefined();
|
|
181
|
+
|
|
182
|
+
await waitFor(() =>
|
|
183
|
+
expect(
|
|
184
|
+
getModel.mock.calls.some((call) => call[2] === "data_app.malloy"),
|
|
185
|
+
).toBe(true),
|
|
186
|
+
);
|
|
187
|
+
|
|
188
|
+
expect(
|
|
189
|
+
getModel.mock.calls.find(
|
|
190
|
+
(call) => call[2] === "dashboards/overview.malloy",
|
|
191
|
+
),
|
|
192
|
+
).toEqual(["env", "pkg", "dashboards/overview.malloy", "v7"]);
|
|
193
|
+
expect(
|
|
194
|
+
getModel.mock.calls.find((call) => call[2] === "data_app.malloy"),
|
|
195
|
+
).toEqual(["env", "pkg", "data_app.malloy", "v7"]);
|
|
196
|
+
expect(getDashboard.mock.calls[0]).toEqual([
|
|
197
|
+
"env",
|
|
198
|
+
"pkg",
|
|
199
|
+
"overview",
|
|
200
|
+
"v7",
|
|
201
|
+
]);
|
|
202
|
+
expect(listDashboards.mock.calls[0]).toEqual(["env", "pkg", "v7"]);
|
|
203
|
+
|
|
204
|
+
// The key too, appended last, never spliced in the middle of it: a
|
|
205
|
+
// version in the wrong slot is a key that cannot tell two versions of
|
|
206
|
+
// one dashboard apart, and nothing about that failure is visible on
|
|
207
|
+
// screen.
|
|
208
|
+
expect(cacheKeys("dashboard-editor-model")[0]).toContain('"v7"');
|
|
209
|
+
expect(cacheKeys("dashboard-editor-manifest")[0]).toContain('"v7"');
|
|
210
|
+
expect(cacheKeys("dashboard-editor-dashboards")[0]).toContain('"v7"');
|
|
211
|
+
await waitFor(() =>
|
|
212
|
+
expect(cacheKeys("dashboard-editor-catalog")[0]).toContain('"v7"'),
|
|
213
|
+
);
|
|
214
|
+
});
|
|
215
|
+
|
|
216
|
+
// The pin has to reach the TILE QUERIES too, not just the file, manifest
|
|
217
|
+
// and catalog. Half-applied it is worse than absent: the editor shows v7's
|
|
218
|
+
// text and field list while every tile runs against the current package, so
|
|
219
|
+
// a view that changed between them displays data the file on screen does
|
|
220
|
+
// not describe, and nothing says so.
|
|
221
|
+
it("reaches the tile queries, not only the file the editor opens", async () => {
|
|
222
|
+
mountByUri("v7");
|
|
223
|
+
expect(await screen.findByText("Storefront")).toBeDefined();
|
|
224
|
+
|
|
225
|
+
await waitFor(() =>
|
|
226
|
+
expect(executeQueryModel.mock.calls.length).toBeGreaterThan(0),
|
|
227
|
+
);
|
|
228
|
+
for (const call of executeQueryModel.mock.calls)
|
|
229
|
+
expect((call[3] as { versionId?: string }).versionId).toBe("v7");
|
|
230
|
+
});
|
|
231
|
+
|
|
232
|
+
it("never reaches the write", async () => {
|
|
233
|
+
serverContext.mutable = true;
|
|
234
|
+
mountByUri();
|
|
235
|
+
await screen.findByText("Storefront");
|
|
236
|
+
fireEvent.click(screen.getByLabelText("Settings for By category"));
|
|
237
|
+
fireEvent.change(screen.getByLabelText("Tile title"), {
|
|
238
|
+
target: { value: "Categories" },
|
|
239
|
+
});
|
|
240
|
+
fireEvent.keyDown(screen.getByLabelText("Tile title"), {
|
|
241
|
+
key: "Escape",
|
|
242
|
+
});
|
|
243
|
+
fireEvent.click(button("Save changes"));
|
|
244
|
+
|
|
245
|
+
await waitFor(() => expect(updateModelSource).toHaveBeenCalledTimes(1));
|
|
246
|
+
// Four positional arguments, none of them a version: the client's
|
|
247
|
+
// `updateModelSource` accepts one as a fifth, and Publisher answers 501
|
|
248
|
+
// to it on this route, so threading it through here would make every
|
|
249
|
+
// save from this component fail outright.
|
|
250
|
+
// Length alone: the mock is typed at four arguments, so naming a fifth
|
|
251
|
+
// is a type error rather than an assertion, and a fifth passed at
|
|
252
|
+
// runtime still shows up here.
|
|
253
|
+
expect(updateModelSource.mock.calls[0]).toHaveLength(4);
|
|
254
|
+
});
|
|
255
|
+
|
|
256
|
+
it("does not stop a package save from invalidating the read it moved", async () => {
|
|
257
|
+
serverContext.mutable = true;
|
|
258
|
+
mountByUri();
|
|
259
|
+
await screen.findByText("Storefront");
|
|
260
|
+
const modelReadsBeforeSave = getModel.mock.calls.filter(
|
|
261
|
+
(call) => call[2] === "dashboards/overview.malloy",
|
|
262
|
+
).length;
|
|
263
|
+
|
|
264
|
+
fireEvent.click(screen.getByLabelText("Settings for By category"));
|
|
265
|
+
fireEvent.change(screen.getByLabelText("Tile title"), {
|
|
266
|
+
target: { value: "Categories" },
|
|
267
|
+
});
|
|
268
|
+
fireEvent.keyDown(screen.getByLabelText("Tile title"), {
|
|
269
|
+
key: "Escape",
|
|
270
|
+
});
|
|
271
|
+
fireEvent.click(button("Save changes"));
|
|
272
|
+
await waitFor(() => expect(updateModelSource).toHaveBeenCalledTimes(1));
|
|
273
|
+
|
|
274
|
+
// Proof, not a proxy for one: the live query's key now ends in a
|
|
275
|
+
// version slot rather than at `modelPath`, and the invalidate call
|
|
276
|
+
// that follows a save has to end in the same slot to still match it.
|
|
277
|
+
// A version spliced into the middle of either key (as `Dashboard`
|
|
278
|
+
// does for its own, unrelated, key) would leave this read stale
|
|
279
|
+
// until something else happened to touch it.
|
|
280
|
+
await waitFor(() =>
|
|
281
|
+
expect(
|
|
282
|
+
getModel.mock.calls.filter(
|
|
283
|
+
(call) => call[2] === "dashboards/overview.malloy",
|
|
284
|
+
).length,
|
|
285
|
+
).toBeGreaterThan(modelReadsBeforeSave),
|
|
286
|
+
);
|
|
287
|
+
});
|
|
288
|
+
});
|
|
289
|
+
|
|
290
|
+
describe("Save, pinned to a version", () => {
|
|
291
|
+
it("is off when the write target is the package, and the caption says why", async () => {
|
|
292
|
+
serverContext.mutable = true;
|
|
293
|
+
mountByUri("v7");
|
|
294
|
+
await screen.findByText("Storefront");
|
|
295
|
+
|
|
296
|
+
expect(
|
|
297
|
+
screen.getByText(
|
|
298
|
+
"Reading version v7: a version is a fixed point in history, so Save is off.",
|
|
299
|
+
),
|
|
300
|
+
).toBeDefined();
|
|
301
|
+
expect(
|
|
302
|
+
screen.queryByRole("button", { name: "Save changes", hidden: true }),
|
|
303
|
+
).toBeNull();
|
|
304
|
+
expect(
|
|
305
|
+
screen.queryByRole("button", { name: "Saved", hidden: true }),
|
|
306
|
+
).toBeNull();
|
|
307
|
+
});
|
|
308
|
+
|
|
309
|
+
it("is not off when the write target is storage instead of the package", async () => {
|
|
310
|
+
serverContext.mutable = false;
|
|
311
|
+
mountByUri("v7");
|
|
312
|
+
await screen.findByText("Storefront");
|
|
313
|
+
|
|
314
|
+
// Unaffected: a copy kept beside the package never goes through
|
|
315
|
+
// `updateModelSource`, so the version pin has nothing to refuse.
|
|
316
|
+
fireEvent.click(screen.getByLabelText("Settings for By category"));
|
|
317
|
+
fireEvent.change(screen.getByLabelText("Tile title"), {
|
|
318
|
+
target: { value: "Categories" },
|
|
319
|
+
});
|
|
320
|
+
fireEvent.keyDown(screen.getByLabelText("Tile title"), {
|
|
321
|
+
key: "Escape",
|
|
322
|
+
});
|
|
323
|
+
fireEvent.click(button("Save changes"));
|
|
324
|
+
await waitFor(() => expect(button("Saved")).toBeDefined());
|
|
325
|
+
});
|
|
326
|
+
});
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* A render body that throws takes the host's whole tree down, which is a white
|
|
330
|
+
* screen rather than a message. `parseResourceUri` throws on a string that is
|
|
331
|
+
* not a `publisher://` URI at all and returns for one that merely names too
|
|
332
|
+
* little, so both shapes have to reach the same display. An embedding host is
|
|
333
|
+
* exactly who can pass either; the Console builds its URI from guarded params.
|
|
334
|
+
*/
|
|
335
|
+
describe("a malformed resourceUri", () => {
|
|
336
|
+
const badUris = [
|
|
337
|
+
["names no package", "publisher://environments/env"],
|
|
338
|
+
["is not a URL at all", "nonsense"],
|
|
339
|
+
["is a URL of another scheme", "http://example.com/env"],
|
|
340
|
+
] as const;
|
|
341
|
+
|
|
342
|
+
for (const [what, resourceUri] of badUris) {
|
|
343
|
+
it(`degrades to an error display when it ${what}`, async () => {
|
|
344
|
+
render(
|
|
345
|
+
<DashboardEditor resourceUri={resourceUri} dashboard="overview" />,
|
|
346
|
+
{ wrapper: serverWrapper },
|
|
347
|
+
);
|
|
348
|
+
|
|
349
|
+
expect(
|
|
350
|
+
await screen.findByText(
|
|
351
|
+
/A dashboard resource URI must name an environment and a package/,
|
|
352
|
+
),
|
|
353
|
+
).toBeDefined();
|
|
354
|
+
});
|
|
355
|
+
}
|
|
356
|
+
});
|