Skip to content

chore: improve input and select tests #22

chore: improve input and select tests

chore: improve input and select tests #22

Triggered via push November 8, 2024 12:47
Status Failure
Total duration 50s
Artifacts

tests.yml

on: push
Run tests and collect coverage
38s
Run tests and collect coverage
Fit to window
Zoom out
Zoom in

Annotations

3 errors
test/components/form/BaseSelect.spec.ts > component: BaseSelect > rendering > should render error: node_modules/.pnpm/@vue+test-utils@2.4.6/node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js#L7279
Error: Unable to get .nui-select-help-text within: <div class="nui-select-wrapper nui-select-default nui-select-md nui-select-rounded-sm nui-select-error"> <!--v-if--> <div class="nui-select-outer"><select class="nui-select"> <!--v-if--> </select> <!--v-if--> <!--v-if--> <!--v-if--> <div class="nui-select-chevron nui-chevron"><svg aria-hidden="true" viewBox="0 0 24 24" class="nui-select-chevron-inner"> <path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m6 9 6 6 6-6"></path> </svg></div> <div class="nui-input-help-text text-danger-500">test</div> </div> </div> ❯ VueWrapper.BaseWrapper.get node_modules/.pnpm/@VUE+test-utils@2.4.6/node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:7279:15 ❯ test/components/form/BaseSelect.spec.ts:108:30
test/components/form/BaseSelect.spec.ts > component: BaseSelect > rendering > should render with placeholder: test/components/form/BaseSelect.spec.ts#L133
AssertionError: expected undefined to be 'Select an option' // Object.is equality - Expected: "Select an option" + Received: undefined ❯ test/components/form/BaseSelect.spec.ts:133:48
Run tests and collect coverage
Process completed with exit code 1.