From 5b98860585434487fce78b56f74fa5757ffac9c5 Mon Sep 17 00:00:00 2001 From: Artur Neumann Date: Mon, 3 Nov 2025 18:58:46 +0545 Subject: [PATCH] check status of postprocessing before accesing the file (#1762) --- tests/acceptance/bootstrap/CliContext.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/acceptance/bootstrap/CliContext.php b/tests/acceptance/bootstrap/CliContext.php index c5117971c..5a910d989 100644 --- a/tests/acceptance/bootstrap/CliContext.php +++ b/tests/acceptance/bootstrap/CliContext.php @@ -696,6 +696,10 @@ class CliContext implements Context { * @return void */ public function theAdministratorReadsTheFileContent(string $user, string $file): void { + // this downloads the file using WebDAV and by that checks if it's still in + // postprocessing. So its effectively a check for finished postprocessing + $this->featureContext->userDownloadsFileUsingTheAPI($user, $file); + $userUuid = $this->featureContext->getAttributeOfCreatedUser($user, 'id'); $storagePath = $this->getUsersStoragePath(); $body = [ @@ -874,6 +878,10 @@ class CliContext implements Context { * @return void */ public function theAdminChecksTheAttributeOfFileForUser(string $attribute, string $file, string $user): void { + // this downloads the file using WebDAV and by that checks if it's still in + // postprocessing. So its effectively a check for finished postprocessing + $this->featureContext->userDownloadsFileUsingTheAPI($user, $file); + $userUuid = $this->featureContext->getAttributeOfCreatedUser($user, 'id'); $storagePath = $this->getUsersStoragePath(); $body = [