Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions src/lib/Core/Log/Failure/KnownIssues/CollectionBlockAddFail.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php

Check warning on line 1 in src/lib/Core/Log/Failure/KnownIssues/CollectionBlockAddFail.php

View workflow job for this annotation

GitHub Actions / Run code style check (8.1)

Found violation(s) of type: psr_autoloading

Check warning on line 1 in src/lib/Core/Log/Failure/KnownIssues/CollectionBlockAddFail.php

View workflow job for this annotation

GitHub Actions / Run code style check (8.1)

Found violation(s) of type: single_quote

/**
* @copyright Copyright (C) Ibexa AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
*/
declare(strict_types=1);

namespace Ibexa\Behat\Core\Log\Failure\KnownIssues;

use Ibexa\Behat\Core\Log\Failure\TestFailureData;

class ContentTypeCreatedInTheBackground implements KnownIssueInterface
{
public function matches(TestFailureData $testFailureData): bool
{
return $testFailureData->exceptionStackTraceContainsFragment('Ibexa\PageBuilder\Behat\Page\PageBuilderEditor->addBlock()') &&
$testFailureData->exceptionMessageContainsFragment("CSS locator 'blockAttribute': '[data-ibexa-block-id]' was not found.") &&
$testFailureData->browserLogsContainFragment("I start creating a new Landing Page \"Collection\"");
}

public function getJiraReference(): string
{
return 'https://issues.ibexa.co/browse/IBX-10631';
}
}
Loading