Fix cypress tests

This commit is contained in:
Daniel Egger 2022-10-11 16:52:46 +02:00
parent 924bfac278
commit 9de6ca199d
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
<script setup lang="ts"> <script setup lang="ts">
// inspiration https://vuejs.org/examples/#modal // inspiration https://vuejs.org/examples/#modal
import { onMounted, onUnmounted ,watch } from "vue"; import { onMounted, onUnmounted, watch } from "vue";
const props = defineProps<{ const props = defineProps<{
show: boolean; show: boolean;
@ -20,7 +20,7 @@ onMounted(() => {
appElement = document.getElementById("app"); appElement = document.getElementById("app");
}); });
onUnmounted( () => removeNoScroll()) onUnmounted(() => removeNoScroll());
const closeModal = () => { const closeModal = () => {
removeNoScroll(); removeNoScroll();

View File

@ -73,7 +73,7 @@ else
fi fi
if [ "$START_BACKGROUND" = true ]; then if [ "$START_BACKGROUND" = true ]; then
cd server && python3 server/manage.py runserver "${DJANGO_PORT}" --settings="$DJANGO_SETTINGS_MODULE" > /dev/null & cd server && python3 manage.py runserver "${DJANGO_PORT}" --settings="$DJANGO_SETTINGS_MODULE" > /dev/null &
else else
cd server && python3 manage.py runserver "${DJANGO_PORT}" --settings="$DJANGO_SETTINGS_MODULE" cd server && python3 manage.py runserver "${DJANGO_PORT}" --settings="$DJANGO_SETTINGS_MODULE"
fi fi