Skip to content

Commit a53e7ff

Browse files
committed
Tests
1 parent c79cba0 commit a53e7ff

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

plugins/kiali/src/components/Drawers/WorkloadDetailsDrawer.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ export const WorkloadDetailsDrawer = (props: Props) => {
7777
namespace={props.namespace}
7878
health={health}
7979
view={DRAWER}
80-
data-test="drawer"
8180
/>
8281
)}
8382
</>

plugins/kiali/src/components/VirtualList/Renderers.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ const DrawerDiv = ({
8181
toggleDrawer2: (isOpen: boolean) => void;
8282
}) => {
8383
return (
84-
<div style={{ padding: '10px', minWidth: '400px' }}>
84+
<div style={{ padding: '10px', minWidth: '400px' }} data-test="drawer">
8585
<div style={{ paddingBottom: '10px' }}>
8686
<IconButton
8787
key="dismiss"

plugins/kiali/tests/kiali.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ test.describe('Kiali plugin', () => {
3838
});
3939

4040
test('Workloads Drawer', async () => {
41-
await page.locator('#drawer_bookinfo_details').click();
41+
await page.locator('#drawer_bookinfo_details-v1').click();
4242
expect(page.locator('[data-test="drawer"]')).toBeDefined();
4343
});
4444
});

0 commit comments

Comments
 (0)