Skip to content

Commit 56487a6

Browse files
authored
Re-enable e2e tests (#27)
Resolves TSS-501 Fixes ActivityType checkbox locator and re-enables end to end tests
1 parent 208deee commit 56487a6

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

e2e/reporting-app/pages/members/activity-reports/ActivityTypePage.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ export class ActivityTypePage extends BasePage {
1717

1818
constructor(page: Page) {
1919
super(page);
20-
this.employmentRadioButton = page.getByLabel('Employment', { exact: true });
21-
this.educationRadioButton = page.getByLabel('Education', { exact: true });
22-
this.communityServiceRadioButton = page.getByLabel('Community Service', { exact: true });
23-
this.hoursRadioButton = page.getByLabel('Report hours spent', { exact: true });
24-
this.incomeRadioButton = page.getByLabel('Report income', { exact: true });
20+
this.employmentRadioButton = page.getByLabel('Employment');
21+
this.educationRadioButton = page.getByLabel('Education');
22+
this.communityServiceRadioButton = page.getByLabel('Community Service');
23+
this.hoursRadioButton = page.getByLabel('Report hours spent');
24+
this.incomeRadioButton = page.getByLabel('Report income');
2525
this.submitButton = page.getByRole('button', { name: /continue/i });
2626
}
2727

e2e/reporting-app/tests/certificationAndActivityReport.spec.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ test('Certification request and activity report flow', async ({ page, emailServi
99
// to external email verification code dependency
1010
test.slow();
1111

12-
return;
13-
1412
const email = emailService.generateEmailAddress(emailService.generateUsername());
1513
const password = 'testPassword';
1614

0 commit comments

Comments
 (0)