We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b56d8ef commit f5b823cCopy full SHA for f5b823c
e2e/tests/node-inspector.spec.ts
@@ -66,10 +66,8 @@ const findInspectTooltipValueText = (page: Page) =>
66
// Trace name assertions helper
67
const assertTraceNames = async (page: Page, expectedNames: string[]) => {
68
const traces = findTraces(page);
69
+ await expect(traces).toContainText(expectedNames);
70
await expect(traces).toHaveCount(expectedNames.length);
- for (let i = 0; i < expectedNames.length; i++) {
71
- await expect(traces.nth(i)).toContainText(expectedNames[i]);
72
- }
73
};
74
75
// Map entry in trace details (scoped to a trace element)
0 commit comments