Skip to content

Commit 814a097

Browse files
committed
CCM-10893 Add TODO
1 parent 24df031 commit 814a097

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test-team/template-mgmt-component-tests/template-mgmt-common.steps.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,15 @@ export function assertSkipToMainContent({ page, id }: CommonStepsProps) {
4141

4242
await page.page.keyboard.press('Tab');
4343

44+
await expect(page.skipLink).toHaveAttribute('href', '#maincontent');
45+
4446
await expect(page.skipLink).toBeFocused();
4547

4648
await page.page.keyboard.press('Enter');
4749

50+
await expect(page.page.locator('#maincontent')).toBeVisible();
51+
52+
// TODO: CCM-11939 Reinstate this assertion
4853
// eslint-disable-next-line sonarjs/no-commented-code
4954
// await expect(page.pageHeading).toBeFocused();
5055
});

0 commit comments

Comments
 (0)