diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 1d09a896f..1121c9cf0 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -25,7 +25,7 @@ module.exports = { // 'plugin:vue/vue3-essential', // Priority A: Essential (Error Prevention) 'plugin:vue/vue3-strongly-recommended', // Priority B: Strongly Recommended (Improving Readability) // 'plugin:vue/vue3-recommended', // Priority C: Recommended (Minimizing Arbitrary Choices and Cognitive Overhead) - + 'plugin:cypress/recommended', // https://github.com/prettier/eslint-config-prettier#installation // usage with Prettier, provided by 'eslint-config-prettier'. 'prettier', @@ -58,7 +58,7 @@ module.exports = { rules: { 'prefer-promise-reject-errors': 'off', 'no-unused-vars': 'warn', - "vue/no-multiple-template-root": "off" , + 'vue/no-multiple-template-root': 'off', // allow debugger during development only 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', }, diff --git a/cypress/screenshots/CreateNewCityForm.spec.js/An uncaught error was detected outside of a test (failed).png b/cypress/screenshots/CreateNewCityForm.spec.js/An uncaught error was detected outside of a test (failed).png new file mode 100644 index 000000000..c7cb8e5f0 Binary files /dev/null and b/cypress/screenshots/CreateNewCityForm.spec.js/An uncaught error was detected outside of a test (failed).png differ diff --git a/generate-tests.js b/generate-tests.js index 046081f6d..00da60230 100644 --- a/generate-tests.js +++ b/generate-tests.js @@ -25,7 +25,7 @@ function generateTest(type) { const testFileContent = ` import ${componentName} from 'src/components/${file}'; -describe('<${componentName} />', () => { +describe.skip('<${componentName} />', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(${componentName}); diff --git a/package.json b/package.json index 981178cc1..92ae2dae6 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,8 @@ "lint": "eslint --ext .js,.vue ./", "format": "prettier --write \"**/*.{js,vue,scss,html,md,json}\" --ignore-path .gitignore", "test:e2e": "cypress open", - "test:components": "cypress run -p 9000 --component", + "test:e2e:unit": "cypress run --component", + "test:e2e:unit:ci": "cypress run -p 9000 --component", "test:e2e:ci": "cd ../salix && gulp docker && cd ../salix-front && cypress run", "test": "echo \"See package.json => scripts for available tests.\" && exit 0", "test:unit": "vitest", @@ -41,6 +42,7 @@ "@pinia/testing": "^0.1.2", "@quasar/app-vite": "^1.7.3", "@quasar/quasar-app-extension-qcalendar": "4.0.0-beta.15", + "@quasar/quasar-app-extension-testing-e2e-cypress": "^6.1.0", "@quasar/quasar-app-extension-testing-unit-vitest": "^0.4.0", "@vitest/ui": "^1.6.0", "@vue/test-utils": "^2.4.4", diff --git a/test/cypress/components/CreateBankEntityForm.spec.js b/test/cypress/components/CreateBankEntityForm.spec.js index 40a5f2513..3300e4f10 100644 --- a/test/cypress/components/CreateBankEntityForm.spec.js +++ b/test/cypress/components/CreateBankEntityForm.spec.js @@ -1,4 +1,3 @@ - import CreateBankEntityForm from 'src/components/CreateBankEntityForm.vue'; describe('', () => { diff --git a/test/cypress/components/CreateManualInvoiceForm.spec.js b/test/cypress/components/CreateManualInvoiceForm.spec.js index bc064b461..0ea075955 100644 --- a/test/cypress/components/CreateManualInvoiceForm.spec.js +++ b/test/cypress/components/CreateManualInvoiceForm.spec.js @@ -1,7 +1,6 @@ - import CreateManualInvoiceForm from 'src/components/CreateManualInvoiceForm.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(CreateManualInvoiceForm); diff --git a/test/cypress/components/CreateNewCityForm.spec.js b/test/cypress/components/CreateNewCityForm.spec.js index 413838333..087696074 100644 --- a/test/cypress/components/CreateNewCityForm.spec.js +++ b/test/cypress/components/CreateNewCityForm.spec.js @@ -1,7 +1,6 @@ - import CreateNewCityForm from 'src/components/CreateNewCityForm.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(CreateNewCityForm); diff --git a/test/cypress/components/CreateNewExpenseForm.spec.js b/test/cypress/components/CreateNewExpenseForm.spec.js index e83710072..0addea4d1 100644 --- a/test/cypress/components/CreateNewExpenseForm.spec.js +++ b/test/cypress/components/CreateNewExpenseForm.spec.js @@ -1,7 +1,6 @@ - import CreateNewExpenseForm from 'src/components/CreateNewExpenseForm.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(CreateNewExpenseForm); diff --git a/test/cypress/components/CreateNewPostcodeForm.spec.js b/test/cypress/components/CreateNewPostcodeForm.spec.js index 6a6d796d7..3b5d0da6a 100644 --- a/test/cypress/components/CreateNewPostcodeForm.spec.js +++ b/test/cypress/components/CreateNewPostcodeForm.spec.js @@ -1,7 +1,6 @@ - import CreateNewPostcodeForm from 'src/components/CreateNewPostcodeForm.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(CreateNewPostcodeForm); diff --git a/test/cypress/components/CreateNewProvinceForm.spec.js b/test/cypress/components/CreateNewProvinceForm.spec.js index 19fa4ab16..00041c2f1 100644 --- a/test/cypress/components/CreateNewProvinceForm.spec.js +++ b/test/cypress/components/CreateNewProvinceForm.spec.js @@ -1,7 +1,6 @@ - import CreateNewProvinceForm from 'src/components/CreateNewProvinceForm.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(CreateNewProvinceForm); diff --git a/test/cypress/components/CreateThermographForm.spec.js b/test/cypress/components/CreateThermographForm.spec.js index 262fdce1c..d6df3cb3e 100644 --- a/test/cypress/components/CreateThermographForm.spec.js +++ b/test/cypress/components/CreateThermographForm.spec.js @@ -1,7 +1,6 @@ - import CreateThermographForm from 'src/components/CreateThermographForm.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(CreateThermographForm); diff --git a/test/cypress/components/CrudModel.spec.js b/test/cypress/components/CrudModel.spec.js index ae311159a..2af8870fb 100644 --- a/test/cypress/components/CrudModel.spec.js +++ b/test/cypress/components/CrudModel.spec.js @@ -1,7 +1,6 @@ - import CrudModel from 'src/components/CrudModel.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(CrudModel); diff --git a/test/cypress/components/EditPictureForm.spec.js b/test/cypress/components/EditPictureForm.spec.js index 72f248ca8..72a5d07fa 100644 --- a/test/cypress/components/EditPictureForm.spec.js +++ b/test/cypress/components/EditPictureForm.spec.js @@ -1,7 +1,6 @@ - import EditPictureForm from 'src/components/EditPictureForm.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(EditPictureForm); diff --git a/test/cypress/components/EditTableCellValueForm.spec.js b/test/cypress/components/EditTableCellValueForm.spec.js index f54d6b599..4a8dffe1e 100644 --- a/test/cypress/components/EditTableCellValueForm.spec.js +++ b/test/cypress/components/EditTableCellValueForm.spec.js @@ -1,7 +1,6 @@ - import EditTableCellValueForm from 'src/components/EditTableCellValueForm.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(EditTableCellValueForm); diff --git a/test/cypress/components/FetchData.spec.js b/test/cypress/components/FetchData.spec.js index 8accbc573..d656c8700 100644 --- a/test/cypress/components/FetchData.spec.js +++ b/test/cypress/components/FetchData.spec.js @@ -1,7 +1,6 @@ - import FetchData from 'src/components/FetchData.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(FetchData); diff --git a/test/cypress/components/FilterItemForm.spec.js b/test/cypress/components/FilterItemForm.spec.js index 524da2061..33692c11e 100644 --- a/test/cypress/components/FilterItemForm.spec.js +++ b/test/cypress/components/FilterItemForm.spec.js @@ -1,7 +1,6 @@ - import FilterItemForm from 'src/components/FilterItemForm.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(FilterItemForm); diff --git a/test/cypress/components/FilterTravelForm.spec.js b/test/cypress/components/FilterTravelForm.spec.js index b4dbd3836..bf796426c 100644 --- a/test/cypress/components/FilterTravelForm.spec.js +++ b/test/cypress/components/FilterTravelForm.spec.js @@ -1,7 +1,6 @@ - import FilterTravelForm from 'src/components/FilterTravelForm.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(FilterTravelForm); diff --git a/test/cypress/components/FormModel.spec.js b/test/cypress/components/FormModel.spec.js index 41e749d81..18c6adc54 100644 --- a/test/cypress/components/FormModel.spec.js +++ b/test/cypress/components/FormModel.spec.js @@ -1,6 +1,6 @@ import FormModel from 'src/components/FormModel.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(FormModel, { props: {} }); diff --git a/test/cypress/components/FormModelPopup.spec.js b/test/cypress/components/FormModelPopup.spec.js index d4bc87f83..814f8e635 100644 --- a/test/cypress/components/FormModelPopup.spec.js +++ b/test/cypress/components/FormModelPopup.spec.js @@ -1,7 +1,6 @@ - import FormModelPopup from 'src/components/FormModelPopup.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(FormModelPopup); diff --git a/test/cypress/components/FormPopup.spec.js b/test/cypress/components/FormPopup.spec.js index d6d189a51..6a82e172d 100644 --- a/test/cypress/components/FormPopup.spec.js +++ b/test/cypress/components/FormPopup.spec.js @@ -1,7 +1,6 @@ - import FormPopup from 'src/components/FormPopup.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(FormPopup); diff --git a/test/cypress/components/ItemsFilterPanel.spec.js b/test/cypress/components/ItemsFilterPanel.spec.js index 46e144399..511a65445 100644 --- a/test/cypress/components/ItemsFilterPanel.spec.js +++ b/test/cypress/components/ItemsFilterPanel.spec.js @@ -1,7 +1,6 @@ - import ItemsFilterPanel from 'src/components/ItemsFilterPanel.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(ItemsFilterPanel); diff --git a/test/cypress/components/LeftMenu.spec.js b/test/cypress/components/LeftMenu.spec.js index 76577d176..ca2424181 100644 --- a/test/cypress/components/LeftMenu.spec.js +++ b/test/cypress/components/LeftMenu.spec.js @@ -1,7 +1,6 @@ - import LeftMenu from 'src/components/LeftMenu.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(LeftMenu); diff --git a/test/cypress/components/LeftMenuItem.spec.js b/test/cypress/components/LeftMenuItem.spec.js index cdee51878..a394f1aaa 100644 --- a/test/cypress/components/LeftMenuItem.spec.js +++ b/test/cypress/components/LeftMenuItem.spec.js @@ -1,7 +1,6 @@ - import LeftMenuItem from 'src/components/LeftMenuItem.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(LeftMenuItem); diff --git a/test/cypress/components/LeftMenuItemGroup.spec.js b/test/cypress/components/LeftMenuItemGroup.spec.js index c82e8a363..bbddb3eb1 100644 --- a/test/cypress/components/LeftMenuItemGroup.spec.js +++ b/test/cypress/components/LeftMenuItemGroup.spec.js @@ -1,7 +1,6 @@ - import LeftMenuItemGroup from 'src/components/LeftMenuItemGroup.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(LeftMenuItemGroup); diff --git a/test/cypress/components/NavBar.spec.js b/test/cypress/components/NavBar.spec.js index d11957179..719a18bc8 100644 --- a/test/cypress/components/NavBar.spec.js +++ b/test/cypress/components/NavBar.spec.js @@ -1,6 +1,6 @@ import NavBar from 'src/components/NavBar.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(NavBar); diff --git a/test/cypress/components/PinnedModules.spec.js b/test/cypress/components/PinnedModules.spec.js index 581e2620b..230518463 100644 --- a/test/cypress/components/PinnedModules.spec.js +++ b/test/cypress/components/PinnedModules.spec.js @@ -1,7 +1,6 @@ - import PinnedModules from 'src/components/PinnedModules.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(PinnedModules); diff --git a/test/cypress/components/RefundInvoiceForm.spec.js b/test/cypress/components/RefundInvoiceForm.spec.js index 2427a3c8b..976230fa5 100644 --- a/test/cypress/components/RefundInvoiceForm.spec.js +++ b/test/cypress/components/RefundInvoiceForm.spec.js @@ -1,7 +1,6 @@ - import RefundInvoiceForm from 'src/components/RefundInvoiceForm.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(RefundInvoiceForm); diff --git a/test/cypress/components/RegularizeStockForm.spec.js b/test/cypress/components/RegularizeStockForm.spec.js index 766f37c0b..f5a4770a8 100644 --- a/test/cypress/components/RegularizeStockForm.spec.js +++ b/test/cypress/components/RegularizeStockForm.spec.js @@ -1,7 +1,6 @@ - import RegularizeStockForm from 'src/components/RegularizeStockForm.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(RegularizeStockForm); diff --git a/test/cypress/components/TransferInvoiceForm.spec.js b/test/cypress/components/TransferInvoiceForm.spec.js index 82c56f4d3..4d962c456 100644 --- a/test/cypress/components/TransferInvoiceForm.spec.js +++ b/test/cypress/components/TransferInvoiceForm.spec.js @@ -1,7 +1,6 @@ - import TransferInvoiceForm from 'src/components/TransferInvoiceForm.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(TransferInvoiceForm); diff --git a/test/cypress/components/UserPanel.spec.js b/test/cypress/components/UserPanel.spec.js index d4bd044c3..d4754d915 100644 --- a/test/cypress/components/UserPanel.spec.js +++ b/test/cypress/components/UserPanel.spec.js @@ -1,7 +1,6 @@ - import UserPanel from 'src/components/UserPanel.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(UserPanel); diff --git a/test/cypress/components/VnLocation.spec.js b/test/cypress/components/VnLocation.spec.js deleted file mode 100644 index 57655ef2d..000000000 --- a/test/cypress/components/VnLocation.spec.js +++ /dev/null @@ -1,17 +0,0 @@ -import VnLocation from 'src/components/common/VnLocation.vue'; -describe('', () => { - it('renders', () => { - // see: https://on.cypress.io/mounting-vue - cy.vnMount(VnLocation, { - props: { - modelValue: 1234, - location: { - postcode: '46600', - city: ' Alz', - province: { name: 'as' }, - country: { name: 'asdq' }, - }, - }, - }); - }); -}); diff --git a/test/cypress/components/VnSelect.spec.js b/test/cypress/components/VnSelect.spec.js deleted file mode 100644 index afc53beac..000000000 --- a/test/cypress/components/VnSelect.spec.js +++ /dev/null @@ -1,8 +0,0 @@ -import VnSelect from 'src/components/common/VnSelect.vue'; - -describe('', () => { - it('renders', () => { - // see: https://on.cypress.io/mounting-vue - cy.vnMount(VnSelect); - }); -}); diff --git a/test/cypress/components/VnSelectProvince.spec.js b/test/cypress/components/VnSelectProvince.spec.js deleted file mode 100644 index aca106017..000000000 --- a/test/cypress/components/VnSelectProvince.spec.js +++ /dev/null @@ -1,9 +0,0 @@ - -import VnSelectProvince from 'src/components/VnSelectProvince.vue'; - -describe('', () => { - it('TODO: boilerplate', () => { - // see: https://on.cypress.io/mounting-vue - cy.vnMount(VnSelectProvince); - }); -}); diff --git a/test/cypress/components/common/RightMenu.spec.js b/test/cypress/components/common/RightMenu.spec.js index 17fc83d5f..6d568fcd2 100644 --- a/test/cypress/components/common/RightMenu.spec.js +++ b/test/cypress/components/common/RightMenu.spec.js @@ -1,7 +1,6 @@ - import RightMenu from 'src/components/common/RightMenu.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(RightMenu); diff --git a/test/cypress/components/common/SendEmailDialog.spec.js b/test/cypress/components/common/SendEmailDialog.spec.js index f656d1a7f..db79eea86 100644 --- a/test/cypress/components/common/SendEmailDialog.spec.js +++ b/test/cypress/components/common/SendEmailDialog.spec.js @@ -4,5 +4,6 @@ describe('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(SendEmailDialog, { props: { data: { address: '1234' } } }); + cy.get('input').type('1234'); }); }); diff --git a/test/cypress/components/common/SendSmsDialog.spec.js b/test/cypress/components/common/SendSmsDialog.spec.js index 9ce412693..75f83356a 100644 --- a/test/cypress/components/common/SendSmsDialog.spec.js +++ b/test/cypress/components/common/SendSmsDialog.spec.js @@ -1,7 +1,6 @@ - import SendSmsDialog from 'src/components/common/SendSmsDialog.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(SendSmsDialog); diff --git a/test/cypress/components/common/TableVisibleColumns.spec.js b/test/cypress/components/common/TableVisibleColumns.spec.js index 3a1344e05..2ff946ee4 100644 --- a/test/cypress/components/common/TableVisibleColumns.spec.js +++ b/test/cypress/components/common/TableVisibleColumns.spec.js @@ -1,7 +1,6 @@ - import TableVisibleColumns from 'src/components/common/TableVisibleColumns.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(TableVisibleColumns); diff --git a/test/cypress/components/common/VnAccountNumber.spec.js b/test/cypress/components/common/VnAccountNumber.spec.js index 0348cedfd..ace77bcda 100644 --- a/test/cypress/components/common/VnAccountNumber.spec.js +++ b/test/cypress/components/common/VnAccountNumber.spec.js @@ -1,7 +1,6 @@ - import VnAccountNumber from 'src/components/common/VnAccountNumber.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnAccountNumber); diff --git a/test/cypress/components/common/VnBreadcrumbs.spec.js b/test/cypress/components/common/VnBreadcrumbs.spec.js index 238863b77..c590fb3d0 100644 --- a/test/cypress/components/common/VnBreadcrumbs.spec.js +++ b/test/cypress/components/common/VnBreadcrumbs.spec.js @@ -1,7 +1,6 @@ - import VnBreadcrumbs from 'src/components/common/VnBreadcrumbs.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnBreadcrumbs); diff --git a/test/cypress/components/common/VnCard.spec.js b/test/cypress/components/common/VnCard.spec.js index c81e05deb..f3d51b0c3 100644 --- a/test/cypress/components/common/VnCard.spec.js +++ b/test/cypress/components/common/VnCard.spec.js @@ -1,7 +1,6 @@ - import VnCard from 'src/components/common/VnCard.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnCard); diff --git a/test/cypress/components/common/VnComponent.spec.js b/test/cypress/components/common/VnComponent.spec.js index 69206dd97..42a2aa109 100644 --- a/test/cypress/components/common/VnComponent.spec.js +++ b/test/cypress/components/common/VnComponent.spec.js @@ -1,7 +1,6 @@ - import VnComponent from 'src/components/common/VnComponent.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnComponent); diff --git a/test/cypress/components/common/VnDms.spec.js b/test/cypress/components/common/VnDms.spec.js index 5c9ae1717..14a7d06f6 100644 --- a/test/cypress/components/common/VnDms.spec.js +++ b/test/cypress/components/common/VnDms.spec.js @@ -1,7 +1,6 @@ - import VnDms from 'src/components/common/VnDms.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnDms); diff --git a/test/cypress/components/common/VnDmsList.spec.js b/test/cypress/components/common/VnDmsList.spec.js index 817ba153c..8c0d09a44 100644 --- a/test/cypress/components/common/VnDmsList.spec.js +++ b/test/cypress/components/common/VnDmsList.spec.js @@ -1,7 +1,6 @@ - import VnDmsList from 'src/components/common/VnDmsList.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnDmsList); diff --git a/test/cypress/components/common/VnInput.spec.js b/test/cypress/components/common/VnInput.spec.js index 58f2ecd47..b17eae882 100644 --- a/test/cypress/components/common/VnInput.spec.js +++ b/test/cypress/components/common/VnInput.spec.js @@ -1,7 +1,6 @@ - import VnInput from 'src/components/common/VnInput.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnInput); diff --git a/test/cypress/components/common/VnInputDate.spec.js b/test/cypress/components/common/VnInputDate.spec.js index 1c902b322..a0cf6dbe3 100644 --- a/test/cypress/components/common/VnInputDate.spec.js +++ b/test/cypress/components/common/VnInputDate.spec.js @@ -1,7 +1,6 @@ - import VnInputDate from 'src/components/common/VnInputDate.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnInputDate); diff --git a/test/cypress/components/common/VnInputNumber.spec.js b/test/cypress/components/common/VnInputNumber.spec.js index 36c0fbd59..23ee3080e 100644 --- a/test/cypress/components/common/VnInputNumber.spec.js +++ b/test/cypress/components/common/VnInputNumber.spec.js @@ -1,7 +1,6 @@ - import VnInputNumber from 'src/components/common/VnInputNumber.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnInputNumber); diff --git a/test/cypress/components/common/VnInputTime.spec.js b/test/cypress/components/common/VnInputTime.spec.js index 2b074aa7e..9c003d1c9 100644 --- a/test/cypress/components/common/VnInputTime.spec.js +++ b/test/cypress/components/common/VnInputTime.spec.js @@ -1,7 +1,6 @@ - import VnInputTime from 'src/components/common/VnInputTime.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnInputTime); diff --git a/test/cypress/components/common/VnJsonValue.spec.js b/test/cypress/components/common/VnJsonValue.spec.js index d738366ca..c8c7ebb2f 100644 --- a/test/cypress/components/common/VnJsonValue.spec.js +++ b/test/cypress/components/common/VnJsonValue.spec.js @@ -1,7 +1,6 @@ - import VnJsonValue from 'src/components/common/VnJsonValue.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnJsonValue); diff --git a/test/cypress/components/common/VnLocation.spec.js b/test/cypress/components/common/VnLocation.spec.js index f03595d5f..f2a9e319f 100644 --- a/test/cypress/components/common/VnLocation.spec.js +++ b/test/cypress/components/common/VnLocation.spec.js @@ -1,9 +1,17 @@ - import VnLocation from 'src/components/common/VnLocation.vue'; - -describe('', () => { - it('TODO: boilerplate', () => { +describe.skip('', () => { + it('renders', () => { // see: https://on.cypress.io/mounting-vue - cy.vnMount(VnLocation); + cy.vnMount(VnLocation, { + props: { + modelValue: 1234, + location: { + postcode: '46600', + city: ' Alz', + province: { name: 'as' }, + country: { name: 'asdq' }, + }, + }, + }); }); }); diff --git a/test/cypress/components/common/VnLog.spec.js b/test/cypress/components/common/VnLog.spec.js index 857e4dba4..2a22dd45c 100644 --- a/test/cypress/components/common/VnLog.spec.js +++ b/test/cypress/components/common/VnLog.spec.js @@ -1,7 +1,6 @@ - import VnLog from 'src/components/common/VnLog.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnLog); diff --git a/test/cypress/components/common/VnLogFilter.spec.js b/test/cypress/components/common/VnLogFilter.spec.js index 2e39c1df8..f5df4c3b1 100644 --- a/test/cypress/components/common/VnLogFilter.spec.js +++ b/test/cypress/components/common/VnLogFilter.spec.js @@ -1,7 +1,6 @@ - import VnLogFilter from 'src/components/common/VnLogFilter.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnLogFilter); diff --git a/test/cypress/components/common/VnPopup.spec.js b/test/cypress/components/common/VnPopup.spec.js index b497ecb90..bb8e6db10 100644 --- a/test/cypress/components/common/VnPopup.spec.js +++ b/test/cypress/components/common/VnPopup.spec.js @@ -1,7 +1,6 @@ - import VnPopup from 'src/components/common/VnPopup.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnPopup); diff --git a/test/cypress/components/common/VnProgressModal.spec.js b/test/cypress/components/common/VnProgressModal.spec.js index 43620117e..4616b032b 100644 --- a/test/cypress/components/common/VnProgressModal.spec.js +++ b/test/cypress/components/common/VnProgressModal.spec.js @@ -1,7 +1,6 @@ - import VnProgressModal from 'src/components/common/VnProgressModal.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnProgressModal); diff --git a/test/cypress/components/common/VnRadio.spec.js b/test/cypress/components/common/VnRadio.spec.js index 3934e1243..4060c781f 100644 --- a/test/cypress/components/common/VnRadio.spec.js +++ b/test/cypress/components/common/VnRadio.spec.js @@ -1,7 +1,6 @@ - import VnRadio from 'src/components/common/VnRadio.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnRadio); diff --git a/test/cypress/components/common/VnSectionMain.spec.js b/test/cypress/components/common/VnSectionMain.spec.js index 1f7821128..dfb6cb069 100644 --- a/test/cypress/components/common/VnSectionMain.spec.js +++ b/test/cypress/components/common/VnSectionMain.spec.js @@ -1,6 +1,6 @@ import VnSectionMain from 'src/components/common/VnSectionMain.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnSectionMain, { diff --git a/test/cypress/components/common/VnSelect.spec.js b/test/cypress/components/common/VnSelect.spec.js index 5c61bfbea..218a271a4 100644 --- a/test/cypress/components/common/VnSelect.spec.js +++ b/test/cypress/components/common/VnSelect.spec.js @@ -1,7 +1,6 @@ - import VnSelect from 'src/components/common/VnSelect.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnSelect); diff --git a/test/cypress/components/common/VnSelectCache.spec.js b/test/cypress/components/common/VnSelectCache.spec.js index 450516d11..ca271bea5 100644 --- a/test/cypress/components/common/VnSelectCache.spec.js +++ b/test/cypress/components/common/VnSelectCache.spec.js @@ -1,7 +1,6 @@ - import VnSelectCache from 'src/components/common/VnSelectCache.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnSelectCache); diff --git a/test/cypress/components/common/VnSelectDialog.spec.js b/test/cypress/components/common/VnSelectDialog.spec.js index 7aabfef98..def2c129a 100644 --- a/test/cypress/components/common/VnSelectDialog.spec.js +++ b/test/cypress/components/common/VnSelectDialog.spec.js @@ -1,7 +1,6 @@ - import VnSelectDialog from 'src/components/common/VnSelectDialog.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnSelectDialog); diff --git a/test/cypress/components/common/VnSelectEnum.spec.js b/test/cypress/components/common/VnSelectEnum.spec.js index 16b43184a..1260660e3 100644 --- a/test/cypress/components/common/VnSelectEnum.spec.js +++ b/test/cypress/components/common/VnSelectEnum.spec.js @@ -1,7 +1,6 @@ - import VnSelectEnum from 'src/components/common/VnSelectEnum.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnSelectEnum); diff --git a/test/cypress/components/common/VnSmsDialog.spec.js b/test/cypress/components/common/VnSmsDialog.spec.js index f854f2ce8..a5a302485 100644 --- a/test/cypress/components/common/VnSmsDialog.spec.js +++ b/test/cypress/components/common/VnSmsDialog.spec.js @@ -1,7 +1,6 @@ - import VnSmsDialog from 'src/components/common/VnSmsDialog.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnSmsDialog); diff --git a/test/cypress/components/common/VnSummaryDialog.spec.js b/test/cypress/components/common/VnSummaryDialog.spec.js index c14825026..d83e15a53 100644 --- a/test/cypress/components/common/VnSummaryDialog.spec.js +++ b/test/cypress/components/common/VnSummaryDialog.spec.js @@ -1,7 +1,6 @@ - import VnSummaryDialog from 'src/components/common/VnSummaryDialog.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnSummaryDialog); diff --git a/test/cypress/components/common/VnTitle.spec.js b/test/cypress/components/common/VnTitle.spec.js index ec8564d92..e00f60583 100644 --- a/test/cypress/components/common/VnTitle.spec.js +++ b/test/cypress/components/common/VnTitle.spec.js @@ -1,9 +1,87 @@ - import VnTitle from 'src/components/common/VnTitle.vue'; describe('', () => { - it('TODO: boilerplate', () => { - // see: https://on.cypress.io/mounting-vue - cy.vnMount(VnTitle); + it('renders text with link', () => { + cy.vnMount(VnTitle, { + props: { + url: 'https://example.com', + text: 'Example Link', + }, + }); + cy.get('a').should('exist'); + cy.get('a').should('have.attr', 'href', 'https://example.com'); + cy.get('a').should('contain.text', 'Example Link'); + }); + it('renders text without link', () => { + cy.vnMount(VnTitle, { + props: { + text: 'No Link', + }, + }); + cy.get('a').should('exist'); + cy.get('a').should('not.have.attr', 'href'); + cy.get('a').should('contain.text', 'No Link'); + }); + + it('applies correct classes based on url prop', () => { + cy.vnMount(VnTitle, { + props: { + url: 'https://example.com', + }, + }); + cy.get('a').should('have.class', 'link'); + + cy.vnMount(VnTitle, { + props: {}, + }); + cy.get('a').should('have.class', 'color-vn-text'); + }); + + it('displays icon when url is provided', () => { + cy.vnMount(VnTitle, { + props: { + url: 'https://example.com', + }, + }); + cy.get('.q-icon').should('exist'); + }); + + it('does not display icon when url is not provided', () => { + cy.vnMount(VnTitle, { + props: {}, + }); + cy.get('.q-icon').should('not.exist'); + }); + + it('applies correct cursor style based on url prop', () => { + cy.vnMount(VnTitle, { + props: { + url: 'https://example.com', + }, + }); + cy.get('.header-link').should('have.css', 'cursor', 'pointer'); + + cy.vnMount(VnTitle, { + props: {}, + }); + cy.get('.header-link').should('have.css', 'cursor', 'default'); + }); + it('renders default icon when no icon prop is provided', () => { + cy.vnMount(VnTitle, { + props: { + url: 'https://example.com', + }, + }); + cy.get('i').should('contain.text', 'open_in_new'); + }); + + it('renders custom icon when icon prop is provided', () => { + cy.vnMount(VnTitle, { + props: { + url: 'https://example.com', + icon: 'custom_icon', + }, + }); + cy.get('i').should('contain.text', 'custom_icon'); }); }); diff --git a/test/cypress/components/common/VnWeekdayPicker.spec.js b/test/cypress/components/common/VnWeekdayPicker.spec.js index dd9d123e8..fbe588a46 100644 --- a/test/cypress/components/common/VnWeekdayPicker.spec.js +++ b/test/cypress/components/common/VnWeekdayPicker.spec.js @@ -1,7 +1,6 @@ - import VnWeekdayPicker from 'src/components/common/VnWeekdayPicker.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnWeekdayPicker); diff --git a/test/cypress/components/common/vnDiscount.spec.js b/test/cypress/components/common/vnDiscount.spec.js index 5239b1544..fd5648df9 100644 --- a/test/cypress/components/common/vnDiscount.spec.js +++ b/test/cypress/components/common/vnDiscount.spec.js @@ -1,7 +1,6 @@ - import vnDiscount from 'src/components/common/vnDiscount.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(vnDiscount); diff --git a/test/cypress/components/ui/CardDescriptor.spec.js b/test/cypress/components/ui/CardDescriptor.spec.js index 1b6a7f040..086a1fd6f 100644 --- a/test/cypress/components/ui/CardDescriptor.spec.js +++ b/test/cypress/components/ui/CardDescriptor.spec.js @@ -1,7 +1,6 @@ - import CardDescriptor from 'src/components/ui/CardDescriptor.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(CardDescriptor); diff --git a/test/cypress/components/ui/CardList.spec.js b/test/cypress/components/ui/CardList.spec.js index 68bd99bc2..b180f9f9c 100644 --- a/test/cypress/components/ui/CardList.spec.js +++ b/test/cypress/components/ui/CardList.spec.js @@ -1,7 +1,6 @@ - import CardList from 'src/components/ui/CardList.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(CardList); diff --git a/test/cypress/components/ui/CardSummary.spec.js b/test/cypress/components/ui/CardSummary.spec.js index 9e1282496..f9f78685c 100644 --- a/test/cypress/components/ui/CardSummary.spec.js +++ b/test/cypress/components/ui/CardSummary.spec.js @@ -1,7 +1,6 @@ - import CardSummary from 'src/components/ui/CardSummary.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(CardSummary); diff --git a/test/cypress/components/ui/CatalogItem.spec.js b/test/cypress/components/ui/CatalogItem.spec.js index 9050071c0..4b9896928 100644 --- a/test/cypress/components/ui/CatalogItem.spec.js +++ b/test/cypress/components/ui/CatalogItem.spec.js @@ -1,7 +1,6 @@ - import CatalogItem from 'src/components/ui/CatalogItem.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(CatalogItem); diff --git a/test/cypress/components/ui/FetchedTags.spec.js b/test/cypress/components/ui/FetchedTags.spec.js index e2effeade..d148f6784 100644 --- a/test/cypress/components/ui/FetchedTags.spec.js +++ b/test/cypress/components/ui/FetchedTags.spec.js @@ -1,7 +1,6 @@ - import FetchedTags from 'src/components/ui/FetchedTags.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(FetchedTags); diff --git a/test/cypress/components/ui/QCalendarMonthWrapper.spec.js b/test/cypress/components/ui/QCalendarMonthWrapper.spec.js index 58523d358..e21df9112 100644 --- a/test/cypress/components/ui/QCalendarMonthWrapper.spec.js +++ b/test/cypress/components/ui/QCalendarMonthWrapper.spec.js @@ -1,7 +1,6 @@ - import QCalendarMonthWrapper from 'src/components/ui/QCalendarMonthWrapper.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(QCalendarMonthWrapper); diff --git a/test/cypress/components/ui/SkeletonDescriptor.spec.js b/test/cypress/components/ui/SkeletonDescriptor.spec.js index 5db73ca46..ad863140a 100644 --- a/test/cypress/components/ui/SkeletonDescriptor.spec.js +++ b/test/cypress/components/ui/SkeletonDescriptor.spec.js @@ -1,7 +1,6 @@ - import SkeletonDescriptor from 'src/components/ui/SkeletonDescriptor.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(SkeletonDescriptor); diff --git a/test/cypress/components/ui/SkeletonForm.spec.js b/test/cypress/components/ui/SkeletonForm.spec.js index b6a12c544..787372979 100644 --- a/test/cypress/components/ui/SkeletonForm.spec.js +++ b/test/cypress/components/ui/SkeletonForm.spec.js @@ -1,7 +1,6 @@ - import SkeletonForm from 'src/components/ui/SkeletonForm.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(SkeletonForm); diff --git a/test/cypress/components/ui/SkeletonSummary.spec.js b/test/cypress/components/ui/SkeletonSummary.spec.js index 4a652b9ec..6a0fed75e 100644 --- a/test/cypress/components/ui/SkeletonSummary.spec.js +++ b/test/cypress/components/ui/SkeletonSummary.spec.js @@ -1,7 +1,6 @@ - import SkeletonSummary from 'src/components/ui/SkeletonSummary.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(SkeletonSummary); diff --git a/test/cypress/components/ui/SkeletonTable.spec.js b/test/cypress/components/ui/SkeletonTable.spec.js index 2c9e23b98..78ca4d962 100644 --- a/test/cypress/components/ui/SkeletonTable.spec.js +++ b/test/cypress/components/ui/SkeletonTable.spec.js @@ -1,7 +1,6 @@ - import SkeletonTable from 'src/components/ui/SkeletonTable.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(SkeletonTable); diff --git a/test/cypress/components/ui/VnAvatar.spec.js b/test/cypress/components/ui/VnAvatar.spec.js index 09d6cd1b8..cee78ed9e 100644 --- a/test/cypress/components/ui/VnAvatar.spec.js +++ b/test/cypress/components/ui/VnAvatar.spec.js @@ -1,7 +1,6 @@ - import VnAvatar from 'src/components/ui/VnAvatar.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnAvatar); diff --git a/test/cypress/components/ui/VnConfirm.spec.js b/test/cypress/components/ui/VnConfirm.spec.js index 068ecf8ee..7a1439ff5 100644 --- a/test/cypress/components/ui/VnConfirm.spec.js +++ b/test/cypress/components/ui/VnConfirm.spec.js @@ -1,7 +1,6 @@ - import VnConfirm from 'src/components/ui/VnConfirm.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnConfirm); diff --git a/test/cypress/components/ui/VnFilterPanel.spec.js b/test/cypress/components/ui/VnFilterPanel.spec.js index a70926f5c..fe6cfbda2 100644 --- a/test/cypress/components/ui/VnFilterPanel.spec.js +++ b/test/cypress/components/ui/VnFilterPanel.spec.js @@ -1,7 +1,6 @@ - import VnFilterPanel from 'src/components/ui/VnFilterPanel.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnFilterPanel); diff --git a/test/cypress/components/ui/VnFilterPanelChip.spec.js b/test/cypress/components/ui/VnFilterPanelChip.spec.js index 7385fa48f..ad68b3480 100644 --- a/test/cypress/components/ui/VnFilterPanelChip.spec.js +++ b/test/cypress/components/ui/VnFilterPanelChip.spec.js @@ -1,7 +1,6 @@ - import VnFilterPanelChip from 'src/components/ui/VnFilterPanelChip.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnFilterPanelChip); diff --git a/test/cypress/components/ui/VnImg.spec.js b/test/cypress/components/ui/VnImg.spec.js index 967920c94..34969f1d9 100644 --- a/test/cypress/components/ui/VnImg.spec.js +++ b/test/cypress/components/ui/VnImg.spec.js @@ -1,7 +1,6 @@ - import VnImg from 'src/components/ui/VnImg.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnImg); diff --git a/test/cypress/components/ui/VnLinkPhone.spec.js b/test/cypress/components/ui/VnLinkPhone.spec.js index dbd403d4d..cf1b484f4 100644 --- a/test/cypress/components/ui/VnLinkPhone.spec.js +++ b/test/cypress/components/ui/VnLinkPhone.spec.js @@ -1,7 +1,6 @@ - import VnLinkPhone from 'src/components/ui/VnLinkPhone.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnLinkPhone); diff --git a/test/cypress/components/ui/VnLogo.spec.js b/test/cypress/components/ui/VnLogo.spec.js index 35409fd13..1f6dbdc5b 100644 --- a/test/cypress/components/ui/VnLogo.spec.js +++ b/test/cypress/components/ui/VnLogo.spec.js @@ -1,7 +1,6 @@ - import VnLogo from 'src/components/ui/VnLogo.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnLogo); diff --git a/test/cypress/components/ui/VnLv.spec.js b/test/cypress/components/ui/VnLv.spec.js index 9524d7b5d..342c59610 100644 --- a/test/cypress/components/ui/VnLv.spec.js +++ b/test/cypress/components/ui/VnLv.spec.js @@ -1,7 +1,6 @@ - import VnLv from 'src/components/ui/VnLv.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnLv); diff --git a/test/cypress/components/ui/VnNotes.spec.js b/test/cypress/components/ui/VnNotes.spec.js index d94c77dd0..3966f54c2 100644 --- a/test/cypress/components/ui/VnNotes.spec.js +++ b/test/cypress/components/ui/VnNotes.spec.js @@ -1,7 +1,6 @@ - import VnNotes from 'src/components/ui/VnNotes.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnNotes); diff --git a/test/cypress/components/ui/VnOutForm.spec.js b/test/cypress/components/ui/VnOutForm.spec.js index 01c21823d..ffc3f98d1 100644 --- a/test/cypress/components/ui/VnOutForm.spec.js +++ b/test/cypress/components/ui/VnOutForm.spec.js @@ -1,7 +1,6 @@ - import VnOutForm from 'src/components/ui/VnOutForm.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnOutForm); diff --git a/test/cypress/components/ui/VnPaginate.spec.js b/test/cypress/components/ui/VnPaginate.spec.js index 56d58bbcb..73cb34ca0 100644 --- a/test/cypress/components/ui/VnPaginate.spec.js +++ b/test/cypress/components/ui/VnPaginate.spec.js @@ -1,7 +1,6 @@ - import VnPaginate from 'src/components/ui/VnPaginate.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnPaginate); diff --git a/test/cypress/components/ui/VnRow.spec.js b/test/cypress/components/ui/VnRow.spec.js index 1ef6417c1..6cc01f41d 100644 --- a/test/cypress/components/ui/VnRow.spec.js +++ b/test/cypress/components/ui/VnRow.spec.js @@ -1,7 +1,6 @@ - import VnRow from 'src/components/ui/VnRow.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnRow); diff --git a/test/cypress/components/ui/VnSearchbar.spec.js b/test/cypress/components/ui/VnSearchbar.spec.js index f0701beb7..b66012270 100644 --- a/test/cypress/components/ui/VnSearchbar.spec.js +++ b/test/cypress/components/ui/VnSearchbar.spec.js @@ -1,7 +1,6 @@ - import VnSearchbar from 'src/components/ui/VnSearchbar.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnSearchbar); diff --git a/test/cypress/components/ui/VnSms.spec.js b/test/cypress/components/ui/VnSms.spec.js index 34fb240fc..39b17b2e3 100644 --- a/test/cypress/components/ui/VnSms.spec.js +++ b/test/cypress/components/ui/VnSms.spec.js @@ -1,7 +1,6 @@ - import VnSms from 'src/components/ui/VnSms.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnSms); diff --git a/test/cypress/components/ui/VnSubToolbar.spec.js b/test/cypress/components/ui/VnSubToolbar.spec.js index 93c708fbf..232e45a45 100644 --- a/test/cypress/components/ui/VnSubToolbar.spec.js +++ b/test/cypress/components/ui/VnSubToolbar.spec.js @@ -1,7 +1,6 @@ - import VnSubToolbar from 'src/components/ui/VnSubToolbar.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnSubToolbar); diff --git a/test/cypress/components/ui/VnUserLink.spec.js b/test/cypress/components/ui/VnUserLink.spec.js index 7b64d6768..edb93d08b 100644 --- a/test/cypress/components/ui/VnUserLink.spec.js +++ b/test/cypress/components/ui/VnUserLink.spec.js @@ -1,7 +1,6 @@ - import VnUserLink from 'src/components/ui/VnUserLink.vue'; -describe('', () => { +describe.skip('', () => { it('TODO: boilerplate', () => { // see: https://on.cypress.io/mounting-vue cy.vnMount(VnUserLink); diff --git a/test/cypress/support/component.js b/test/cypress/support/component.js index 32c008206..103f4d055 100644 --- a/test/cypress/support/component.js +++ b/test/cypress/support/component.js @@ -75,5 +75,6 @@ Cypress.Commands.add('vnMount', (component, options = {}) => { // app.use(i18n); // }, // }); + console.log({ ...globalConfig, ...options }); return shallowMount(component, { ...globalConfig, ...options }); });