Skip to content

Commit dda69bb

Browse files
committed
fixed 'no room to enter"
1 parent 99d4c39 commit dda69bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/fixtures/background.ts

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export const test = extensionBase.extend<BackgroundFixtures>({
2626
await using room = new BilibiliPage(frontPage, api)
2727
const generator = Strategy.random(rooms, Math.min(rooms.length, 5))
2828
const info = await cacher.findRoomTypeWithCache(isThemeRoom ? 'theme' : 'normal', generator)
29+
test.skip(!info, `找不到${isThemeRoom ? '' : '不是'}大海報的房間。`)
2930
await room.enterToRoom(info)
3031
test.skip(await room.checkIfNotSupport(), '瀏覽器版本過低')
3132
await use(room)

0 commit comments

Comments
 (0)