Created
March 26, 2021 10:56
-
-
Save ismail1432/f02a6169a1a535fef2cf89de10fb3a82 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Scenario: Export a csv email | |
Given I publish in client_export messenger queue the following message: | |
| App\\Message\ExportMessage | {"emailTo":"[email protected]"} | | |
Then I consume 1 messages in user_export messenger queue | |
Then the user_export messenger queue should be empty | |
And 1 mail should be sent | |
And I open mail with subject "Your export file is ready" | |
And I should see "Your export file is ready, you can download it by clicking on this link : https://domain.docker.com/export_files/export_user" in mail | |
And the Excel file with glob "var/upload/async_export/*.xlsx" should contain: | |
| A1 | Fixture A ID | | |
| A2 | 1 | | |
| B1 | Fixture name | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment