mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-03 14:34:40 +00:00
test(webui): add audio comment seek roundtrip E2E test case
This commit is contained in:
@@ -51,6 +51,11 @@ export class CommentSeekPage {
|
||||
await this.waitUntilReady()
|
||||
}
|
||||
|
||||
async gotoVariant(variant: string): Promise<void> {
|
||||
await this.page.goto(`/?variant=${encodeURIComponent(variant)}`)
|
||||
await this.waitUntilReady()
|
||||
}
|
||||
|
||||
/** Wait until the video.js engine has metadata and a usable frame readout. */
|
||||
async waitUntilReady(): Promise<void> {
|
||||
await this.video.waitFor({ state: 'attached' })
|
||||
|
||||
Reference in New Issue
Block a user