From 0eebf2206d4e8bb8a95092b170a102734660a98b Mon Sep 17 00:00:00 2001 From: Mike Jensen Date: Tue, 29 Oct 2024 15:39:07 -0600 Subject: [PATCH] PLAT-2100 PLAT-2209: Re-enable tests after stories marked as done --- abacus-and-api-integration-tests/e2e/abacus-app.spec.ts | 3 +-- abacus-and-api-integration-tests/e2e/backend-api.spec.ts | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/abacus-and-api-integration-tests/e2e/abacus-app.spec.ts b/abacus-and-api-integration-tests/e2e/abacus-app.spec.ts index fa92e270..26c97543 100644 --- a/abacus-and-api-integration-tests/e2e/abacus-app.spec.ts +++ b/abacus-and-api-integration-tests/e2e/abacus-app.spec.ts @@ -148,8 +148,7 @@ test.describe('', () => { }) }); - // TODO: Uncomment after fixing the PLAT-2209 bug which leads to assertion failure - test.skip('Login succeeds on the Entity Details page, actual data is loaded', async ({ page }) => { + test('Login succeeds on the Entity Details page, actual data is loaded', async ({ page }) => { await authorize(page, "/entitlements") await Promise.all([ diff --git a/abacus-and-api-integration-tests/e2e/backend-api.spec.ts b/abacus-and-api-integration-tests/e2e/backend-api.spec.ts index 93e3d97d..78fe6c82 100644 --- a/abacus-and-api-integration-tests/e2e/backend-api.spec.ts +++ b/abacus-and-api-integration-tests/e2e/backend-api.spec.ts @@ -339,8 +339,7 @@ test.describe('API:', () => { }) }) - // TODO: skipped till fixing PLAT-2100 (there is no entity existence validation for now, so 200 is returned) - test.skip('Entitlements request fails when use non-existed EntityID', async ({authority, attributeName,attributeValue}) => { + test('Entitlements request fails when use non-existed EntityID', async ({authority, attributeName,attributeValue}) => { const entitlementPayload = `${authority}/attr/${attributeName}/value/${attributeValue}`; const nonExistedEntityId = "x-x-x-x" const createAttributeResponse = await apiContext.post(`http://localhost:65432/api/entitlements/entitlements/${nonExistedEntityId}`, {