We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 676c9aa commit 1fe9308Copy full SHA for 1fe9308
1 file changed
tests/ui.spec.ts
@@ -168,8 +168,14 @@ test('UI all components render 3', async ({ page }) => {
168
169
test('UI markdown renders code correctly', async ({ page }) => {
170
await gotoPage(page, '');
171
- await openPanel(page, 'markdown_code', SELECTORS.REACT_PANEL_VISIBLE);
172
- await expect(page.locator(SELECTORS.REACT_PANEL_VISIBLE)).toHaveScreenshot();
+ await openPanel(
+ page,
173
+ 'markdown_code',
174
+ SELECTORS.WIDGET_LOADER_ELEMENT_VISIBLE
175
+ );
176
+ await expect(
177
+ page.locator(SELECTORS.WIDGET_LOADER_ELEMENT_VISIBLE)
178
+ ).toHaveScreenshot();
179
});
180
181
// Tests flex components render as expected
0 commit comments