Modern Docker Management, Designed for Everyone
Go composecontainer-managementcontainersdockerdocker-composedocker-managementgoself-hostedsveltekittypescriptweb-ui
tests: remove and refactor some tests
Kyle Mendellb58c9ce52327
diff --git a/tests/spec/compose.spec.ts b/tests/spec/compose.spec.tsindex c964137b8..346e4af60 100644--- a/tests/spec/compose.spec.ts+++ b/tests/spec/compose.spec.ts@@ -60,16 +60,6 @@ test.describe('Compose Projects Page', () => {await expect(page.locator('table')).toBeVisible();});- test('should allow refreshing projects list', async ({ page }) => {- const refreshButton = page.getByRole('button', { name: 'Refresh' });- await expect(refreshButton).toBeVisible();- await refreshButton.click();-- // Wait for refresh to complete- await page.waitForLoadState('networkidle');- await expect(refreshButton).not.toBeDisabled();- });-test('should show project actions menu', async ({ page }) => {test.skip(!realProjects.length, 'No projects available for actions menu test');diff --git a/tests/spec/images.spec.ts b/tests/spec/images.spec.tsindex 60558da6f..d8904495c 100644--- a/tests/spec/images.spec.ts+++ b/tests/spec/images.spec.ts@@ -122,14 +122,7 @@ test.describe('Images Page', () => {page.locator('div[role="heading"][aria-level="2"][data-dialog-title]:has-text("Delete Image")')).toBeVisible();- const removePromise = page.waitForRequest(- (req) => req.url().includes(`/api/images/${deleteableImage.id}`) && req.method() === 'DELETE'- );-await page.locator('button:has-text("Delete")').click();- const removeRequest = await removePromise;-- expect(removeRequest).toBeTruthy();await expect(page.locator('li[data-sonner-toast][data-type="success"] div[data-title]')).toBeVisible();});