Skip to main content

Questions tagged [integration-test]

Denotes questions related to integration tests on Magento.

0 votes
0 answers
45 views

When I try to run integration tests: I get below error: Module 'Magento_Amqp': In Reader.php line 96: [LogicException] Service interface was expected, "Magento\TestModuleSynchronousAmqp\Api\...
Rajeev K Tomy's user avatar
0 votes
1 answer
73 views

I want to use Magento's integration test suite to test some of my customizations. My code calls an external web API, which has different URLs depending of the environment which is used. My module's ...
stollr's user avatar
  • 149
3 votes
1 answer
162 views

This question comes as a complement from issue already posted in Magento 2 and TDD good practices to implement tests After I implemented my own understanding of the solution provided. I'm getting the ...
Clong's user avatar
  • 1,344
3 votes
2 answers
565 views

here is my concern, when it comes to testing in Magento 2, I find documentation is quite obselete or very difficult to understand. If PhpUnit offers ways to test a simple method...I feel like as soon ...
Clong's user avatar
  • 1,344
0 votes
0 answers
123 views

I build a functionality where in I have custom attribute in product, I am using graphQL query to fetch the products list. To test this functionality I am writing a test case which will check if query ...
Deepak Mankotia's user avatar
1 vote
1 answer
732 views

I am creating the Integration test in my custom module. I have installed the module in vendor folder structure is like as vendor/[ModuleVendor]/[ModuleName]/Src I am using below command to run the ...
Jack's user avatar
  • 450
4 votes
4 answers
6k views

On a dockerized CI environment (Ubuntu 20.04) we are getting the following error: cd dev/tests/integration; ../../../vendor/bin/phpunit -v --testsuite 'Our Tests' ... Disabling Maintenance Mode: In ...
Alex's user avatar
  • 13.5k
1 vote
0 answers
262 views

I have a module that adds two extension attributes to Magento\Sales\Api\Data\OrderAddressInterface: <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
Daniel's user avatar
  • 2,309
2 votes
1 answer
295 views

I have a plugin that plugs into the execute method of \Magento\Checkout\Controller\Cart\Index and redirects under some condition. di.xml: <?xml version="1.0" ?> <config xmlns:xsi=&...
kolaente's user avatar
  • 358
0 votes
1 answer
638 views

I have an existing store with a collection of existing plugins. I'm trying to setup an integration test to test some new features, but the test doesn't get past the installation: Module '...
Tschallacka's user avatar
0 votes
1 answer
262 views

We are getting the below message just after lots of integration tests already ran properly. How can this be caused? Configuration: /var/www/dev/tests/integration/phpunit.xml II............................
Alex's user avatar
  • 13.5k
2 votes
1 answer
228 views

When writing integration tests, there are two quite similar annotations: @magentoAdminConfigFixture (GitHub) @magentoConfigFixture (GitHub) The latter one is used much more often: $ grep -R '@...
Simon's user avatar
  • 5,746
2 votes
3 answers
4k views

TL;DR I am getting the above error when running integration tests on a CI docker environment. The problem seems that somewhere within $this->dispatch() the test fails, but does not output any error ...
Alex's user avatar
  • 13.5k
0 votes
1 answer
248 views

I'm having trouble running the magento2 integration tests. I followed the documentation and set up the database parameters in install-config-mysql.php : 'db-host' => 'mysql:3306', 'db-user' => ...
Badong's user avatar
  • 91
1 vote
1 answer
3k views

I'm getting an error Call to undefined method Magento\Customer\Api\Data\CustomerExtension::getIsSubscribed() when running integration tests on my local development environment. For some reason it ...
Matti Teräslahti's user avatar

15 30 50 per page
1
2 3 4 5