From d46239bdd80b79fb71f4155c4cdbfa2fb1057b93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Noco=C5=84?= Date: Mon, 13 Nov 2023 12:49:52 +0100 Subject: [PATCH] Added issue detection for IBX-4672 --- .../config/services/known_issues.yaml | 2 ++ .../Log/Failure/KnownIssues/FailedLogin.php | 26 +++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 src/lib/Core/Log/Failure/KnownIssues/FailedLogin.php diff --git a/src/bundle/Resources/config/services/known_issues.yaml b/src/bundle/Resources/config/services/known_issues.yaml index d6c1acac..8daee61e 100644 --- a/src/bundle/Resources/config/services/known_issues.yaml +++ b/src/bundle/Resources/config/services/known_issues.yaml @@ -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: ~ diff --git a/src/lib/Core/Log/Failure/KnownIssues/FailedLogin.php b/src/lib/Core/Log/Failure/KnownIssues/FailedLogin.php new file mode 100644 index 00000000..09f73b5e --- /dev/null +++ b/src/lib/Core/Log/Failure/KnownIssues/FailedLogin.php @@ -0,0 +1,26 @@ +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'; + } +}