diff --git a/features/bootstrap/AcknowledgementContext.php b/features/bootstrap/AcknowledgementContext.php index db7ba83fc4680f9c3accd616e5ff95c8e8c4c74b..7f9c6bcb1702b8d4cf25bb822d8f4ac2cb08f7b3 100644 --- a/features/bootstrap/AcknowledgementContext.php +++ b/features/bootstrap/AcknowledgementContext.php @@ -71,7 +71,7 @@ class AcknowledgementContext extends CentreonContext 'meta_1' ); $props = $page->getProperties(); - return $props['last_check']; + return $props['last_check'] && $props['state'] != 'PENDING'; }, 'Could not open meta-service monitoring details page.', 120