Wait for test data to be processed before running the test

This commit is contained in:
Adria Navarro 2024-11-05 13:14:45 +01:00
parent 40d19a5d06
commit ef7281716a
1 changed files with 3 additions and 0 deletions

View File

@ -1,4 +1,5 @@
<script>
import { tick } from "svelte"
import {
ModalContent,
TextArea,
@ -110,6 +111,8 @@
}
const testAutomation = async () => {
// Ensure $memoTestData rectiveness is processed
await tick()
try {
await automationStore.actions.test($selectedAutomation, $memoTestData)
$automationStore.showTestPanel = true