Skip to content

Commit

Permalink
Merge branch '4.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
mnocon committed Nov 14, 2023
2 parents c07424d + d46239b commit b2fb586
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/bundle/Resources/config/services/known_issues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ services:
Ibexa\Behat\Core\Log\Failure\KnownIssues\NewContentTypeCreation: ~

Ibexa\Behat\Core\Log\Failure\KnownIssues\ContentTypeCreatedInTheBackground: ~

Ibexa\Behat\Core\Log\Failure\KnownIssues\FailedLogin: ~
26 changes: 26 additions & 0 deletions src/lib/Core/Log/Failure/KnownIssues/FailedLogin.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php

/**
* @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;

final class FailedLogin implements KnownIssueInterface
{
public function matches(TestFailureData $testFailureData): bool
{
return $testFailureData->exceptionStackTraceContainsFragment(
"Failed asserting that Collection created with css locator 'loginSuccess': '#login-success' is not empty"
);
}

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

0 comments on commit b2fb586

Please sign in to comment.