diff --git a/tests/acceptance/features/bootstrap/TagContext.php b/tests/acceptance/features/bootstrap/TagContext.php index 1c34637db0..3ae457cc32 100644 --- a/tests/acceptance/features/bootstrap/TagContext.php +++ b/tests/acceptance/features/bootstrap/TagContext.php @@ -148,8 +148,9 @@ class TagContext implements Context { * @throws Exception */ public function theUserGetsAllAvailableTags(string $user):void { - // after creating or deleting tags, in some cases tags do not appear or disappear immediately, so we use waiting - sleep(1); + // Note: after creating or deleting tags, in some cases tags do not appear or disappear immediately, + // So wait is necessary before listing tags + sleep(5); $this->featureContext->setResponse( GraphHelper::getTags( $this->featureContext->getBaseUrl(),