Skip to content

Commit

Permalink
fix playwright test to be more specific at selecting element (fixes f…
Browse files Browse the repository at this point in the history
…ailing client test)
  • Loading branch information
AjayvirS committed Nov 14, 2024
1 parent 633662b commit 52f3bc4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ export class ExamExerciseGroupsPage {
async clickEditGroup(groupID: number) {
await this.page.click(`#group-${groupID} .edit-group`);
}

async clickEditGroupForTestExam() {
await this.page.getByText('Edit').click();
await this.page.getByRole('link', { name: 'Edit' }).click();
}

async clickDeleteGroup(groupID: number, groupName: string) {
Expand Down

0 comments on commit 52f3bc4

Please sign in to comment.