Skip to content

Commit

Permalink
Renames test and improves comments
Browse files Browse the repository at this point in the history
  • Loading branch information
muradium committed May 9, 2024
1 parent 7923888 commit 0987b0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ test.describe('Programming exercise participation', () => {
await expect(programmingExerciseOverview.getCloneRepositoryButton()).not.toBeVisible();
});

test('Students without a team can not participate in the exercise', async ({ login, page, courseList, courseOverview, programmingExerciseOverview }) => {
test('Students without a team can not participate in the team exercise', async ({ login, page, courseList, courseOverview, programmingExerciseOverview }) => {
await login(studentFour, '/');
await page.waitForURL(/\/courses/);
await courseList.openCourse(course.id!);
Expand Down
2 changes: 2 additions & 0 deletions src/test/playwright/support/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export class AdditionalData {
}

// Exercise
// Copied from src\main\webapp\app\entities\exercise.model.ts
export type Exercise = {
title?: string;
type?: ExerciseType;
Expand All @@ -84,6 +85,7 @@ export type Exercise = {
};

// ExerciseMode
// Copied from src\main\webapp\app\entities\exercise.model.ts
export enum ExerciseMode {
INDIVIDUAL = 'INDIVIDUAL',
TEAM = 'TEAM',
Expand Down

0 comments on commit 0987b0d

Please sign in to comment.