Skip to content

Commit

Permalink
Small change to a test
Browse files Browse the repository at this point in the history
  • Loading branch information
Maija Y committed Oct 17, 2024
1 parent 385816d commit acd1b64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system-tests/src/tests/join-course-only-by-code.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ test("Join course by code only", async ({}) => {

// Check that student can't see to the course
await student1Page.goto("http://project-331.local/org/uh-mathstat/courses/joinable-by-code-only")
await student1Page.getByText("Unauthorized", { exact: true }).click()
await student1Page.getByText("Unauthorized", { exact: true }).waitFor()

// Go to join page and add student to the course
await student1Page.goto(
Expand All @@ -45,7 +45,7 @@ test("Join course by code only", async ({}) => {

// Check that student can't see to the course
await student2Page.goto("http://project-331.local/org/uh-mathstat/courses/joinable-by-code-only")
await student2Page.getByText("Unauthorized", { exact: true }).click()
await student2Page.getByText("Unauthorized", { exact: true }).waitFor()

// Go to join page and add student to the course
await student2Page.goto(
Expand Down

0 comments on commit acd1b64

Please sign in to comment.