e2e-test: add wait before checking backend availability

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-11-02 15:08:45 +01:00
parent 88f99b8b13
commit f121e3fc69
+1
View File
@@ -507,6 +507,7 @@ async function testBackendStart(appDir: string, ...args: string[]) {
// Skipping the whole block
throw new Error(stderr);
}
await new Promise(resolve => setTimeout(resolve, 500));
print('Try to fetch entities from the backend');
// Try fetch entities, should be ok