From 537c494daa6e006233d68e660377c90edc9086e1 Mon Sep 17 00:00:00 2001 From: Kamil Krzywda Date: Sun, 20 Sep 2026 10:57:57 +0000 Subject: [PATCH] ISS-043: add queue endpoints to e2e OpenAPI path list --- e2e/api.spec.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/e2e/api.spec.ts b/e2e/api.spec.ts index 8c2057a..414e094 100644 --- a/e2e/api.spec.ts +++ b/e2e/api.spec.ts @@ -13,7 +13,7 @@ test('GET /api/version returns the app version from package.json', async ({ page expect(body.version).toBe(pkg.version); }); -test('GET /api/openapi serves the spec with all ten endpoints and the package.json version', async ({ page }) => { +test('GET /api/openapi serves the spec with all twelve endpoints and the package.json version', async ({ page }) => { const res = await page.request.get('/api/openapi'); expect(res.status()).toBe(200); expect(res.headers()['content-type']).toContain('application/json'); @@ -28,6 +28,8 @@ test('GET /api/openapi serves the spec with all ten endpoints and the package.js '/api/packages/{id}/abandon', '/api/packages/{id}/load', '/api/planes/{planeId}/fly', + '/api/planes/{planeId}/queue', + '/api/planes/{planeId}/queue/cancel', '/api/planes/{planeId}/refuel', '/api/sim', '/api/state',