What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Do you have an automized test execution for PRs into ? Lots o

schoenfeld
schoenfeld Solution Architect Posts: 28 🧑🏻‍🚀 - Cadet
edited December 2019 in Help

Do you have an automized test execution for PRs into https://github.com/spryker-shop/suite?
Lots of tests failing for us. Example:
root@ce2cc6a1857b:/data/shop/development/current# vendor/bin/codecept run -f -vvv -c tests/PyzTest/Glue/AlternativeProducts/
Throwing this error:
```
AbstractAlternativeProductsRestApiCest: Request abstract alternative products
Test RestApi/AbstractAlternativeProductsRestApiCest.php:requestAbstractAlternativeProducts
Step See response code is 200
Fail Expected HTTP Status Code: 200 (OK). Actual Status Code: 404 (Not Found) with the response "{"errors":[{"status":404,"detail":"Not Found"}]}"
Failed asserting that 404 matches expected 200.
``````

This test is trying to GET a product via GLUE (concrete product 2057340392). This product exists in spy_product, but is not in spy_product_concrete_storage database - maybe thats the reason for failing test.
root@ce2cc6a1857b:/data/shop/development/current# vendor/bin/codecept fixtures -vvv is throwing 5 errors
i.e.

Glue/Carts/RestApi/Fixtures/CartsRestApiFixtures.php:buildFixtures -> Return value of PyzTest\Glue\Carts\RestApi\Fixtures\CartsRestApiFixtures::createPersistentQuote() must be an instance of Generated\Shared\Transfer\QuoteTransfer, null returned
We like to know if tests inside https://github.com/spryker-shop/suite are executed and running? Thanks!

Comments