feat(client): persist playback rate in lecture videos (#58087)

This commit is contained in:
Tom
2025-01-17 02:26:06 -06:00
committed by GitHub
parent 90c1bd2e32
commit 499ccb53a0
6 changed files with 108 additions and 65 deletions
+2 -5
View File
@@ -8,13 +8,10 @@ test.beforeEach(async ({ page }) => {
test.describe('Challenge Video Player Component Tests', () => {
test('should render video player and play button', async ({ page }) => {
await expect(page.locator('.display-youtube-video')).toBeVisible();
await expect(
page.locator('iframe[title="YouTube video player"]')
).toBeVisible();
await expect(
page
.frameLocator('.display-youtube-video')
.getByRole('button', { name: 'Play' })
).toBeVisible();
});
});