diff --git a/.github/workflows/ui-tests.yml b/.github/workflows/ui-tests.yml index f4b87366..6ff03b93 100644 --- a/.github/workflows/ui-tests.yml +++ b/.github/workflows/ui-tests.yml @@ -105,7 +105,7 @@ jobs: - name: cypress pre-requisites run: | cd ~/frappe-bench/apps/lms - yarn add cypress@^10 --no-lockfile + yarn add cypress@^10 --no-lockfile -W - name: UI Tests run: cd ~/frappe-bench/ && bench --site lms.test run-ui-tests lms --headless diff --git a/commitlint.config.js b/commitlint.config.js index 0c582f54..2b23e6a0 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -1,4 +1,4 @@ -module.exports = { +export default { parserPreset: "conventional-changelog-conventionalcommits", rules: { "subject-empty": [2, "never"], diff --git a/cypress.config.js b/cypress.config.js index c7c1354e..b4ccfb3a 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -1,6 +1,6 @@ -const { defineConfig } = require("cypress"); +import { defineConfig } from "cypress"; -module.exports = defineConfig({ +export default defineConfig({ projectId: "vandxn", adminPassword: "admin", testUser: "frappe@example.com", diff --git a/docker/init.sh b/docker/init.sh index 178735c0..ed74f101 100644 --- a/docker/init.sh +++ b/docker/init.sh @@ -16,9 +16,9 @@ cd frappe-bench # Use containers instead of localhost bench set-mariadb-host mariadb -bench set-redis-cache-host redis:6379 -bench set-redis-queue-host redis:6379 -bench set-redis-socketio-host redis:6379 +bench set-redis-cache-host redis://redis:6379 +bench set-redis-queue-host redis://redis:6379 +bench set-redis-socketio-host redis://redis:6379 # Remove redis, watch from Procfile sed -i '/redis/d' ./Procfile diff --git a/frontend/components.d.ts b/frontend/components.d.ts index 7b544e12..7bdb98c6 100644 --- a/frontend/components.d.ts +++ b/frontend/components.d.ts @@ -47,6 +47,7 @@ declare module 'vue' { Discussions: typeof import('./src/components/Discussions.vue')['default'] EditCoverImage: typeof import('./src/components/Modals/EditCoverImage.vue')['default'] EditProfile: typeof import('./src/components/Modals/EditProfile.vue')['default'] + EmptyState: typeof import('./src/components/EmptyState.vue')['default'] EvaluationModal: typeof import('./src/components/Modals/EvaluationModal.vue')['default'] Evaluators: typeof import('./src/components/Evaluators.vue')['default'] Event: typeof import('./src/components/Modals/Event.vue')['default'] diff --git a/frontend/package.json b/frontend/package.json index 50f57d68..0a45681d 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -27,7 +27,7 @@ "codemirror-editor-vue3": "^2.8.0", "dayjs": "^1.11.6", "feather-icons": "^4.28.0", - "frappe-ui": "^0.1.141", + "frappe-ui": "^0.1.143", "highlight.js": "^11.11.1", "lucide-vue-next": "^0.383.0", "markdown-it": "^14.0.0", diff --git a/frontend/src/App.vue b/frontend/src/App.vue index c79397af..6097fe09 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1,12 +1,13 @@ diff --git a/frontend/src/components/Evaluators.vue b/frontend/src/components/Evaluators.vue index 5e2b2e59..ba83204b 100644 --- a/frontend/src/components/Evaluators.vue +++ b/frontend/src/components/Evaluators.vue @@ -17,10 +17,11 @@ :debounce="300" />