Skip to content

Commit 138cbb8

Browse files
committed
fix: update desktop e2e test for ConnectIDEs popover UI
The copy-config button is now inside a popover triggered by the JSON icon. Update TC-GW-007 to check for the client grid instead. Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
1 parent 19ce4e3 commit 138cbb8

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

tests/e2e/specs/gateway.wdio.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ describe('Gateway Status - Dashboard', () => {
7676
expect(hasGatewayUrl).toBe(true);
7777
});
7878

79-
it('TC-GW-007: Copy client config button exists', async () => {
80-
const copyBtn = await byTestId('copy-config-btn');
81-
const isDisplayed = await copyBtn.isDisplayed().catch(() => false);
82-
83-
await browser.saveScreenshot('./tests/e2e/screenshots/gw-07-copy-config.png');
84-
79+
it('TC-GW-007: Connect IDEs client grid exists', async () => {
80+
const clientGrid = await byTestId('client-grid');
81+
const isDisplayed = await clientGrid.isDisplayed().catch(() => false);
82+
83+
await browser.saveScreenshot('./tests/e2e/screenshots/gw-07-connect-ides.png');
84+
8585
expect(isDisplayed).toBe(true);
8686
});
8787

0 commit comments

Comments
 (0)