fix: trying to enable console.log in cypress

This commit is contained in:
Livio Bieri 2024-02-09 11:14:23 +01:00
parent bd5cbd3394
commit 2f3b3be493
2 changed files with 19 additions and 16 deletions

View File

@ -16,6 +16,7 @@ e2e: &e2e
- export CURRENTS_RECORD_KEY=etzp5VXtJcSX8Z4H
- export IT_SERVE_VUE=false
- export IT_ALLOW_LOCAL_LOGIN=true
- export ELECTRON_ENABLE_LOGGING=true
- source ./env/bitbucket/prepare_for_test.sh
- pip install -r server/requirements/requirements-dev.txt
- npm install

View File

@ -33,6 +33,8 @@ export const useCircleStore = defineStore({
getters: {},
actions: {
openLearningContent(learningContent: LearningContent) {
console.log("💩 openLearningContent", learningContent.frontend_url);
this.router.push({
path: learningContent.frontend_url,
});