diff --git a/CHANGELOG.md b/CHANGELOG.md index e4154a0c..bd78061e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ ## [CoreUI for Vue.js](./README.md) version `changelog` +##### `v2.0.3` +- test(init): update Tables snapshot +- test(e2e): add `aside-menu-*-show` testing +- chore: update `@coreui/coreui` to `2.1.0` +- chore: update `css-vars-ponyfill` to `1.15.0` +- chore: update `@vue/cli-plugin-babel` to `3.1.1` +- chore: update `@vue/cli-plugin-e2e-nightwatch` to `3.1.1` +- chore: update `@vue/cli-plugin-eslint` to `3.1.5` +- chore: update `@vue/cli-plugin-unit-jest` to `3.1.1` +- chore: update `@vue/cli-service` to `3.1.4` +- chore: update `node-sass` to `4.10.0` + ##### `v2.0.2` - refactor: extract random() to `shared/utils` - refactor: extract shuffleArray() to shared/utils diff --git a/package.json b/package.json index 00b14eaf..5349b259 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@coreui/coreui-free-vue-admin-template", - "version": "2.0.2", + "version": "2.0.3", "description": "Open Source Bootstrap Admin Template", "author": "Ɓukasz Holeczek", "homepage": "http://coreui.io", @@ -14,7 +14,7 @@ "test:e2e": "vue-cli-service test:e2e" }, "dependencies": { - "@coreui/coreui": "^2.0.20", + "@coreui/coreui": "^2.1.0", "@coreui/coreui-plugin-chartjs-custom-tooltips": "^1.2.0", "@coreui/icons": "0.3.0", "@coreui/vue": "^2.0.2", @@ -22,7 +22,7 @@ "bootstrap-vue": "^2.0.0-rc.11", "chart.js": "^2.7.3", "core-js": "^2.5.7", - "css-vars-ponyfill": "^1.11.1", + "css-vars-ponyfill": "^1.15.0", "flag-icon-css": "^3.2.0", "font-awesome": "^4.7.0", "perfect-scrollbar": "^1.4.0", @@ -33,17 +33,17 @@ "vue-router": "^3.0.1" }, "devDependencies": { - "@vue/cli-plugin-babel": "^3.0.5", - "@vue/cli-plugin-e2e-nightwatch": "^3.0.5", - "@vue/cli-plugin-eslint": "^3.0.5", - "@vue/cli-plugin-unit-jest": "^3.0.5", - "@vue/cli-service": "^3.0.5", + "@vue/cli-plugin-babel": "^3.1.1", + "@vue/cli-plugin-e2e-nightwatch": "^3.1.1", + "@vue/cli-plugin-eslint": "^3.1.5", + "@vue/cli-plugin-unit-jest": "^3.1.1", + "@vue/cli-service": "^3.1.4", "@vue/test-utils": "^1.0.0-beta.25", "babel-core": "^7.0.0-bridge.0", "babel-jest": "^23.6.0", "growl": "^1.10.5", "https-proxy-agent": "^2.2.1", - "node-sass": "^4.9.4", + "node-sass": "^4.10.0", "sass-loader": "^7.1.0", "vue-template-compiler": "^2.5.17" }, diff --git a/tests/e2e/specs/test.js b/tests/e2e/specs/test.js index 53d7e4ac..1b3f3824 100644 --- a/tests/e2e/specs/test.js +++ b/tests/e2e/specs/test.js @@ -36,6 +36,8 @@ module.exports = { .assert.elementCount('button', 10) .resizeWindow(1024, 800) .pause(500) + .assert.cssClassNotPresent('body', 'aside-menu-show') + .assert.cssClassNotPresent('body', 'aside-menu-lg-show') browser.click('body > div > header > button.d-none.d-lg-block.navbar-toggler', function (response) { console.log('response', typeof response) diff --git a/tests/unit/views/base/__snapshots__/Tables.spec.js.snap b/tests/unit/views/base/__snapshots__/Tables.spec.js.snap index 228da1e6..bbeea00a 100644 --- a/tests/unit/views/base/__snapshots__/Tables.spec.js.snap +++ b/tests/unit/views/base/__snapshots__/Tables.spec.js.snap @@ -15,10 +15,9 @@ exports[`Tables.vue renders correctly 1`] = ` caption= Simple Table fields="[object Object],[object Object],[object Object],[object Object]" perpage="5" - tabledata="function someData() { + tabledata="() => { /* istanbul ignore next */cov_10ilegof86.f[1]++; cov_10ilegof86.s[7]++; - return (0, _utils.shuffleArray)([{ username: 'Samppa Nori', registered: '2012/01/01', @@ -161,10 +160,9 @@ exports[`Tables.vue renders correctly 1`] = ` fields="" perpage="5" striped="true" - tabledata="function someData() { + tabledata="() => { /* istanbul ignore next */cov_10ilegof86.f[1]++; cov_10ilegof86.s[7]++; - return (0, _utils.shuffleArray)([{ username: 'Samppa Nori', registered: '2012/01/01', @@ -311,10 +309,9 @@ exports[`Tables.vue renders correctly 1`] = ` fields="" perpage="5" small="true" - tabledata="function someData() { + tabledata="() => { /* istanbul ignore next */cov_10ilegof86.f[1]++; cov_10ilegof86.s[7]++; - return (0, _utils.shuffleArray)([{ username: 'Samppa Nori', registered: '2012/01/01', @@ -458,10 +455,9 @@ exports[`Tables.vue renders correctly 1`] = ` fields="" fixed="true" perpage="5" - tabledata="function someData() { + tabledata="() => { /* istanbul ignore next */cov_10ilegof86.f[1]++; cov_10ilegof86.s[7]++; - return (0, _utils.shuffleArray)([{ username: 'Samppa Nori', registered: '2012/01/01',