The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(e2e): remove redundant URL check in file-drop-guard spec
Steven Enamakel3b1f8d49b66b
diff --git a/app/test/e2e/specs/file-drop-guard.spec.ts b/app/test/e2e/specs/file-drop-guard.spec.tsindex ca01965dda..be9fdaa908 100644--- a/app/test/e2e/specs/file-drop-guard.spec.ts+++ b/app/test/e2e/specs/file-drop-guard.spec.ts@@ -1,4 +1,4 @@-import { browser, expect } from '@wdio/globals';+import { expect } from '@wdio/globals';import { waitForApp } from '../helpers/app-helpers';import { dispatchFileDrop, waitForTestId } from '../helpers/element-helpers';@@ -19,7 +19,6 @@ describe('File drop guard', () => {});it('refuses an unclaimed file drop on the sidebar without navigating the app', async () => {- const urlBeforeDrop = await browser.getUrl();const sidebar = await waitForTestId('root-shell-sidebar');const result = await dispatchFileDrop(sidebar, {name: 'unclaimed.txt',@@ -28,6 +27,5 @@ describe('File drop guard', () => {});expect(result).toEqual({ dragOverPrevented: true, dropPrevented: true, fileCount: 1 });- expect(await browser.getUrl()).toBe(urlBeforeDrop);});});