From 5d072b66da0f3fb1c0aa2f9a8dd0f8a2afe29355 Mon Sep 17 00:00:00 2001 From: cassandraGoose Date: Tue, 6 Aug 2024 15:31:18 -0600 Subject: [PATCH] fix all tests --- tests/pathway.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/pathway.spec.ts b/tests/pathway.spec.ts index 9699131..60152f5 100644 --- a/tests/pathway.spec.ts +++ b/tests/pathway.spec.ts @@ -32,6 +32,7 @@ test('shows appropriate content areas and competency details', async ({ page }) await expect(page.locator('section')).toContainText('2D Design Fundamentals'); await expect(page.locator('section')).toContainText('Drawing'); await expect(page.locator('section')).toContainText('Painting'); + await page.getByTestId('toggle-competency-details').first().click(); await expect(page.getByRole('cell', { name: 'Completed' })).toBeVisible(); await expect(page.getByRole('cell', { name: 'Competency' })).toBeVisible(); await expect(page.getByRole('cell', { name: 'Description' })).toBeVisible();