This commit is contained in:
2026-10-18 12:42:04 +07:00
parent 30999630f0
commit b05d55b3fa
15 changed files with 261 additions and 208 deletions
+7
View File
@@ -442,6 +442,13 @@ app.whenReady().then(async () => {
await poll(async () => (await state()).channels.main.volume === 42, 'plan media volume')
assert.equal((await state()).channels.main.desired, 'paused')
assert.equal((await state()).channels.music.desired, 'playing')
await clickMedia('Продолжить')
await poll(
async () => (await state()).channels.main.status === 'playing',
'plan media resumes',
)
await clickMedia('Сначала')
await poll(async () => (await state()).channels.main.position < 0.5, 'plan media restarts')
await clickMedia('Стоп')
await poll(
async () => (await state()).channels.main.status === 'stopped',