Fix E2E test quality issues: always-passing assertions, unawaited checks, and dead code (#32801)
* Fix E2E test quality issues: always-passing assertions, unawaited checks, and dead code Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * apply review --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
ee5d2609df
commit
68070b2e97
@@ -203,8 +203,6 @@ test.describe("Spotlight", () => {
|
||||
.locator("..")
|
||||
.locator("[role=menuitemradio]")
|
||||
.click();
|
||||
await page.waitForTimeout(3_600_000);
|
||||
|
||||
await page.waitForTimeout(500); // wait for the dialog to settle
|
||||
|
||||
const resultLocator = spotlight.results;
|
||||
|
||||
Reference in New Issue
Block a user