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
@ -97,12 +98,12 @@ js-linting: &js-linting
default-steps: &default-steps
- parallel:
- step: *e2e
- step: *e2e
- step: *python-tests
- step: *python-linting
- step: *js-tests
- step: *js-linting
- step: *e2e
- step: *e2e
- step: *python-tests
- step: *python-linting
- step: *js-tests
- step: *js-linting
# main pipelines definitions
pipelines:
@ -132,16 +133,16 @@ pipelines:
script:
- echo "Release ready!"
- parallel:
- step:
<<: *deploy
name: deploy prod
deployment: prod
trigger: manual
- step:
<<: *deploy
name: deploy prod-azure
deployment: prod-azure
trigger: manual
- step:
<<: *deploy
name: deploy prod
deployment: prod
trigger: manual
- step:
<<: *deploy
name: deploy prod-azure
deployment: prod-azure
trigger: manual
custom:
deploy-feature-branch:
- step:

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,
});