Skip to content

[FEATURE] Migrate Stores to IndexedDB #161

[FEATURE] Migrate Stores to IndexedDB

[FEATURE] Migrate Stores to IndexedDB #161

Triggered via pull request February 20, 2025 12:05
Status Failure
Total duration 31m 7s
Artifacts 1

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 1 warning, and 1 notice
main-flow.test.ts:46:2 › Allowance table interaction › should sort airlines correctly: e2e/main-flow.test.ts#L1
1) main-flow.test.ts:46:2 › Allowance table interaction › should sort airlines correctly ───────── Test timeout of 30000ms exceeded.
main-flow.test.ts:46:2 › Allowance table interaction › should sort airlines correctly: e2e/main-flow.test.ts#L49
1) main-flow.test.ts:46:2 › Allowance table interaction › should sort airlines correctly ───────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByRole('button', { name: /^Airline/ }) - locator resolved to <button class="ml-4 flex items-center gap-2">…</button> - attempting click action 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <path d="M1280,0L0,0L0,720L1280,720L1280,0Z↵ M640,355 h0 a5,5 0 0 1 5,5 v0 a5,5 0 0 1 -5,5 h-0 a5,5 0 0 1 -5,-5 v-0 a5,5 0 0 1 5,-5 z"></path> from <svg version="1.1" xmlSpace="preserve" viewBox="0 0 1280 720" preserveAspectRatio="xMinYMin slice" xmlnsXlink="http://www.w3.org/1999/xlink" class="driver-overlay driver-overlay-animated">…</svg> subtree intercepts pointer events - retrying click action - waiting 20ms 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <path d="M1280,0L0,0L0,720L1280,720L1280,0Z↵ M640,355 h0 a5,5 0 0 1 5,5 v0 a5,5 0 0 1 -5,5 h-0 a5,5 0 0 1 -5,-5 v-0 a5,5 0 0 1 5,-5 z"></path> from <svg version="1.1" xmlSpace="preserve" viewBox="0 0 1280 720" preserveAspectRatio="xMinYMin slice" xmlnsXlink="http://www.w3.org/1999/xlink" class="driver-overlay driver-overlay-animated">…</svg> subtree intercepts pointer events - retrying click action - waiting 100ms 55 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <path d="M1280,0L0,0L0,720L1280,720L1280,0Z↵ M640,355 h0 a5,5 0 0 1 5,5 v0 a5,5 0 0 1 -5,5 h-0 a5,5 0 0 1 -5,-5 v-0 a5,5 0 0 1 5,-5 z"></path> from <svg version="1.1" xmlSpace="preserve" viewBox="0 0 1280 720" preserveAspectRatio="xMinYMin slice" xmlnsXlink="http://www.w3.org/1999/xlink" class="driver-overlay driver-overlay-animated">…</svg> subtree intercepts pointer events - retrying click action - waiting 500ms 47 | // Test sorting by airline name 48 | const airlineSortButton = page.getByRole('button', { name: /^Airline/ }); > 49 | await airlineSortButton.click(); | ^ 50 | 51 | // Get airlines in ascending order 52 | const ascAirlines = await page.$$eval('tbody tr td:nth-child(2)', (cells) => at /home/runner/work/carry-fit/carry-fit/e2e/main-flow.test.ts:49:27
main-flow.test.ts:46:2 › Allowance table interaction › should sort airlines correctly: e2e/main-flow.test.ts#L1
1) main-flow.test.ts:46:2 › Allowance table interaction › should sort airlines correctly ───────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
main-flow.test.ts:46:2 › Allowance table interaction › should sort airlines correctly: e2e/main-flow.test.ts#L49
1) main-flow.test.ts:46:2 › Allowance table interaction › should sort airlines correctly ───────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByRole('button', { name: /^Airline/ }) - locator resolved to <button class="ml-4 flex items-center gap-2">…</button> - attempting click action 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <path d="M1280,0L0,0L0,720L1280,720L1280,0Z↵ M640,355 h0 a5,5 0 0 1 5,5 v0 a5,5 0 0 1 -5,5 h-0 a5,5 0 0 1 -5,-5 v-0 a5,5 0 0 1 5,-5 z"></path> from <svg version="1.1" xmlSpace="preserve" viewBox="0 0 1280 720" preserveAspectRatio="xMinYMin slice" xmlnsXlink="http://www.w3.org/1999/xlink" class="driver-overlay driver-overlay-animated">…</svg> subtree intercepts pointer events - retrying click action - waiting 20ms 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <path d="M1280,0L0,0L0,720L1280,720L1280,0Z↵ M640,355 h0 a5,5 0 0 1 5,5 v0 a5,5 0 0 1 -5,5 h-0 a5,5 0 0 1 -5,-5 v-0 a5,5 0 0 1 5,-5 z"></path> from <svg version="1.1" xmlSpace="preserve" viewBox="0 0 1280 720" preserveAspectRatio="xMinYMin slice" xmlnsXlink="http://www.w3.org/1999/xlink" class="driver-overlay driver-overlay-animated">…</svg> subtree intercepts pointer events - retrying click action - waiting 100ms 54 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <path d="M1280,0L0,0L0,720L1280,720L1280,0Z↵ M640,355 h0 a5,5 0 0 1 5,5 v0 a5,5 0 0 1 -5,5 h-0 a5,5 0 0 1 -5,-5 v-0 a5,5 0 0 1 5,-5 z"></path> from <svg version="1.1" xmlSpace="preserve" viewBox="0 0 1280 720" preserveAspectRatio="xMinYMin slice" xmlnsXlink="http://www.w3.org/1999/xlink" class="driver-overlay driver-overlay-animated">…</svg> subtree intercepts pointer events - retrying click action - waiting 500ms 47 | // Test sorting by airline name 48 | const airlineSortButton = page.getByRole('button', { name: /^Airline/ }); > 49 | await airlineSortButton.click(); | ^ 50 | 51 | // Get airlines in ascending order 52 | const ascAirlines = await page.$$eval('tbody tr td:nth-child(2)', (cells) => at /home/runner/work/carry-fit/carry-fit/e2e/main-flow.test.ts:49:27
main-flow.test.ts:127:2 › Favorites functionality › should add and remove airlines from favorites: e2e/main-flow.test.ts#L1
2) main-flow.test.ts:127:2 › Favorites functionality › should add and remove airlines from favorites Test timeout of 30000ms exceeded.
main-flow.test.ts:127:2 › Favorites functionality › should add and remove airlines from favorites: e2e/main-flow.test.ts#L138
2) main-flow.test.ts:127:2 › Favorites functionality › should add and remove airlines from favorites Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByRole('row').nth(1).getByTestId('favorite-button') - locator resolved to <button data-favorite="false" data-testid="favorite-button" data-tour-id="favorite-button" class="group flex items-center">…</button> - attempting click action 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <path d="M1280,0L0,0L0,720L1280,720L1280,0Z↵ M640,355 h0 a5,5 0 0 1 5,5 v0 a5,5 0 0 1 -5,5 h-0 a5,5 0 0 1 -5,-5 v-0 a5,5 0 0 1 5,-5 z"></path> from <svg version="1.1" xmlSpace="preserve" viewBox="0 0 1280 720" preserveAspectRatio="xMinYMin slice" xmlnsXlink="http://www.w3.org/1999/xlink" class="driver-overlay driver-overlay-animated">…</svg> subtree intercepts pointer events - retrying click action - waiting 20ms 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <path d="M1280,0L0,0L0,720L1280,720L1280,0Z↵ M640,355 h0 a5,5 0 0 1 5,5 v0 a5,5 0 0 1 -5,5 h-0 a5,5 0 0 1 -5,-5 v-0 a5,5 0 0 1 5,-5 z"></path> from <svg version="1.1" xmlSpace="preserve" viewBox="0 0 1280 720" preserveAspectRatio="xMinYMin slice" xmlnsXlink="http://www.w3.org/1999/xlink" class="driver-overlay driver-overlay-animated">…</svg> subtree intercepts pointer events - retrying click action - waiting 100ms 55 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <path d="M1280,0L0,0L0,720L1280,720L1280,0Z↵ M640,355 h0 a5,5 0 0 1 5,5 v0 a5,5 0 0 1 -5,5 h-0 a5,5 0 0 1 -5,-5 v-0 a5,5 0 0 1 5,-5 z"></path> from <svg version="1.1" xmlSpace="preserve" viewBox="0 0 1280 720" preserveAspectRatio="xMinYMin slice" xmlnsXlink="http://www.w3.org/1999/xlink" class="driver-overlay driver-overlay-animated">…</svg> subtree intercepts pointer events - retrying click action - waiting 500ms 136 | 137 | // Add to favorites > 138 | await firstAirlineRow.getByTestId('favorite-button').click(); | ^ 139 | 140 | // Should be marked as favorite 141 | await expect(firstAirlineRow.getByTestId('favorite-button')).toHaveAttribute( at /home/runner/work/carry-fit/carry-fit/e2e/main-flow.test.ts:138:56
main-flow.test.ts:127:2 › Favorites functionality › should add and remove airlines from favorites: e2e/main-flow.test.ts#L1
2) main-flow.test.ts:127:2 › Favorites functionality › should add and remove airlines from favorites Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
main-flow.test.ts:127:2 › Favorites functionality › should add and remove airlines from favorites: e2e/main-flow.test.ts#L138
2) main-flow.test.ts:127:2 › Favorites functionality › should add and remove airlines from favorites Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByRole('row').nth(1).getByTestId('favorite-button') - locator resolved to <button data-favorite="false" data-testid="favorite-button" data-tour-id="favorite-button" class="group flex items-center">…</button> - attempting click action 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <path d="M1280,0L0,0L0,720L1280,720L1280,0Z↵ M640,355 h0 a5,5 0 0 1 5,5 v0 a5,5 0 0 1 -5,5 h-0 a5,5 0 0 1 -5,-5 v-0 a5,5 0 0 1 5,-5 z"></path> from <svg version="1.1" xmlSpace="preserve" viewBox="0 0 1280 720" preserveAspectRatio="xMinYMin slice" xmlnsXlink="http://www.w3.org/1999/xlink" class="driver-overlay driver-overlay-animated">…</svg> subtree intercepts pointer events - retrying click action - waiting 20ms 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <path d="M1280,0L0,0L0,720L1280,720L1280,0Z↵ M640,355 h0 a5,5 0 0 1 5,5 v0 a5,5 0 0 1 -5,5 h-0 a5,5 0 0 1 -5,-5 v-0 a5,5 0 0 1 5,-5 z"></path> from <svg version="1.1" xmlSpace="preserve" viewBox="0 0 1280 720" preserveAspectRatio="xMinYMin slice" xmlnsXlink="http://www.w3.org/1999/xlink" class="driver-overlay driver-overlay-animated">…</svg> subtree intercepts pointer events - retrying click action - waiting 100ms 54 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <path d="M1280,0L0,0L0,720L1280,720L1280,0Z↵ M640,355 h0 a5,5 0 0 1 5,5 v0 a5,5 0 0 1 -5,5 h-0 a5,5 0 0 1 -5,-5 v-0 a5,5 0 0 1 5,-5 z"></path> from <svg version="1.1" xmlSpace="preserve" viewBox="0 0 1280 720" preserveAspectRatio="xMinYMin slice" xmlnsXlink="http://www.w3.org/1999/xlink" class="driver-overlay driver-overlay-animated">…</svg> subtree intercepts pointer events - retrying click action - waiting 500ms 136 | 137 | // Add to favorites > 138 | await firstAirlineRow.getByTestId('favorite-button').click(); | ^ 139 | 140 | // Should be marked as favorite 141 | await expect(firstAirlineRow.getByTestId('favorite-button')).toHaveAttribute( at /home/runner/work/carry-fit/carry-fit/e2e/main-flow.test.ts:138:56
main-flow.test.ts:156:2 › Favorites functionality › should filter airlines by favorites: e2e/main-flow.test.ts#L1
3) main-flow.test.ts:156:2 › Favorites functionality › should filter airlines by favorites ─────── Test timeout of 30000ms exceeded.
main-flow.test.ts:156:2 › Favorites functionality › should filter airlines by favorites: e2e/main-flow.test.ts#L161
3) main-flow.test.ts:156:2 › Favorites functionality › should filter airlines by favorites ─────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByRole('row').nth(1).getByTestId('favorite-button') - locator resolved to <button data-favorite="false" data-testid="favorite-button" data-tour-id="favorite-button" class="group flex items-center">…</button> - attempting click action 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <path d="M1280,0L0,0L0,720L1280,720L1280,0Z↵ M640,355 h0 a5,5 0 0 1 5,5 v0 a5,5 0 0 1 -5,5 h-0 a5,5 0 0 1 -5,-5 v-0 a5,5 0 0 1 5,-5 z"></path> from <svg version="1.1" xmlSpace="preserve" viewBox="0 0 1280 720" preserveAspectRatio="xMinYMin slice" xmlnsXlink="http://www.w3.org/1999/xlink" class="driver-overlay driver-overlay-animated">…</svg> subtree intercepts pointer events - retrying click action - waiting 20ms 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <path d="M1280,0L0,0L0,720L1280,720L1280,0Z↵ M640,355 h0 a5,5 0 0 1 5,5 v0 a5,5 0 0 1 -5,5 h-0 a5,5 0 0 1 -5,-5 v-0 a5,5 0 0 1 5,-5 z"></path> from <svg version="1.1" xmlSpace="preserve" viewBox="0 0 1280 720" preserveAspectRatio="xMinYMin slice" xmlnsXlink="http://www.w3.org/1999/xlink" class="driver-overlay driver-overlay-animated">…</svg> subtree intercepts pointer events - retrying click action - waiting 100ms 54 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <path d="M1280,0L0,0L0,720L1280,720L1280,0Z↵ M640,355 h0 a5,5 0 0 1 5,5 v0 a5,5 0 0 1 -5,5 h-0 a5,5 0 0 1 -5,-5 v-0 a5,5 0 0 1 5,-5 z"></path> from <svg version="1.1" xmlSpace="preserve" viewBox="0 0 1280 720" preserveAspectRatio="xMinYMin slice" xmlnsXlink="http://www.w3.org/1999/xlink" class="driver-overlay driver-overlay-animated">…</svg> subtree intercepts pointer events - retrying click action - waiting 500ms 159 | 160 | // Add first two airlines to favorites > 161 | await page.getByRole('row').nth(1).getByTestId('favorite-button').click(); | ^ 162 | await page.getByRole('row').nth(2).getByTestId('favorite-button').click(); 163 | 164 | // Enable favorites filter at /home/runner/work/carry-fit/carry-fit/e2e/main-flow.test.ts:161:69
Run Tests
Cache not found for keys: node-cache-Linux-x64-pnpm-e5723d9caf24e989653cce6819c43b860da618a2930e585c0b7c02f9d20a1e1a
🎭 Playwright Run Summary
28 failed main-flow.test.ts:46:2 › Allowance table interaction › should sort airlines correctly ────────── main-flow.test.ts:127:2 › Favorites functionality › should add and remove airlines from favorites main-flow.test.ts:156:2 › Favorites functionality › should filter airlines by favorites ──────── main-flow.test.ts:182:2 › Favorites functionality › should persist favorites across page reloads main-flow.test.ts:198:2 › Favorites functionality › should update favorites count in filter section main-flow.test.ts:216:2 › Favorites functionality › should disable region filters that have no favorites when favorites filter is active main-flow.test.ts:243:2 › Favorites functionality › should persist entire favorites list across page reloads main-flow.test.ts:290:2 › Measurement system updates › should update units in table when measurement system changes main-flow.test.ts:313:2 › Measurement system updates › should persist measurement system preference across page reloads main-flow.test.ts:351:2 › Bag sharing functionality › should copy bag dimensions link to clipboard main-flow.test.ts:410:2 › Bag sharing functionality › should clear URL parameters when measurement system is changed main-flow.test.ts:478:2 › Large screen table layout › should keep both sections expanded on large screens main-flow.test.ts:525:2 › Mobile screen table layout › should display sections in single column and allow toggling main-flow.test.ts:555:2 › Mobile screen table layout › should scroll to opened section ───────── main-flow.test.ts:609:2 › Bag dimension parsing › should parse valid dimensions string and set bag dimensions main-flow.test.ts:630:2 › Bag dimension parsing › should show error for invalid dimensions string main-flow.test.ts:656:2 › Bag dimension parsing › should not affect dimensions when dialog is cancelled main-flow.test.ts:679:2 › Bag dimension parsing › should parse dimensions according to selected measurement system main-flow.test.ts:758:2 › Allowance table search functionality › should clear search when X button is clicked main-flow.test.ts:783:2 › Allowance table search functionality › should search in compliance tables when dimensions are set main-flow.test.ts:879:2 › Favorite Airlines Dialog › should search and filter airlines in dialog main-flow.test.ts:904:2 › Favorite Airlines Dialog › should add and remove airlines from favorites in dialog main-flow.test.ts:938:2 › Favorite Airlines Dialog › should persist favorites after dialog is closed and reopened main-flow.test.ts:959:2 › Favorite Airlines Dialog › should persist favorites after page refresh main-flow.test.ts:984:2 › Favorite Airlines Dialog › should show checkmarks next to selected airlines in search list main-flow.test.ts:1000:2 › Favorite Airlines Dialog › should handle fuzzy search matching ────── main-flow.test.ts:1023:2 › Filter Regions › should filter airlines by region ─────────────────── main-flow.test.ts:1047:2 › Filter Regions › should persist selected regions across page reloads 13 passed (30.1m)

Artifacts

Produced during runtime
Name Size
playwright-report
119 MB