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',