We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ab545c commit 6e5660dCopy full SHA for 6e5660d
e2e/student.spec.ts
@@ -45,10 +45,10 @@ test.describe('Student', () => {
45
await page.goto('/test-course-course-id')
46
await acceptDisclaimer(page)
47
48
- await page.getByTestId('choose-prompt-button').click()
49
- await page.getByTestId('prompt-row-Test Prompt').click()
50
-
+ // Students shouldn't see the edit prompt button in the sidebar
51
await expect(page.getByTestId('edit-prompt-button')).toBeHidden()
+
+ // But they should see the prompt details button when a prompt is selected
52
await expect(page.getByTestId('prompt-details-button')).toBeVisible()
53
})
54
0 commit comments