Skip to content

Modern Docker Management, Designed for Everyone

tests: fix test selectors

Kyle Mendellaab72022da59
diff --git a/tests/spec/images.spec.ts b/tests/spec/images.spec.ts
index d8904495c..8e951aa05 100644
--- a/tests/spec/images.spec.ts
+++ b/tests/spec/images.spec.ts
@@ -119,10 +119,10 @@ test.describe('Images Page', () => {
console.log(firstRow);
await expect(
- page.locator('div[role="heading"][aria-level="2"][data-dialog-title]:has-text("Delete Image")')
+ page.locator('div[role="heading"][aria-level="2"][data-dialog-title]:has-text("Remove Image")')
).toBeVisible();
- await page.locator('button:has-text("Delete")').click();
+ await page.locator('button:has-text("Remove")').click();
await expect(page.locator('li[data-sonner-toast][data-type="success"] div[data-title]')).toBeVisible();
});