Skip to content

Modern Docker Management, Designed for Everyone

chore: skip volume test if no inuse volumes

Kyle Mendell324edbf38096
diff --git a/tests/spec/volumes.spec.ts b/tests/spec/volumes.spec.ts
index 8ccb6c62b..a1bdb9bb9 100644
--- a/tests/spec/volumes.spec.ts
+++ b/tests/spec/volumes.spec.ts
@@ -111,6 +111,7 @@ test.describe('Volumes Page', () => {
test('Disable remove action when volume is in use', async ({ page }) => {
const volumeInUse = realVolumes.find((vol) => vol.inUse);
+ test.skip(!volumeInUse, 'No volumes in use available for this test');
await page.goto('/volumes');
await page.waitForLoadState('networkidle');