Skip to content

Commit

Permalink
fixed e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
nkolba committed Sep 30, 2022
1 parent 4004334 commit dc2eef4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/e2e.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ test('Preload versions', async () => {

test('workspace isConnected', async () => {
const page = await electronApp.firstWindow();
const workspace = await page.evaluate(() => globalThis.workspace);
const connected = await page.evaluate(() => workspace.isConnected());
expect(workspace).toBeDefined();
const connected = await page.evaluate(() =>
globalThis.agentFrame.isConnected(),
);
expect(connected).to.equal(true);
});

Expand Down

0 comments on commit dc2eef4

Please sign in to comment.