wip (pw) #587
Annotations
12 errors and 1 warning
Report Coverage
Failed to parse the json-summary at path "/home/runner/work/tabsets/tabsets/coverage/coverage-summary.json."
Make sure to run vitest before this action and to include the "json-summary" reporter.
Original Error:
Error: ENOENT: no such file or directory, open '/home/runner/work/tabsets/tabsets/coverage/coverage-summary.json'
at async open (node:internal/fs/promises:639:25)
at async readFile (node:internal/fs/promises:1242:14)
at async Iy (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:71:797)
at async mu (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:71:878)
at async uq (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:149:626)
|
Report Coverage
Error: ENOENT: no such file or directory, open '/home/runner/work/tabsets/tabsets/coverage/coverage-summary.json'
|
Test:
src/tabsets/stores/tabsetsStore.ts#L59
TypeError: Cannot read properties of null (reading 'loadTabsets')
❯ Proxy.loadTabsets src/tabsets/stores/tabsetsStore.ts:59:21
❯ Proxy.wrappedAction node_modules/pinia/dist/pinia.mjs:1405:26
❯ Proxy.selectCurrentTabset src/tabsets/stores/tabsetsStore.ts:171:29
❯ Proxy.wrappedAction node_modules/pinia/dist/pinia.mjs:1405:26
❯ selectTabset src/tabsets/services/TabsetService2.ts:186:25
❯ Object.saveOrReplaceFromChromeTabs src/tabsets/services/TabsetService2.ts:100:7
❯ CreateTabsetCommand.execute src/tabsets/commands/CreateTabsetCommand.ts:39:43
This error originated in "test/vitest/__tests__/components/dialogues/helper/NewTabsetDialogBody.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "rejects Tabset with an overlong name". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Test:
test/vitest/__tests__/pages/SidePanelPage2.test.ts#L88
AssertionError: expected '<!-- SidePanelPage2 -->\n<main class=…' to contain 'existing Tabset'
- Expected
+ Received
- existing Tabset
+ <!-- SidePanelPage2 -->
+ <main class="q-page darkInDarkMode brightInBrightMode" style="min-height: 768px; padding-top: 50px;">
+ <!--v-if-->
+ <!--v-if-->
+ <!-- list of tabs, assuming here we have at least one tabset -->
+ <div class="q-ma-none q-pa-none">
+ <!--v-if-->
+ <transition-stub enteractiveclass="animated fadeIn slower delay-5s" leaveactiveclass="animated fadeOut" appear="true" persisted="false" css="true">
+ <div class="q-ma-lg q-mt-xl">
+ <div class="row items-center text-grey-5">how to start?</div>
+ <div style="min-width: 300px; border: 1px solid #efefef; border-radius: 5px;">
+ <div class="q-list" role="list">
+ <!-- <q-item clickable @click="useUiStore().startButtonAnimation('newTabset')">-->
+ <!-- <q-item-section avatar>-->
+ <!-- <q-btn outline label="+" color="primary" size="sm"/>-->
+ <!-- </q-item-section>-->
+ <!-- <q-item-section>-->
+ <!-- <q-item-label>Add Collection</q-item-label>-->
+ <!-- <q-item-label caption>Click to create a new tabset collection</q-item-label>-->
+ <!-- </q-item-section>-->
+ <!-- </q-item>-->
+ <div class="q-item q-item-type row no-wrap q-item--clickable q-link cursor-pointer q-focusable q-hoverable" role="listitem" tabindex="0">
+ <div class="q-focus-helper" tabindex="-1"></div>
+ <div class="q-item__section column q-item__section--side justify-center q-item__section--avatar">
+ <!-- <SidePanelToolbarButton-->
+ <!-- icon="tab"-->
+ <!-- color="warning"/>--><button class="q-btn q-btn-item non-selectable no-outline q-btn--outline q-btn--rectangle text-primary q-btn--actionable q-focusable q-hoverable" style="font-size: 10px;" tabindex="0" type="button"><span class="q-focus-helper"></span><span class="q-btn__content text-center col items-center q-anchor--skip justify-center row"><span class="block">...</span></span></button>
+ </div>
+ <div class="q-item__section column q-item__section--main justify-center">
+ <div class="q-item__label">Add Tab</div>
+ <div class="q-item__label q-item__label--caption text-caption">Add the current tab to your tabsets collection.</div>
+ </div>
+ </div>
+ <div class="q-item q-item-type row no-wrap q-item--clickable q-link cursor-pointer q-focusable q-hoverable" role="listitem" tabindex="0">
+ <div class="q-focus-helper" tabindex="-1"></div>
+ <div class="q-item__section column q-item__section--side justify-center q-item__section--avatar"><button class="q-btn q-btn-item non-selectable no-outline q-btn--flat q-btn--rectangle q-btn--actionable q-focusable q-hoverable q-ma-none q-pa-xs cursor-pointer" style="font-size: 13px; max-width: 18px;" tabindex="0" type="button"><span class="q-focus-helper"></span><span class="q-btn__content text-center col items-center q-anchor--skip justify-center row"><i class="q-icon notranslate material-icons-outlined" aria-hidden="true" role="img">settings</i><!--v-if--></span></button></div>
+ <div class="q-item__section column q-item__section--main justify-center">
+ <div class="q-item__label">Settings</div>
+ <div class="q-item__label q-item__label--caption text-caption">Click here to activate more features</div>
+ </div>
+ </div>
+ <div class="q-item q-item-type row no-wrap q-item--clickable q-link cursor-pointer q-focusable q-hoverable" role="listitem" tabindex="0">
+ <div class="q-focus-helper" tabindex="-1"></div>
+ <div class="q-item__section column q-ite
|
Test:
test/vitest/__tests__/stores/tabsetsUiStore.test.ts#L88
AssertionError: expected +0 to be 1 // Object.is equality
- Expected
+ Received
- 1
+ 0
❯ test/vitest/__tests__/stores/tabsetsUiStore.test.ts:88:56
|
Test:
test/vitest/__tests__/stores/tabsetsUiStore.test.ts#L102
AssertionError: expected 1 to be 2 // Object.is equality
- Expected
+ Received
- 2
+ 1
❯ test/vitest/__tests__/stores/tabsetsUiStore.test.ts:102:56
|
Test:
test/vitest/__tests__/domain/tabs/UpdateTabUrl.test.ts#L55
TypeError: Cannot read properties of undefined (reading 'url')
❯ test/vitest/__tests__/domain/tabs/UpdateTabUrl.test.ts:55:32
|
Test:
test/vitest/__tests__/domain/tabs/UpdateTabUrl.test.ts#L69
TypeError: Cannot read properties of undefined (reading 'url')
❯ test/vitest/__tests__/domain/tabs/UpdateTabUrl.test.ts:69:32
|
Test:
test/vitest/__tests__/tabsets/commands/AddTabToTabsetCommand.test.ts#L82
AssertionError: expected +0 to be 1 // Object.is equality
- Expected
+ Received
- 1
+ 0
❯ test/vitest/__tests__/tabsets/commands/AddTabToTabsetCommand.test.ts:82:39
|
Test:
test/vitest/__tests__/tabsets/commands/AddTabToTabsetCommand.test.ts#L97
AssertionError: expected +0 to be 2 // Object.is equality
- Expected
+ Received
- 2
+ 0
❯ test/vitest/__tests__/tabsets/commands/AddTabToTabsetCommand.test.ts:97:39
|
Test:
src/tabsets/commands/CreateFolderCommand.ts#L29
TypeError: Cannot read properties of undefined (reading 'folderActive')
❯ CreateFolderCommand.execute src/tabsets/commands/CreateFolderCommand.ts:29:38
❯ test/vitest/__tests__/tabsets/commands/AddTabToTabsetCommand.test.ts:108:99
|
Test:
src/tabsets/commands/CreateFolderCommand.ts#L29
TypeError: Cannot read properties of undefined (reading 'folderActive')
❯ CreateFolderCommand.execute src/tabsets/commands/CreateFolderCommand.ts:29:38
❯ test/vitest/__tests__/tabsets/commands/CreateFolderCommand.test.ts:40:64
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading