feat: update version to 1.0.16 and modify user authentication cookies
All checks were successful
Chore App Build, Test, and Push Docker Images / build-and-push (push) Successful in 2m24s
All checks were successful
Chore App Build, Test, and Push Docker Images / build-and-push (push) Successful in 2m24s
This commit is contained in:
@@ -47,7 +47,7 @@ test.describe('Routine item drag-to-reorder', () => {
|
||||
await page.goto(`/parent/tasks/routines/${routineId}/edit`)
|
||||
await page.locator('.item-row').first().waitFor({ state: 'visible' })
|
||||
|
||||
await page.locator('.item-row').nth(0).dragTo(page.locator('.item-row').nth(2))
|
||||
await page.locator('.item-row').nth(0).locator('.drag-handle').dragTo(page.locator('.item-row').nth(2))
|
||||
|
||||
const names = await page.locator('.item-name').allTextContents()
|
||||
expect(names).toEqual([ITEM_B, ITEM_C, ITEM_A])
|
||||
@@ -58,7 +58,7 @@ test.describe('Routine item drag-to-reorder', () => {
|
||||
await page.locator('.item-row').first().waitFor({ state: 'visible' })
|
||||
|
||||
// Drag first to last: [A, B, C] → [B, C, A]
|
||||
await page.locator('.item-row').nth(0).dragTo(page.locator('.item-row').nth(2))
|
||||
await page.locator('.item-row').nth(0).locator('.drag-handle').dragTo(page.locator('.item-row').nth(2))
|
||||
|
||||
// Confirm the drag updated the DOM before saving
|
||||
const afterDrag = await page.locator('.item-name').allTextContents()
|
||||
|
||||
Reference in New Issue
Block a user