Skip to content

Commit 6e5660d

Browse files
committed
fix: test
1 parent 3ab545c commit 6e5660d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

e2e/student.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ test.describe('Student', () => {
4545
await page.goto('/test-course-course-id')
4646
await acceptDisclaimer(page)
4747

48-
await page.getByTestId('choose-prompt-button').click()
49-
await page.getByTestId('prompt-row-Test Prompt').click()
50-
48+
// Students shouldn't see the edit prompt button in the sidebar
5149
await expect(page.getByTestId('edit-prompt-button')).toBeHidden()
50+
51+
// But they should see the prompt details button when a prompt is selected
5252
await expect(page.getByTestId('prompt-details-button')).toBeVisible()
5353
})
5454
})

0 commit comments

Comments
 (0)