Skip to content

Commit 7908400

Browse files
Added correct match clauses
1 parent 332363a commit 7908400

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib/Core/Log/Failure/KnownIssues/CollectionBlockAddFail.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ class ContentTypeCreatedInTheBackground implements KnownIssueInterface
1414
{
1515
public function matches(TestFailureData $testFailureData): bool
1616
{
17-
return $testFailureData->applicationLogContainsFragment('DefaultChoiceListFactory') &&
18-
($testFailureData->applicationLogContainsFragment('Warning: Undefined array key') ||
19-
$testFailureData->applicationLogContainsFragment('Notice: Undefined index'));
17+
return $testFailureData->exceptionStackTraceContainsFragment('Ibexa\PageBuilder\Behat\Page\PageBuilderEditor->addBlock()') &&
18+
$testFailureData->exceptionMessageContainsFragment("CSS locator 'blockAttribute': '[data-ibexa-block-id]' was not found.") &&
19+
$testFailureData->browserLogsContainFragment("I start creating a new Landing Page \"Collection\"");
2020
}
2121

2222
public function getJiraReference(): string

0 commit comments

Comments
 (0)