-
Notifications
You must be signed in to change notification settings - Fork 789
Open
Description
Description
https://github.com/shopware5/shopware/actions/runs/7771045464/job/21192188977
@captchaInactive @evaluations
Scenario: I can write an evaluation # Tests/Frontend/Detail/detail.feature:62
Given I am on the detail page for article 100 # Shopware\Tests\Mink\Tests\Frontend\Detail\bootstrap\DetailContext::iAmOnTheDetailPageForArticle()
Then I follow "Bewertungen" # Behat\MinkExtension\Context\MinkContext::clickLink()
And I should see "Bewertung schreiben" # Behat\MinkExtension\Context\MinkContext::assertPageContainsText()
When I write an evaluation: # Shopware\Tests\Mink\Tests\Frontend\Detail\bootstrap\DetailContext::iWriteAnEvaluation()
| field | value |
| sVoteName | Max Mustermann |
| sVoteStars | 3 |
| sVoteSummary | Neue Bewertung |
| sVoteComment | Hallo Welt |
Then I should not see "Bitte füllen Sie alle rot markierten Felder aus" # Behat\MinkExtension\Context\MinkContext::assertPageNotContainsText()
But I should see "Vielen Dank für die Abgabe Ihrer Bewertung! Ihre Bewertung wird nach Überprüfung freigeschaltet." # Behat\MinkExtension\Context\MinkContext::assertPageContainsText()
Behat\Mink\Exception\ResponseTextException: The text "Vielen Dank für die Abgabe Ihrer Bewertung! Ihre Bewertung wird nach Überprüfung freigeschaltet." was not found anywhere in the text of the current page.
in /home/runner/work/shopware/shopware/vendor/behat/mink/src/WebAssert.php:907
Stack trace:
#0 /home/runner/work/shopware/shopware/vendor/behat/mink/src/WebAssert.php(293): Behat\Mink\WebAssert->assertResponseText()
#1 /home/runner/work/shopware/shopware/vendor/friends-of-behat/mink-extension/src/Behat/MinkExtension/Context/MinkContext.php(292): Behat\Mink\WebAssert->pageTextContains()
Scenario failed!
PHP Version
8.1
Shopware Version
5.7 dev
How to reproduce
run detail e2e test.
https://github.com/shopware5/shopware/blob/5.7/tests/Mink/Tests/Frontend/Detail/detail.feature#L61
Expected behaviour
test should run without being flacky
Actual behaviour
test is failing from time to time
Metadata
Metadata
Assignees
Labels
No labels