Fix cypress tests
This commit is contained in:
parent
924bfac278
commit
9de6ca199d
|
|
@ -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();
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue