mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-25 00:47:39 +00:00
test(e2e): match renamed time-estimate icon in daily-summary spec
The time-estimate row icon in task-detail-panel was renamed from
`timer` to `hourglass_empty` in eca8d211a; update the supersync
daily-summary selector so the click target resolves again.
This commit is contained in:
parent
89320f0b5d
commit
7dfc7a6efb
1 changed files with 4 additions and 2 deletions
|
|
@ -68,8 +68,10 @@ test.describe('@supersync Daily Summary Sync', () => {
|
|||
await expect(panel).toBeVisible();
|
||||
|
||||
// 2. Click time item to open dialog
|
||||
// Look for the item with the timer icon
|
||||
const timeItem = panel.locator('task-detail-item:has(mat-icon:text("timer"))');
|
||||
// Look for the item with the time-estimate icon
|
||||
const timeItem = panel.locator(
|
||||
'task-detail-item:has(mat-icon:text("hourglass_empty"))',
|
||||
);
|
||||
await timeItem.click();
|
||||
|
||||
// 3. Wait for dialog
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue