fix: update selectors for disabled state in thumbnail component

This commit is contained in:
Norihide Saito
2025-11-30 11:44:15 +09:00
parent d10dfc05cc
commit e9a36f0391
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ export const thumbnailUtils = {
async expectSelectedReadonly(page: Page, assetId: string) {
const container = thumbnailUtils.withAssetId(page, assetId);
await expect(container.locator('[data-selected]')).toBeVisible();
await expect(container.locator('button[role="checkbox"][disabled]')).toBeVisible();
await expect(container.locator('[data-disabled]')).toBeVisible();
},
async expectTimelineHasOnScreenAssets(page: Page) {
const first = await thumbnailUtils.getFirstInViewport(page);