Files
calendar/frontend/e2e/results.xml
Connor Johnstone 7d00a2dadb
Some checks failed
Integration Tests / e2e-tests (push) Failing after 4s
Integration Tests / unit-tests (push) Failing after 1m1s
Implement comprehensive frontend integration testing with Playwright
- Add Playwright E2E testing framework with cross-browser support (Chrome, Firefox)
- Create authentication helpers for CalDAV server integration
- Implement calendar interaction helpers with event creation, drag-and-drop, and view switching
- Add comprehensive drag-and-drop test suite with event cleanup
- Configure CI/CD integration with Gitea Actions for headless testing
- Support both local development and CI environments with proper dependency management
- Include video recording, screenshots, and HTML reporting for test debugging
- Handle Firefox-specific timing and interaction challenges with force clicks and timeouts

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-08 11:54:40 -04:00

1108 lines
59 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<testsuites id="" name="" tests="28" failures="8" skipped="2" errors="0" time="83.579643">
<testsuite name="auth.spec.ts" timestamp="2025-09-08T15:44:09.456Z" hostname="chromium" tests="3" failures="0" skipped="0" time="7.913" errors="0">
<testcase name="Authentication should show login form initially" classname="auth.spec.ts" time="2.255">
<system-out>
<![CDATA[
[[ATTACHMENT|test-results/auth-Authentication-should-show-login-form-initially-chromium/video.webm]]
]]>
</system-out>
</testcase>
<testcase name="Authentication should show validation errors for empty form" classname="auth.spec.ts" time="2.355">
<system-out>
<![CDATA[
[[ATTACHMENT|test-results/auth-Authentication-should-da141-ation-errors-for-empty-form-chromium/video.webm]]
]]>
</system-out>
</testcase>
<testcase name="Authentication should handle invalid credentials" classname="auth.spec.ts" time="3.303">
<system-out>
<![CDATA[
[[ATTACHMENT|test-results/auth-Authentication-should-handle-invalid-credentials-chromium/video.webm]]
]]>
</system-out>
</testcase>
</testsuite>
<testsuite name="calendar-ui.spec.ts" timestamp="2025-09-08T15:44:09.456Z" hostname="chromium" tests="7" failures="0" skipped="1" time="51.85" errors="0">
<testcase name="Calendar UI Interactions should switch between month and week views" classname="calendar-ui.spec.ts" time="6.916">
<system-out>
<![CDATA[
[[ATTACHMENT|test-results/calendar-ui-Calendar-UI-In-77be8-etween-month-and-week-views-chromium/video.webm]]
]]>
</system-out>
</testcase>
<testcase name="Calendar UI Interactions should navigate between time periods" classname="calendar-ui.spec.ts" time="7.786">
<system-out>
<![CDATA[
[[ATTACHMENT|test-results/calendar-ui-Calendar-UI-In-6fe79-vigate-between-time-periods-chromium/video.webm]]
]]>
</system-out>
</testcase>
<testcase name="Calendar UI Interactions should create and display events" classname="calendar-ui.spec.ts" time="6.106">
<properties>
<property name="skip" value="Event creation workflow needs to be determined based on actual app behavior">
</property>
</properties>
<skipped>
</skipped>
</testcase>
<testcase name="Calendar UI Interactions should toggle calendar visibility" classname="calendar-ui.spec.ts" time="6.369">
<system-out>
<![CDATA[
[[ATTACHMENT|test-results/calendar-ui-Calendar-UI-In-54a88--toggle-calendar-visibility-chromium/video.webm]]
]]>
</system-out>
</testcase>
<testcase name="Calendar UI Interactions should change themes" classname="calendar-ui.spec.ts" time="8.005">
<system-out>
<![CDATA[
[[ATTACHMENT|test-results/calendar-ui-Calendar-UI-Interactions-should-change-themes-chromium/video.webm]]
]]>
</system-out>
</testcase>
<testcase name="Calendar UI Interactions should change styles" classname="calendar-ui.spec.ts" time="6.809">
<system-out>
<![CDATA[
[[ATTACHMENT|test-results/calendar-ui-Calendar-UI-Interactions-should-change-styles-chromium/video.webm]]
]]>
</system-out>
</testcase>
<testcase name="Calendar UI Interactions should open and close calendar management modal" classname="calendar-ui.spec.ts" time="9.859">
<system-out>
<![CDATA[
[[ATTACHMENT|test-results/calendar-ui-Calendar-UI-In-b8f15-e-calendar-management-modal-chromium/video.webm]]
]]>
</system-out>
</testcase>
</testsuite>
<testsuite name="drag-and-drop.spec.ts" timestamp="2025-09-08T15:44:09.456Z" hostname="chromium" tests="4" failures="4" skipped="0" time="224.95" errors="0">
<testcase name="Drag and Drop Functionality should drag and drop events in week view" classname="drag-and-drop.spec.ts" time="55.383">
<failure message="drag-and-drop.spec.ts:30:7 should drag and drop events in week view" type="FAILURE">
<![CDATA[ [chromium] drag-and-drop.spec.ts:30:7 Drag and Drop Functionality should drag and drop events in week view
Test timeout of 45000ms exceeded.
Error: expect(locator).toBeVisible() failed
Locator: locator('.week-event').filter({ hasText: 'Drag Test Event 1757346256374' })
Expected: visible
Received: <element(s) not found>
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for locator('.week-event').filter({ hasText: 'Drag Test Event 1757346256374' })
83 | // Verify the event is still visible (may have moved)
84 | const eventAfterDrag = await calendarHelpers.getEventByTitle(eventTitle);
> 85 | await expect(eventAfterDrag).toBeVisible();
| ^
86 | });
87 |
88 | test('should handle drag and drop across different days in week view', async ({ page }) => {
at /home/connor/docs/projects/calendar/frontend/e2e/tests/drag-and-drop.spec.ts:85:34
attachment #5: screenshot (image/png) ──────────────────────────────────────────────────────────
../test-results/drag-and-drop-Drag-and-Dro-0292c-nd-drop-events-in-week-view-chromium/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #8: video (video/webm) ──────────────────────────────────────────────────────────────
../test-results/drag-and-drop-Drag-and-Dro-0292c-nd-drop-events-in-week-view-chromium/video.webm
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: ../test-results/drag-and-drop-Drag-and-Dro-0292c-nd-drop-events-in-week-view-chromium/error-context.md
]]>
</failure>
<system-out>
<![CDATA[Looking for event with title: Drag Test Event 1757346256374
Total events found: 19
Event 0: Invalid Drag Test 17573459285761:00 - 02:00 PM
Event 1: Cross Day Drag 17573459272139:00 - 10:00 AM
Event 2: Invalid Drag Test 17573462587781:00 - 02:00 PM
Event 3: BOSK and Beyond6:00 - 08:00 PM
Event 4: All Hands12:30 - 01:00 PM
[[ATTACHMENT|test-results/drag-and-drop-Drag-and-Dro-0292c-nd-drop-events-in-week-view-chromium/test-failed-1.png]]
[[ATTACHMENT|test-results/drag-and-drop-Drag-and-Dro-0292c-nd-drop-events-in-week-view-chromium/video.webm]]
[[ATTACHMENT|test-results/drag-and-drop-Drag-and-Dro-0292c-nd-drop-events-in-week-view-chromium/error-context.md]]
]]>
</system-out>
</testcase>
<testcase name="Drag and Drop Functionality should handle drag and drop across different days in week view" classname="drag-and-drop.spec.ts" time="58.357">
<failure message="drag-and-drop.spec.ts:88:7 should handle drag and drop across different days in week view" type="FAILURE">
<![CDATA[ [chromium] drag-and-drop.spec.ts:88:7 Drag and Drop Functionality should handle drag and drop across different days in week view
Test timeout of 45000ms exceeded.
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
../test-results/drag-and-drop-Drag-and-Dro-b1811-different-days-in-week-view-chromium/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
../test-results/drag-and-drop-Drag-and-Dro-b1811-different-days-in-week-view-chromium/video.webm
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: ../test-results/drag-and-drop-Drag-and-Dro-b1811-different-days-in-week-view-chromium/error-context.md
]]>
</failure>
<system-out>
<![CDATA[Could not delete event "Cross Day Drag 1757346258183": ExpectError: [2mexpect([22m[31mlocator[39m[2m).[22mtoBeHidden[2m()[22m failed
Locator: locator('.week-event').filter({ hasText: 'Cross Day Drag 1757346258183' })
Expected: hidden
Received: visible
Timeout: 5000ms
Call log:
[2m - Expect "toBeHidden" with timeout 5000ms[22m
[2m - waiting for locator('.week-event').filter({ hasText: 'Cross Day Drag 1757346258183' })[22m
[2m 9 × locator resolved to <div class="week-event" data-external="false">…</div>[22m
[2m - unexpected value "visible"[22m
at CalendarHelpers.deleteEvent [90m(/home/connor/docs/projects/calendar/frontend/e2e/[39mhelpers/calendar-helpers.ts:275:25[90m)[39m
at [90m/home/connor/docs/projects/calendar/frontend/e2e/[39mtests/drag-and-drop.spec.ts:23:9 {
matcherResult: {
message: [32m'\x1B[2mexpect(\x1B[22m\x1B[31mlocator\x1B[39m\x1B[2m).\x1B[22mtoBeHidden\x1B[2m()\x1B[22m failed\n'[39m +
[32m'\n'[39m +
[32m"Locator: locator('.week-event').filter({ hasText: 'Cross Day Drag 1757346258183' })\n"[39m +
[32m'Expected: hidden\n'[39m +
[32m'Received: visible\n'[39m +
[32m'Timeout: 5000ms\n'[39m +
[32m'\n'[39m +
[32m'Call log:\n'[39m +
[32m'\x1B[2m - Expect "toBeHidden" with timeout 5000ms\x1B[22m\n'[39m +
[32m"\x1B[2m - waiting for locator('.week-event').filter({ hasText: 'Cross Day Drag 1757346258183' })\x1B[22m\n"[39m +
[32m'\x1B[2m 9 × locator resolved to <div class="week-event" data-external="false">…</div>\x1B[22m\n'[39m +
[32m'\x1B[2m - unexpected value "visible"\x1B[22m\n'[39m,
pass: [33mfalse[39m,
actual: [32m'visible'[39m,
name: [32m'toBeHidden'[39m,
expected: [32m'hidden'[39m,
log: [
[32m' - Expect "toBeHidden" with timeout 5000ms'[39m,
[32m" - waiting for locator('.week-event').filter({ hasText: 'Cross Day Drag 1757346258183' })"[39m,
[32m' 9 × locator resolved to <div class="week-event" data-external="false">…</div>'[39m,
[32m' - unexpected value "visible"'[39m
],
timeout: [33m5000[39m
},
[32mSymbol(step)[39m: {
category: [32m'expect'[39m,
apiName: [32m'expect.toBeHidden'[39m,
title: [32m'Expect "toBeHidden"'[39m,
params: { expected: [36m[Object][39m },
infectParentStepsWithError: [90mundefined[39m,
stepId: [32m'expect@65'[39m,
group: [90mundefined[39m,
boxedStack: [90mundefined[39m,
location: {
file: [32m'/home/connor/docs/projects/calendar/frontend/e2e/helpers/calendar-helpers.ts'[39m,
line: [33m275[39m,
column: [33m25[39m,
function: [32m'CalendarHelpers.deleteEvent'[39m
},
steps: [],
attachmentIndices: [],
info: TestStepInfoImpl {
annotations: [],
_testInfo: [36m[TestInfoImpl][39m,
_stepId: [32m'expect@65'[39m,
_title: [32m'Expect "toBeHidden"'[39m,
_parentStep: [36m[TestStepInfoImpl][39m,
skip: [36m[Function (anonymous)][39m
},
recoverFromStepError: [36m[AsyncFunction: recoverFromStepError][39m,
complete: [36m[Function: complete][39m,
endWallTime: [33m1757346311195[39m,
error: {
message: [32m'Error: \x1B[2mexpect(\x1B[22m\x1B[31mlocator\x1B[39m\x1B[2m).\x1B[22mtoBeHidden\x1B[2m()\x1B[22m failed\n'[39m +
[32m'\n'[39m +
[32m"Locator: locator('.week-event').filter({ hasText: 'Cross Day Drag 1757346258183' })\n"[39m +
[32m'Expected: hidden\n'[39m +
[32m'Received: visible\n'[39m +
[32m'Timeout: 5000ms\n'[39m +
[32m'\n'[39m +
[32m'Call log:\n'[39m +
[32m'\x1B[2m - Expect "toBeHidden" with timeout 5000ms\x1B[22m\n'[39m +
[32m"\x1B[2m - waiting for locator('.week-event').filter({ hasText: 'Cross Day Drag 1757346258183' })\x1B[22m\n"[39m +
[32m'\x1B[2m 9 × locator resolved to <div class="week-event" data-external="false">…</div>\x1B[22m\n'[39m +
[32m'\x1B[2m - unexpected value "visible"\x1B[22m\n'[39m,
stack: [32m'Error: \x1B[2mexpect(\x1B[22m\x1B[31mlocator\x1B[39m\x1B[2m).\x1B[22mtoBeHidden\x1B[2m()\x1B[22m failed\n'[39m +
[32m'\n'[39m +
[32m"Locator: locator('.week-event').filter({ hasText: 'Cross Day Drag 1757346258183' })\n"[39m +
[32m'Expected: hidden\n'[39m +
[32m'Received: visible\n'[39m +
[32m'Timeout: 5000ms\n'[39m +
[32m'\n'[39m +
[32m'Call log:\n'[39m +
[32m'\x1B[2m - Expect "toBeHidden" with timeout 5000ms\x1B[22m\n'[39m +
[32m"\x1B[2m - waiting for locator('.week-event').filter({ hasText: 'Cross Day Drag 1757346258183' })\x1B[22m\n"[39m +
[32m'\x1B[2m 9 × locator resolved to <div class="week-event" data-external="false">…</div>\x1B[22m\n'[39m +
[32m'\x1B[2m - unexpected value "visible"\x1B[22m\n'[39m +
[32m'\n'[39m +
[32m' at CalendarHelpers.deleteEvent (/home/connor/docs/projects/calendar/frontend/e2e/helpers/calendar-helpers.ts:275:25)\n'[39m +
[32m' at /home/connor/docs/projects/calendar/frontend/e2e/tests/drag-and-drop.spec.ts:23:9'[39m,
cause: [90mundefined[39m
}
}
}
[[ATTACHMENT|test-results/drag-and-drop-Drag-and-Dro-b1811-different-days-in-week-view-chromium/test-failed-1.png]]
[[ATTACHMENT|test-results/drag-and-drop-Drag-and-Dro-b1811-different-days-in-week-view-chromium/video.webm]]
[[ATTACHMENT|test-results/drag-and-drop-Drag-and-Dro-b1811-different-days-in-week-view-chromium/error-context.md]]
]]>
</system-out>
</testcase>
<testcase name="Drag and Drop Functionality should show visual feedback during drag operations" classname="drag-and-drop.spec.ts" time="58.077">
<failure message="drag-and-drop.spec.ts:116:7 should show visual feedback during drag operations" type="FAILURE">
<![CDATA[ [chromium] drag-and-drop.spec.ts:116:7 Drag and Drop Functionality should show visual feedback during drag operations
Test timeout of 45000ms exceeded.
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
../test-results/drag-and-drop-Drag-and-Dro-2aba2-back-during-drag-operations-chromium/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
../test-results/drag-and-drop-Drag-and-Dro-2aba2-back-during-drag-operations-chromium/video.webm
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: ../test-results/drag-and-drop-Drag-and-Dro-2aba2-back-during-drag-operations-chromium/error-context.md
]]>
</failure>
<system-out>
<![CDATA[No drag visual feedback detected - this may be normal behavior
Could not delete event "Visual Feedback Test 1757346258108": ExpectError: [2mexpect([22m[31mlocator[39m[2m).[22mtoBeHidden[2m()[22m failed
Locator: locator('.week-event').filter({ hasText: 'Visual Feedback Test 1757346258108' })
Expected: hidden
Received: visible
Timeout: 5000ms
Call log:
[2m - Expect "toBeHidden" with timeout 5000ms[22m
[2m - waiting for locator('.week-event').filter({ hasText: 'Visual Feedback Test 1757346258108' })[22m
[2m 9 × locator resolved to <div class="week-event" data-external="false">…</div>[22m
[2m - unexpected value "visible"[22m
at CalendarHelpers.deleteEvent [90m(/home/connor/docs/projects/calendar/frontend/e2e/[39mhelpers/calendar-helpers.ts:275:25[90m)[39m
at [90m/home/connor/docs/projects/calendar/frontend/e2e/[39mtests/drag-and-drop.spec.ts:23:9 {
matcherResult: {
message: [32m'\x1B[2mexpect(\x1B[22m\x1B[31mlocator\x1B[39m\x1B[2m).\x1B[22mtoBeHidden\x1B[2m()\x1B[22m failed\n'[39m +
[32m'\n'[39m +
[32m"Locator: locator('.week-event').filter({ hasText: 'Visual Feedback Test 1757346258108' })\n"[39m +
[32m'Expected: hidden\n'[39m +
[32m'Received: visible\n'[39m +
[32m'Timeout: 5000ms\n'[39m +
[32m'\n'[39m +
[32m'Call log:\n'[39m +
[32m'\x1B[2m - Expect "toBeHidden" with timeout 5000ms\x1B[22m\n'[39m +
[32m"\x1B[2m - waiting for locator('.week-event').filter({ hasText: 'Visual Feedback Test 1757346258108' })\x1B[22m\n"[39m +
[32m'\x1B[2m 9 × locator resolved to <div class="week-event" data-external="false">…</div>\x1B[22m\n'[39m +
[32m'\x1B[2m - unexpected value "visible"\x1B[22m\n'[39m,
pass: [33mfalse[39m,
actual: [32m'visible'[39m,
name: [32m'toBeHidden'[39m,
expected: [32m'hidden'[39m,
log: [
[32m' - Expect "toBeHidden" with timeout 5000ms'[39m,
[32m" - waiting for locator('.week-event').filter({ hasText: 'Visual Feedback Test 1757346258108' })"[39m,
[32m' 9 × locator resolved to <div class="week-event" data-external="false">…</div>'[39m,
[32m' - unexpected value "visible"'[39m
],
timeout: [33m5000[39m
},
[32mSymbol(step)[39m: {
category: [32m'expect'[39m,
apiName: [32m'expect.toBeHidden'[39m,
title: [32m'Expect "toBeHidden"'[39m,
params: { expected: [36m[Object][39m },
infectParentStepsWithError: [90mundefined[39m,
stepId: [32m'expect@65'[39m,
group: [90mundefined[39m,
boxedStack: [90mundefined[39m,
location: {
file: [32m'/home/connor/docs/projects/calendar/frontend/e2e/helpers/calendar-helpers.ts'[39m,
line: [33m275[39m,
column: [33m25[39m,
function: [32m'CalendarHelpers.deleteEvent'[39m
},
steps: [],
attachmentIndices: [],
info: TestStepInfoImpl {
annotations: [],
_testInfo: [36m[TestInfoImpl][39m,
_stepId: [32m'expect@65'[39m,
_title: [32m'Expect "toBeHidden"'[39m,
_parentStep: [36m[TestStepInfoImpl][39m,
skip: [36m[Function (anonymous)][39m
},
recoverFromStepError: [36m[AsyncFunction: recoverFromStepError][39m,
complete: [36m[Function: complete][39m,
endWallTime: [33m1757346311228[39m,
error: {
message: [32m'Error: \x1B[2mexpect(\x1B[22m\x1B[31mlocator\x1B[39m\x1B[2m).\x1B[22mtoBeHidden\x1B[2m()\x1B[22m failed\n'[39m +
[32m'\n'[39m +
[32m"Locator: locator('.week-event').filter({ hasText: 'Visual Feedback Test 1757346258108' })\n"[39m +
[32m'Expected: hidden\n'[39m +
[32m'Received: visible\n'[39m +
[32m'Timeout: 5000ms\n'[39m +
[32m'\n'[39m +
[32m'Call log:\n'[39m +
[32m'\x1B[2m - Expect "toBeHidden" with timeout 5000ms\x1B[22m\n'[39m +
[32m"\x1B[2m - waiting for locator('.week-event').filter({ hasText: 'Visual Feedback Test 1757346258108' })\x1B[22m\n"[39m +
[32m'\x1B[2m 9 × locator resolved to <div class="week-event" data-external="false">…</div>\x1B[22m\n'[39m +
[32m'\x1B[2m - unexpected value "visible"\x1B[22m\n'[39m,
stack: [32m'Error: \x1B[2mexpect(\x1B[22m\x1B[31mlocator\x1B[39m\x1B[2m).\x1B[22mtoBeHidden\x1B[2m()\x1B[22m failed\n'[39m +
[32m'\n'[39m +
[32m"Locator: locator('.week-event').filter({ hasText: 'Visual Feedback Test 1757346258108' })\n"[39m +
[32m'Expected: hidden\n'[39m +
[32m'Received: visible\n'[39m +
[32m'Timeout: 5000ms\n'[39m +
[32m'\n'[39m +
[32m'Call log:\n'[39m +
[32m'\x1B[2m - Expect "toBeHidden" with timeout 5000ms\x1B[22m\n'[39m +
[32m"\x1B[2m - waiting for locator('.week-event').filter({ hasText: 'Visual Feedback Test 1757346258108' })\x1B[22m\n"[39m +
[32m'\x1B[2m 9 × locator resolved to <div class="week-event" data-external="false">…</div>\x1B[22m\n'[39m +
[32m'\x1B[2m - unexpected value "visible"\x1B[22m\n'[39m +
[32m'\n'[39m +
[32m' at CalendarHelpers.deleteEvent (/home/connor/docs/projects/calendar/frontend/e2e/helpers/calendar-helpers.ts:275:25)\n'[39m +
[32m' at /home/connor/docs/projects/calendar/frontend/e2e/tests/drag-and-drop.spec.ts:23:9'[39m,
cause: [90mundefined[39m
}
}
}
[[ATTACHMENT|test-results/drag-and-drop-Drag-and-Dro-2aba2-back-during-drag-operations-chromium/test-failed-1.png]]
[[ATTACHMENT|test-results/drag-and-drop-Drag-and-Dro-2aba2-back-during-drag-operations-chromium/video.webm]]
[[ATTACHMENT|test-results/drag-and-drop-Drag-and-Dro-2aba2-back-during-drag-operations-chromium/error-context.md]]
]]>
</system-out>
</testcase>
<testcase name="Drag and Drop Functionality should handle invalid drag and drop operations" classname="drag-and-drop.spec.ts" time="53.133">
<failure message="drag-and-drop.spec.ts:173:7 should handle invalid drag and drop operations" type="FAILURE">
<![CDATA[ [chromium] drag-and-drop.spec.ts:173:7 Drag and Drop Functionality should handle invalid drag and drop operations
Test timeout of 45000ms exceeded.
Error: expect(locator).toBeVisible() failed
Locator: locator('.week-event').filter({ hasText: 'Invalid Drag Test 1757346258778' })
Expected: visible
Received: <element(s) not found>
Timeout: 5000ms
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for locator('.week-event').filter({ hasText: 'Invalid Drag Test 1757346258778' })
192 | await calendarHelpers.waitForCalendarLoad();
193 | const originalEvent = await calendarHelpers.getEventByTitle(eventTitle);
> 194 | await expect(originalEvent).toBeVisible();
| ^
195 |
196 | // Event should still be visible in its original position (we can't verify exact time slot without data-time attributes)
197 | // The main assertion above (originalEvent should be visible) is sufficient to verify the invalid drag was rejected
at /home/connor/docs/projects/calendar/frontend/e2e/tests/drag-and-drop.spec.ts:194:33
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
../test-results/drag-and-drop-Drag-and-Dro-e0bc6-id-drag-and-drop-operations-chromium/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
../test-results/drag-and-drop-Drag-and-Dro-e0bc6-id-drag-and-drop-operations-chromium/video.webm
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: ../test-results/drag-and-drop-Drag-and-Dro-e0bc6-id-drag-and-drop-operations-chromium/error-context.md
]]>
</failure>
<system-out>
<![CDATA[Could not delete event "Invalid Drag Test 1757346258778": ExpectError: [2mexpect([22m[31mlocator[39m[2m).[22mtoBeVisible[2m()[22m failed
Locator: locator('.week-event').filter({ hasText: 'Invalid Drag Test 1757346258778' })
Expected: visible
Received: <element(s) not found>
Timeout: 5000ms
Call log:
[2m - Expect "toBeVisible" with timeout 5000ms[22m
[2m - waiting for locator('.week-event').filter({ hasText: 'Invalid Drag Test 1757346258778' })[22m
at CalendarHelpers.deleteEvent [90m(/home/connor/docs/projects/calendar/frontend/e2e/[39mhelpers/calendar-helpers.ts:258:25[90m)[39m
at [90m/home/connor/docs/projects/calendar/frontend/e2e/[39mtests/drag-and-drop.spec.ts:23:9 {
matcherResult: {
message: [32m'\x1B[2mexpect(\x1B[22m\x1B[31mlocator\x1B[39m\x1B[2m).\x1B[22mtoBeVisible\x1B[2m()\x1B[22m failed\n'[39m +
[32m'\n'[39m +
[32m"Locator: locator('.week-event').filter({ hasText: 'Invalid Drag Test 1757346258778' })\n"[39m +
[32m'Expected: visible\n'[39m +
[32m'Received: <element(s) not found>\n'[39m +
[32m'Timeout: 5000ms\n'[39m +
[32m'\n'[39m +
[32m'Call log:\n'[39m +
[32m'\x1B[2m - Expect "toBeVisible" with timeout 5000ms\x1B[22m\n'[39m +
[32m"\x1B[2m - waiting for locator('.week-event').filter({ hasText: 'Invalid Drag Test 1757346258778' })\x1B[22m\n"[39m,
pass: [33mfalse[39m,
actual: [32m'<element(s) not found>'[39m,
name: [32m'toBeVisible'[39m,
expected: [32m'visible'[39m,
log: [
[32m' - Expect "toBeVisible" with timeout 5000ms'[39m,
[32m" - waiting for locator('.week-event').filter({ hasText: 'Invalid Drag Test 1757346258778' })"[39m
],
timeout: [33m5000[39m
},
[32mSymbol(step)[39m: {
category: [32m'expect'[39m,
apiName: [32m'expect.toBeVisible'[39m,
title: [32m'Expect "toBeVisible"'[39m,
params: { expected: [36m[Object][39m },
infectParentStepsWithError: [90mundefined[39m,
stepId: [32m'expect@69'[39m,
group: [90mundefined[39m,
boxedStack: [90mundefined[39m,
location: {
file: [32m'/home/connor/docs/projects/calendar/frontend/e2e/helpers/calendar-helpers.ts'[39m,
line: [33m258[39m,
column: [33m25[39m,
function: [32m'CalendarHelpers.deleteEvent'[39m
},
steps: [],
attachmentIndices: [],
info: TestStepInfoImpl {
annotations: [],
_testInfo: [36m[TestInfoImpl][39m,
_stepId: [32m'expect@69'[39m,
_title: [32m'Expect "toBeVisible"'[39m,
_parentStep: [36m[TestStepInfoImpl][39m,
skip: [36m[Function (anonymous)][39m
},
recoverFromStepError: [36m[AsyncFunction: recoverFromStepError][39m,
complete: [36m[Function: complete][39m,
endWallTime: [33m1757346307202[39m,
error: {
message: [32m'Error: \x1B[2mexpect(\x1B[22m\x1B[31mlocator\x1B[39m\x1B[2m).\x1B[22mtoBeVisible\x1B[2m()\x1B[22m failed\n'[39m +
[32m'\n'[39m +
[32m"Locator: locator('.week-event').filter({ hasText: 'Invalid Drag Test 1757346258778' })\n"[39m +
[32m'Expected: visible\n'[39m +
[32m'Received: <element(s) not found>\n'[39m +
[32m'Timeout: 5000ms\n'[39m +
[32m'\n'[39m +
[32m'Call log:\n'[39m +
[32m'\x1B[2m - Expect "toBeVisible" with timeout 5000ms\x1B[22m\n'[39m +
[32m"\x1B[2m - waiting for locator('.week-event').filter({ hasText: 'Invalid Drag Test 1757346258778' })\x1B[22m\n"[39m,
stack: [32m'Error: \x1B[2mexpect(\x1B[22m\x1B[31mlocator\x1B[39m\x1B[2m).\x1B[22mtoBeVisible\x1B[2m()\x1B[22m failed\n'[39m +
[32m'\n'[39m +
[32m"Locator: locator('.week-event').filter({ hasText: 'Invalid Drag Test 1757346258778' })\n"[39m +
[32m'Expected: visible\n'[39m +
[32m'Received: <element(s) not found>\n'[39m +
[32m'Timeout: 5000ms\n'[39m +
[32m'\n'[39m +
[32m'Call log:\n'[39m +
[32m'\x1B[2m - Expect "toBeVisible" with timeout 5000ms\x1B[22m\n'[39m +
[32m"\x1B[2m - waiting for locator('.week-event').filter({ hasText: 'Invalid Drag Test 1757346258778' })\x1B[22m\n"[39m +
[32m'\n'[39m +
[32m' at CalendarHelpers.deleteEvent (/home/connor/docs/projects/calendar/frontend/e2e/helpers/calendar-helpers.ts:258:25)\n'[39m +
[32m' at /home/connor/docs/projects/calendar/frontend/e2e/tests/drag-and-drop.spec.ts:23:9'[39m,
cause: [90mundefined[39m
}
}
}
[[ATTACHMENT|test-results/drag-and-drop-Drag-and-Dro-e0bc6-id-drag-and-drop-operations-chromium/test-failed-1.png]]
[[ATTACHMENT|test-results/drag-and-drop-Drag-and-Dro-e0bc6-id-drag-and-drop-operations-chromium/video.webm]]
[[ATTACHMENT|test-results/drag-and-drop-Drag-and-Dro-e0bc6-id-drag-and-drop-operations-chromium/error-context.md]]
]]>
</system-out>
</testcase>
</testsuite>
<testsuite name="auth.spec.ts" timestamp="2025-09-08T15:44:09.456Z" hostname="firefox" tests="3" failures="0" skipped="0" time="6.634" errors="0">
<testcase name="Authentication should show login form initially" classname="auth.spec.ts" time="2.775">
</testcase>
<testcase name="Authentication should show validation errors for empty form" classname="auth.spec.ts" time="1.802">
</testcase>
<testcase name="Authentication should handle invalid credentials" classname="auth.spec.ts" time="2.057">
</testcase>
</testsuite>
<testsuite name="calendar-ui.spec.ts" timestamp="2025-09-08T15:44:09.456Z" hostname="firefox" tests="7" failures="2" skipped="1" time="135.967" errors="0">
<testcase name="Calendar UI Interactions should switch between month and week views" classname="calendar-ui.spec.ts" time="9.526">
</testcase>
<testcase name="Calendar UI Interactions should navigate between time periods" classname="calendar-ui.spec.ts" time="45.161">
<failure message="calendar-ui.spec.ts:30:7 should navigate between time periods" type="FAILURE">
<![CDATA[ [firefox] calendar-ui.spec.ts:30:7 Calendar UI Interactions should navigate between time periods
Test timeout of 45000ms exceeded.
Error: locator.click: Test timeout of 45000ms exceeded.
Call log:
- waiting for getByRole('button', { name: '' })
- locator resolved to <button class="nav-button"></button>
- attempting click action
- waiting for element to be visible, enabled and stable
at ../helpers/calendar-helpers.ts:41
39 |
40 | async navigateToPreviousPeriod() {
> 41 | await this.page.getByRole('button', { name: '' }).click();
| ^
42 | await this.waitForCalendarLoad();
43 | }
44 |
at CalendarHelpers.navigateToPreviousPeriod (/home/connor/docs/projects/calendar/frontend/e2e/helpers/calendar-helpers.ts:41:56)
at /home/connor/docs/projects/calendar/frontend/e2e/tests/calendar-ui.spec.ts:40:27
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
../test-results/calendar-ui-Calendar-UI-In-6fe79-vigate-between-time-periods-firefox/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: ../test-results/calendar-ui-Calendar-UI-In-6fe79-vigate-between-time-periods-firefox/error-context.md
]]>
</failure>
<system-out>
<![CDATA[
[[ATTACHMENT|test-results/calendar-ui-Calendar-UI-In-6fe79-vigate-between-time-periods-firefox/test-failed-1.png]]
[[ATTACHMENT|test-results/calendar-ui-Calendar-UI-In-6fe79-vigate-between-time-periods-firefox/error-context.md]]
]]>
</system-out>
</testcase>
<testcase name="Calendar UI Interactions should create and display events" classname="calendar-ui.spec.ts" time="7.65">
<properties>
<property name="skip" value="Event creation workflow needs to be determined based on actual app behavior">
</property>
</properties>
<skipped>
</skipped>
</testcase>
<testcase name="Calendar UI Interactions should toggle calendar visibility" classname="calendar-ui.spec.ts" time="45.179">
<properties>
<property name="skip" value="Calendars not accessible for visibility testing">
</property>
</properties>
<failure message="calendar-ui.spec.ts:70:7 should toggle calendar visibility" type="FAILURE">
<![CDATA[ [firefox] calendar-ui.spec.ts:70:7 Calendar UI Interactions should toggle calendar visibility
Test timeout of 45000ms exceeded.
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
../test-results/calendar-ui-Calendar-UI-In-54a88--toggle-calendar-visibility-firefox/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: ../test-results/calendar-ui-Calendar-UI-In-54a88--toggle-calendar-visibility-firefox/error-context.md
]]>
</failure>
<system-out>
<![CDATA[
[[ATTACHMENT|test-results/calendar-ui-Calendar-UI-In-54a88--toggle-calendar-visibility-firefox/test-failed-1.png]]
[[ATTACHMENT|test-results/calendar-ui-Calendar-UI-In-54a88--toggle-calendar-visibility-firefox/error-context.md]]
]]>
</system-out>
</testcase>
<testcase name="Calendar UI Interactions should change themes" classname="calendar-ui.spec.ts" time="7.91">
</testcase>
<testcase name="Calendar UI Interactions should change styles" classname="calendar-ui.spec.ts" time="6.77">
</testcase>
<testcase name="Calendar UI Interactions should open and close calendar management modal" classname="calendar-ui.spec.ts" time="13.771">
</testcase>
</testsuite>
<testsuite name="drag-and-drop.spec.ts" timestamp="2025-09-08T15:44:09.456Z" hostname="firefox" tests="4" failures="2" skipped="0" time="190.398" errors="0">
<testcase name="Drag and Drop Functionality should drag and drop events in week view" classname="drag-and-drop.spec.ts" time="62.795">
<system-out>
<![CDATA[Looking for event with title: Drag Test Event 1757346275445
Total events found: 21
Event 0: Invalid Drag Test 17573459285761:00 - 02:00 PM
Event 1: Cross Day Drag 17573459272139:00 - 10:00 AM
Event 2: Invalid Drag Test 17573462587781:00 - 02:00 PM
Event 3: Drag Test Event 17573462754451:00 - 02:00 AM
Event 4: Invalid Drag Test 17573462774961:00 - 02:00 PM
Could not delete event "Drag Test Event 1757346275445": ExpectError: [2mexpect([22m[31mlocator[39m[2m).[22mtoBeHidden[2m()[22m failed
Locator: locator('.week-event').filter({ hasText: 'Drag Test Event 1757346275445' })
Expected: hidden
Received: visible
Timeout: 5000ms
Call log:
[2m - Expect "toBeHidden" with timeout 5000ms[22m
[2m - waiting for locator('.week-event').filter({ hasText: 'Drag Test Event 1757346275445' })[22m
[2m 9 × locator resolved to <div class="week-event" data-external="false">…</div>[22m
[2m - unexpected value "visible"[22m
at CalendarHelpers.deleteEvent [90m(/home/connor/docs/projects/calendar/frontend/e2e/[39mhelpers/calendar-helpers.ts:275:25[90m)[39m
at [90m/home/connor/docs/projects/calendar/frontend/e2e/[39mtests/drag-and-drop.spec.ts:23:9 {
matcherResult: {
message: [32m'\x1B[2mexpect(\x1B[22m\x1B[31mlocator\x1B[39m\x1B[2m).\x1B[22mtoBeHidden\x1B[2m()\x1B[22m failed\n'[39m +
[32m'\n'[39m +
[32m"Locator: locator('.week-event').filter({ hasText: 'Drag Test Event 1757346275445' })\n"[39m +
[32m'Expected: hidden\n'[39m +
[32m'Received: visible\n'[39m +
[32m'Timeout: 5000ms\n'[39m +
[32m'\n'[39m +
[32m'Call log:\n'[39m +
[32m'\x1B[2m - Expect "toBeHidden" with timeout 5000ms\x1B[22m\n'[39m +
[32m"\x1B[2m - waiting for locator('.week-event').filter({ hasText: 'Drag Test Event 1757346275445' })\x1B[22m\n"[39m +
[32m'\x1B[2m 9 × locator resolved to <div class="week-event" data-external="false">…</div>\x1B[22m\n'[39m +
[32m'\x1B[2m - unexpected value "visible"\x1B[22m\n'[39m,
pass: [33mfalse[39m,
actual: [32m'visible'[39m,
name: [32m'toBeHidden'[39m,
expected: [32m'hidden'[39m,
log: [
[32m' - Expect "toBeHidden" with timeout 5000ms'[39m,
[32m" - waiting for locator('.week-event').filter({ hasText: 'Drag Test Event 1757346275445' })"[39m,
[32m' 9 × locator resolved to <div class="week-event" data-external="false">…</div>'[39m,
[32m' - unexpected value "visible"'[39m
],
timeout: [33m5000[39m
},
[32mSymbol(step)[39m: {
category: [32m'expect'[39m,
apiName: [32m'expect.toBeHidden'[39m,
title: [32m'Expect "toBeHidden"'[39m,
params: { expected: [36m[Object][39m },
infectParentStepsWithError: [90mundefined[39m,
stepId: [32m'expect@92'[39m,
group: [90mundefined[39m,
boxedStack: [90mundefined[39m,
location: {
file: [32m'/home/connor/docs/projects/calendar/frontend/e2e/helpers/calendar-helpers.ts'[39m,
line: [33m275[39m,
column: [33m25[39m,
function: [32m'CalendarHelpers.deleteEvent'[39m
},
steps: [],
attachmentIndices: [],
info: TestStepInfoImpl {
annotations: [],
_testInfo: [36m[TestInfoImpl][39m,
_stepId: [32m'expect@92'[39m,
_title: [32m'Expect "toBeHidden"'[39m,
_parentStep: [36m[TestStepInfoImpl][39m,
skip: [36m[Function (anonymous)][39m
},
recoverFromStepError: [36m[AsyncFunction: recoverFromStepError][39m,
complete: [36m[Function: complete][39m,
endWallTime: [33m1757346332555[39m,
error: {
message: [32m'Error: \x1B[2mexpect(\x1B[22m\x1B[31mlocator\x1B[39m\x1B[2m).\x1B[22mtoBeHidden\x1B[2m()\x1B[22m failed\n'[39m +
[32m'\n'[39m +
[32m"Locator: locator('.week-event').filter({ hasText: 'Drag Test Event 1757346275445' })\n"[39m +
[32m'Expected: hidden\n'[39m +
[32m'Received: visible\n'[39m +
[32m'Timeout: 5000ms\n'[39m +
[32m'\n'[39m +
[32m'Call log:\n'[39m +
[32m'\x1B[2m - Expect "toBeHidden" with timeout 5000ms\x1B[22m\n'[39m +
[32m"\x1B[2m - waiting for locator('.week-event').filter({ hasText: 'Drag Test Event 1757346275445' })\x1B[22m\n"[39m +
[32m'\x1B[2m 9 × locator resolved to <div class="week-event" data-external="false">…</div>\x1B[22m\n'[39m +
[32m'\x1B[2m - unexpected value "visible"\x1B[22m\n'[39m,
stack: [32m'Error: \x1B[2mexpect(\x1B[22m\x1B[31mlocator\x1B[39m\x1B[2m).\x1B[22mtoBeHidden\x1B[2m()\x1B[22m failed\n'[39m +
[32m'\n'[39m +
[32m"Locator: locator('.week-event').filter({ hasText: 'Drag Test Event 1757346275445' })\n"[39m +
[32m'Expected: hidden\n'[39m +
[32m'Received: visible\n'[39m +
[32m'Timeout: 5000ms\n'[39m +
[32m'\n'[39m +
[32m'Call log:\n'[39m +
[32m'\x1B[2m - Expect "toBeHidden" with timeout 5000ms\x1B[22m\n'[39m +
[32m"\x1B[2m - waiting for locator('.week-event').filter({ hasText: 'Drag Test Event 1757346275445' })\x1B[22m\n"[39m +
[32m'\x1B[2m 9 × locator resolved to <div class="week-event" data-external="false">…</div>\x1B[22m\n'[39m +
[32m'\x1B[2m - unexpected value "visible"\x1B[22m\n'[39m +
[32m'\n'[39m +
[32m' at CalendarHelpers.deleteEvent (/home/connor/docs/projects/calendar/frontend/e2e/helpers/calendar-helpers.ts:275:25)\n'[39m +
[32m' at /home/connor/docs/projects/calendar/frontend/e2e/tests/drag-and-drop.spec.ts:23:9'[39m,
cause: [90mundefined[39m
}
}
}
]]>
</system-out>
</testcase>
<testcase name="Drag and Drop Functionality should handle drag and drop across different days in week view" classname="drag-and-drop.spec.ts" time="55.299">
<failure message="drag-and-drop.spec.ts:88:7 should handle drag and drop across different days in week view" type="FAILURE">
<![CDATA[ [firefox] drag-and-drop.spec.ts:88:7 Drag and Drop Functionality should handle drag and drop across different days in week view
Error: expect(locator).toBeVisible() failed
Locator: locator('.week-event').filter({ hasText: 'Cross Day Drag 1757346278627' })
Expected: visible
Received: <element(s) not found>
Timeout: 5000ms
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for locator('.week-event').filter({ hasText: 'Cross Day Drag 1757346278627' })
98 |
99 | const event = await calendarHelpers.getEventByTitle(eventTitle);
> 100 | await expect(event).toBeVisible();
| ^
101 |
102 | // Try to drag to a different day (next day, same time)
103 | const targetSlot = page.locator('[data-day-offset="1"][data-time="09:00"]');
at /home/connor/docs/projects/calendar/frontend/e2e/tests/drag-and-drop.spec.ts:100:25
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
../test-results/drag-and-drop-Drag-and-Dro-b1811-different-days-in-week-view-firefox/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: ../test-results/drag-and-drop-Drag-and-Dro-b1811-different-days-in-week-view-firefox/error-context.md
]]>
</failure>
<system-out>
<![CDATA[Could not delete event "Cross Day Drag 1757346278627": ExpectError: [2mexpect([22m[31mlocator[39m[2m).[22mtoBeHidden[2m()[22m failed
Locator: locator('.week-event').filter({ hasText: 'Cross Day Drag 1757346278627' })
Expected: hidden
Received: visible
Timeout: 5000ms
Call log:
[2m - Expect "toBeHidden" with timeout 5000ms[22m
[2m - waiting for locator('.week-event').filter({ hasText: 'Cross Day Drag 1757346278627' })[22m
[2m 8 × locator resolved to <div class="week-event" data-external="false">…</div>[22m
[2m - unexpected value "visible"[22m
at CalendarHelpers.deleteEvent [90m(/home/connor/docs/projects/calendar/frontend/e2e/[39mhelpers/calendar-helpers.ts:275:25[90m)[39m
at [90m/home/connor/docs/projects/calendar/frontend/e2e/[39mtests/drag-and-drop.spec.ts:23:9 {
matcherResult: {
message: [32m'\x1B[2mexpect(\x1B[22m\x1B[31mlocator\x1B[39m\x1B[2m).\x1B[22mtoBeHidden\x1B[2m()\x1B[22m failed\n'[39m +
[32m'\n'[39m +
[32m"Locator: locator('.week-event').filter({ hasText: 'Cross Day Drag 1757346278627' })\n"[39m +
[32m'Expected: hidden\n'[39m +
[32m'Received: visible\n'[39m +
[32m'Timeout: 5000ms\n'[39m +
[32m'\n'[39m +
[32m'Call log:\n'[39m +
[32m'\x1B[2m - Expect "toBeHidden" with timeout 5000ms\x1B[22m\n'[39m +
[32m"\x1B[2m - waiting for locator('.week-event').filter({ hasText: 'Cross Day Drag 1757346278627' })\x1B[22m\n"[39m +
[32m'\x1B[2m 8 × locator resolved to <div class="week-event" data-external="false">…</div>\x1B[22m\n'[39m +
[32m'\x1B[2m - unexpected value "visible"\x1B[22m\n'[39m,
pass: [33mfalse[39m,
actual: [32m'visible'[39m,
name: [32m'toBeHidden'[39m,
expected: [32m'hidden'[39m,
log: [
[32m' - Expect "toBeHidden" with timeout 5000ms'[39m,
[32m" - waiting for locator('.week-event').filter({ hasText: 'Cross Day Drag 1757346278627' })"[39m,
[32m' 8 × locator resolved to <div class="week-event" data-external="false">…</div>'[39m,
[32m' - unexpected value "visible"'[39m
],
timeout: [33m5000[39m
},
[32mSymbol(step)[39m: {
category: [32m'expect'[39m,
apiName: [32m'expect.toBeHidden'[39m,
title: [32m'Expect "toBeHidden"'[39m,
params: { expected: [36m[Object][39m },
infectParentStepsWithError: [90mundefined[39m,
stepId: [32m'expect@70'[39m,
group: [90mundefined[39m,
boxedStack: [90mundefined[39m,
location: {
file: [32m'/home/connor/docs/projects/calendar/frontend/e2e/helpers/calendar-helpers.ts'[39m,
line: [33m275[39m,
column: [33m25[39m,
function: [32m'CalendarHelpers.deleteEvent'[39m
},
steps: [],
attachmentIndices: [],
info: TestStepInfoImpl {
annotations: [],
_testInfo: [36m[TestInfoImpl][39m,
_stepId: [32m'expect@70'[39m,
_title: [32m'Expect "toBeHidden"'[39m,
_parentStep: [36m[TestStepInfoImpl][39m,
skip: [36m[Function (anonymous)][39m
},
recoverFromStepError: [36m[AsyncFunction: recoverFromStepError][39m,
complete: [36m[Function: complete][39m,
endWallTime: [33m1757346325268[39m,
error: {
message: [32m'Error: \x1B[2mexpect(\x1B[22m\x1B[31mlocator\x1B[39m\x1B[2m).\x1B[22mtoBeHidden\x1B[2m()\x1B[22m failed\n'[39m +
[32m'\n'[39m +
[32m"Locator: locator('.week-event').filter({ hasText: 'Cross Day Drag 1757346278627' })\n"[39m +
[32m'Expected: hidden\n'[39m +
[32m'Received: visible\n'[39m +
[32m'Timeout: 5000ms\n'[39m +
[32m'\n'[39m +
[32m'Call log:\n'[39m +
[32m'\x1B[2m - Expect "toBeHidden" with timeout 5000ms\x1B[22m\n'[39m +
[32m"\x1B[2m - waiting for locator('.week-event').filter({ hasText: 'Cross Day Drag 1757346278627' })\x1B[22m\n"[39m +
[32m'\x1B[2m 8 × locator resolved to <div class="week-event" data-external="false">…</div>\x1B[22m\n'[39m +
[32m'\x1B[2m - unexpected value "visible"\x1B[22m\n'[39m,
stack: [32m'Error: \x1B[2mexpect(\x1B[22m\x1B[31mlocator\x1B[39m\x1B[2m).\x1B[22mtoBeHidden\x1B[2m()\x1B[22m failed\n'[39m +
[32m'\n'[39m +
[32m"Locator: locator('.week-event').filter({ hasText: 'Cross Day Drag 1757346278627' })\n"[39m +
[32m'Expected: hidden\n'[39m +
[32m'Received: visible\n'[39m +
[32m'Timeout: 5000ms\n'[39m +
[32m'\n'[39m +
[32m'Call log:\n'[39m +
[32m'\x1B[2m - Expect "toBeHidden" with timeout 5000ms\x1B[22m\n'[39m +
[32m"\x1B[2m - waiting for locator('.week-event').filter({ hasText: 'Cross Day Drag 1757346278627' })\x1B[22m\n"[39m +
[32m'\x1B[2m 8 × locator resolved to <div class="week-event" data-external="false">…</div>\x1B[22m\n'[39m +
[32m'\x1B[2m - unexpected value "visible"\x1B[22m\n'[39m +
[32m'\n'[39m +
[32m' at CalendarHelpers.deleteEvent (/home/connor/docs/projects/calendar/frontend/e2e/helpers/calendar-helpers.ts:275:25)\n'[39m +
[32m' at /home/connor/docs/projects/calendar/frontend/e2e/tests/drag-and-drop.spec.ts:23:9'[39m,
cause: [90mundefined[39m
}
}
}
[[ATTACHMENT|test-results/drag-and-drop-Drag-and-Dro-b1811-different-days-in-week-view-firefox/test-failed-1.png]]
[[ATTACHMENT|test-results/drag-and-drop-Drag-and-Dro-b1811-different-days-in-week-view-firefox/error-context.md]]
]]>
</system-out>
</testcase>
<testcase name="Drag and Drop Functionality should show visual feedback during drag operations" classname="drag-and-drop.spec.ts" time="44.669">
<system-out>
<![CDATA[No drag visual feedback detected - this may be normal behavior
Could not delete event "Visual Feedback Test 1757346276833": ExpectError: [2mexpect([22m[31mlocator[39m[2m).[22mtoBeHidden[2m()[22m failed
Locator: locator('.week-event').filter({ hasText: 'Visual Feedback Test 1757346276833' })
Expected: hidden
Received: visible
Timeout: 5000ms
Call log:
[2m - Expect "toBeHidden" with timeout 5000ms[22m
[2m - waiting for locator('.week-event').filter({ hasText: 'Visual Feedback Test 1757346276833' })[22m
[2m 8 × locator resolved to <div class="week-event" data-external="false">…</div>[22m
[2m - unexpected value "visible"[22m
at CalendarHelpers.deleteEvent [90m(/home/connor/docs/projects/calendar/frontend/e2e/[39mhelpers/calendar-helpers.ts:275:25[90m)[39m
at [90m/home/connor/docs/projects/calendar/frontend/e2e/[39mtests/drag-and-drop.spec.ts:23:9 {
matcherResult: {
message: [32m'\x1B[2mexpect(\x1B[22m\x1B[31mlocator\x1B[39m\x1B[2m).\x1B[22mtoBeHidden\x1B[2m()\x1B[22m failed\n'[39m +
[32m'\n'[39m +
[32m"Locator: locator('.week-event').filter({ hasText: 'Visual Feedback Test 1757346276833' })\n"[39m +
[32m'Expected: hidden\n'[39m +
[32m'Received: visible\n'[39m +
[32m'Timeout: 5000ms\n'[39m +
[32m'\n'[39m +
[32m'Call log:\n'[39m +
[32m'\x1B[2m - Expect "toBeHidden" with timeout 5000ms\x1B[22m\n'[39m +
[32m"\x1B[2m - waiting for locator('.week-event').filter({ hasText: 'Visual Feedback Test 1757346276833' })\x1B[22m\n"[39m +
[32m'\x1B[2m 8 × locator resolved to <div class="week-event" data-external="false">…</div>\x1B[22m\n'[39m +
[32m'\x1B[2m - unexpected value "visible"\x1B[22m\n'[39m,
pass: [33mfalse[39m,
actual: [32m'visible'[39m,
name: [32m'toBeHidden'[39m,
expected: [32m'hidden'[39m,
log: [
[32m' - Expect "toBeHidden" with timeout 5000ms'[39m,
[32m" - waiting for locator('.week-event').filter({ hasText: 'Visual Feedback Test 1757346276833' })"[39m,
[32m' 8 × locator resolved to <div class="week-event" data-external="false">…</div>'[39m,
[32m' - unexpected value "visible"'[39m
],
timeout: [33m5000[39m
},
[32mSymbol(step)[39m: {
category: [32m'expect'[39m,
apiName: [32m'expect.toBeHidden'[39m,
title: [32m'Expect "toBeHidden"'[39m,
params: { expected: [36m[Object][39m },
infectParentStepsWithError: [90mundefined[39m,
stepId: [32m'expect@83'[39m,
group: [90mundefined[39m,
boxedStack: [90mundefined[39m,
location: {
file: [32m'/home/connor/docs/projects/calendar/frontend/e2e/helpers/calendar-helpers.ts'[39m,
line: [33m275[39m,
column: [33m25[39m,
function: [32m'CalendarHelpers.deleteEvent'[39m
},
steps: [],
attachmentIndices: [],
info: TestStepInfoImpl {
annotations: [],
_testInfo: [36m[TestInfoImpl][39m,
_stepId: [32m'expect@83'[39m,
_title: [32m'Expect "toBeHidden"'[39m,
_parentStep: [36m[TestStepInfoImpl][39m,
skip: [36m[Function (anonymous)][39m
},
recoverFromStepError: [36m[AsyncFunction: recoverFromStepError][39m,
complete: [36m[Function: complete][39m,
endWallTime: [33m1757346315713[39m,
error: {
message: [32m'Error: \x1B[2mexpect(\x1B[22m\x1B[31mlocator\x1B[39m\x1B[2m).\x1B[22mtoBeHidden\x1B[2m()\x1B[22m failed\n'[39m +
[32m'\n'[39m +
[32m"Locator: locator('.week-event').filter({ hasText: 'Visual Feedback Test 1757346276833' })\n"[39m +
[32m'Expected: hidden\n'[39m +
[32m'Received: visible\n'[39m +
[32m'Timeout: 5000ms\n'[39m +
[32m'\n'[39m +
[32m'Call log:\n'[39m +
[32m'\x1B[2m - Expect "toBeHidden" with timeout 5000ms\x1B[22m\n'[39m +
[32m"\x1B[2m - waiting for locator('.week-event').filter({ hasText: 'Visual Feedback Test 1757346276833' })\x1B[22m\n"[39m +
[32m'\x1B[2m 8 × locator resolved to <div class="week-event" data-external="false">…</div>\x1B[22m\n'[39m +
[32m'\x1B[2m - unexpected value "visible"\x1B[22m\n'[39m,
stack: [32m'Error: \x1B[2mexpect(\x1B[22m\x1B[31mlocator\x1B[39m\x1B[2m).\x1B[22mtoBeHidden\x1B[2m()\x1B[22m failed\n'[39m +
[32m'\n'[39m +
[32m"Locator: locator('.week-event').filter({ hasText: 'Visual Feedback Test 1757346276833' })\n"[39m +
[32m'Expected: hidden\n'[39m +
[32m'Received: visible\n'[39m +
[32m'Timeout: 5000ms\n'[39m +
[32m'\n'[39m +
[32m'Call log:\n'[39m +
[32m'\x1B[2m - Expect "toBeHidden" with timeout 5000ms\x1B[22m\n'[39m +
[32m"\x1B[2m - waiting for locator('.week-event').filter({ hasText: 'Visual Feedback Test 1757346276833' })\x1B[22m\n"[39m +
[32m'\x1B[2m 8 × locator resolved to <div class="week-event" data-external="false">…</div>\x1B[22m\n'[39m +
[32m'\x1B[2m - unexpected value "visible"\x1B[22m\n'[39m +
[32m'\n'[39m +
[32m' at CalendarHelpers.deleteEvent (/home/connor/docs/projects/calendar/frontend/e2e/helpers/calendar-helpers.ts:275:25)\n'[39m +
[32m' at /home/connor/docs/projects/calendar/frontend/e2e/tests/drag-and-drop.spec.ts:23:9'[39m,
cause: [90mundefined[39m
}
}
}
]]>
</system-out>
</testcase>
<testcase name="Drag and Drop Functionality should handle invalid drag and drop operations" classname="drag-and-drop.spec.ts" time="27.635">
<failure message="drag-and-drop.spec.ts:173:7 should handle invalid drag and drop operations" type="FAILURE">
<![CDATA[ [firefox] drag-and-drop.spec.ts:173:7 Drag and Drop Functionality should handle invalid drag and drop operations
Error: expect(locator).toBeVisible() failed
Locator: locator('.week-event').filter({ hasText: 'Invalid Drag Test 1757346277496' })
Expected: visible
Received: <element(s) not found>
Timeout: 5000ms
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for locator('.week-event').filter({ hasText: 'Invalid Drag Test 1757346277496' })
192 | await calendarHelpers.waitForCalendarLoad();
193 | const originalEvent = await calendarHelpers.getEventByTitle(eventTitle);
> 194 | await expect(originalEvent).toBeVisible();
| ^
195 |
196 | // Event should still be visible in its original position (we can't verify exact time slot without data-time attributes)
197 | // The main assertion above (originalEvent should be visible) is sufficient to verify the invalid drag was rejected
at /home/connor/docs/projects/calendar/frontend/e2e/tests/drag-and-drop.spec.ts:194:33
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
../test-results/drag-and-drop-Drag-and-Dro-e0bc6-id-drag-and-drop-operations-firefox/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: ../test-results/drag-and-drop-Drag-and-Dro-e0bc6-id-drag-and-drop-operations-firefox/error-context.md
]]>
</failure>
<system-out>
<![CDATA[Could not delete event "Invalid Drag Test 1757346277496": ExpectError: [2mexpect([22m[31mlocator[39m[2m).[22mtoBeVisible[2m()[22m failed
Locator: locator('.week-event').filter({ hasText: 'Invalid Drag Test 1757346277496' })
Expected: visible
Received: <element(s) not found>
Timeout: 5000ms
Call log:
[2m - Expect "toBeVisible" with timeout 5000ms[22m
[2m - waiting for locator('.week-event').filter({ hasText: 'Invalid Drag Test 1757346277496' })[22m
at CalendarHelpers.deleteEvent [90m(/home/connor/docs/projects/calendar/frontend/e2e/[39mhelpers/calendar-helpers.ts:258:25[90m)[39m
at [90m/home/connor/docs/projects/calendar/frontend/e2e/[39mtests/drag-and-drop.spec.ts:23:9 {
matcherResult: {
message: [32m'\x1B[2mexpect(\x1B[22m\x1B[31mlocator\x1B[39m\x1B[2m).\x1B[22mtoBeVisible\x1B[2m()\x1B[22m failed\n'[39m +
[32m'\n'[39m +
[32m"Locator: locator('.week-event').filter({ hasText: 'Invalid Drag Test 1757346277496' })\n"[39m +
[32m'Expected: visible\n'[39m +
[32m'Received: <element(s) not found>\n'[39m +
[32m'Timeout: 5000ms\n'[39m +
[32m'\n'[39m +
[32m'Call log:\n'[39m +
[32m'\x1B[2m - Expect "toBeVisible" with timeout 5000ms\x1B[22m\n'[39m +
[32m"\x1B[2m - waiting for locator('.week-event').filter({ hasText: 'Invalid Drag Test 1757346277496' })\x1B[22m\n"[39m,
pass: [33mfalse[39m,
actual: [32m'<element(s) not found>'[39m,
name: [32m'toBeVisible'[39m,
expected: [32m'visible'[39m,
log: [
[32m' - Expect "toBeVisible" with timeout 5000ms'[39m,
[32m" - waiting for locator('.week-event').filter({ hasText: 'Invalid Drag Test 1757346277496' })"[39m
],
timeout: [33m5000[39m
},
[32mSymbol(step)[39m: {
category: [32m'expect'[39m,
apiName: [32m'expect.toBeVisible'[39m,
title: [32m'Expect "toBeVisible"'[39m,
params: { expected: [36m[Object][39m },
infectParentStepsWithError: [90mundefined[39m,
stepId: [32m'expect@69'[39m,
group: [90mundefined[39m,
boxedStack: [90mundefined[39m,
location: {
file: [32m'/home/connor/docs/projects/calendar/frontend/e2e/helpers/calendar-helpers.ts'[39m,
line: [33m258[39m,
column: [33m25[39m,
function: [32m'CalendarHelpers.deleteEvent'[39m
},
steps: [],
attachmentIndices: [],
info: TestStepInfoImpl {
annotations: [],
_testInfo: [36m[TestInfoImpl][39m,
_stepId: [32m'expect@69'[39m,
_title: [32m'Expect "toBeVisible"'[39m,
_parentStep: [36m[TestStepInfoImpl][39m,
skip: [36m[Function (anonymous)][39m
},
recoverFromStepError: [36m[AsyncFunction: recoverFromStepError][39m,
complete: [36m[Function: complete][39m,
endWallTime: [33m1757346299433[39m,
error: {
message: [32m'Error: \x1B[2mexpect(\x1B[22m\x1B[31mlocator\x1B[39m\x1B[2m).\x1B[22mtoBeVisible\x1B[2m()\x1B[22m failed\n'[39m +
[32m'\n'[39m +
[32m"Locator: locator('.week-event').filter({ hasText: 'Invalid Drag Test 1757346277496' })\n"[39m +
[32m'Expected: visible\n'[39m +
[32m'Received: <element(s) not found>\n'[39m +
[32m'Timeout: 5000ms\n'[39m +
[32m'\n'[39m +
[32m'Call log:\n'[39m +
[32m'\x1B[2m - Expect "toBeVisible" with timeout 5000ms\x1B[22m\n'[39m +
[32m"\x1B[2m - waiting for locator('.week-event').filter({ hasText: 'Invalid Drag Test 1757346277496' })\x1B[22m\n"[39m,
stack: [32m'Error: \x1B[2mexpect(\x1B[22m\x1B[31mlocator\x1B[39m\x1B[2m).\x1B[22mtoBeVisible\x1B[2m()\x1B[22m failed\n'[39m +
[32m'\n'[39m +
[32m"Locator: locator('.week-event').filter({ hasText: 'Invalid Drag Test 1757346277496' })\n"[39m +
[32m'Expected: visible\n'[39m +
[32m'Received: <element(s) not found>\n'[39m +
[32m'Timeout: 5000ms\n'[39m +
[32m'\n'[39m +
[32m'Call log:\n'[39m +
[32m'\x1B[2m - Expect "toBeVisible" with timeout 5000ms\x1B[22m\n'[39m +
[32m"\x1B[2m - waiting for locator('.week-event').filter({ hasText: 'Invalid Drag Test 1757346277496' })\x1B[22m\n"[39m +
[32m'\n'[39m +
[32m' at CalendarHelpers.deleteEvent (/home/connor/docs/projects/calendar/frontend/e2e/helpers/calendar-helpers.ts:258:25)\n'[39m +
[32m' at /home/connor/docs/projects/calendar/frontend/e2e/tests/drag-and-drop.spec.ts:23:9'[39m,
cause: [90mundefined[39m
}
}
}
[[ATTACHMENT|test-results/drag-and-drop-Drag-and-Dro-e0bc6-id-drag-and-drop-operations-firefox/test-failed-1.png]]
[[ATTACHMENT|test-results/drag-and-drop-Drag-and-Dro-e0bc6-id-drag-and-drop-operations-firefox/error-context.md]]
]]>
</system-out>
</testcase>
</testsuite>
</testsuites>