| test | seconds | history |
|---|
Magento.GraphQl.App.GraphQlCheckoutMutationsStateTest::testPlaceOrderdetailsdeterministic 3.828s @magentoDataFixture Magento/GraphQl/Catalog/_files/simple_product.php @magentoDataFixture Magento/GraphQl/Quote/_files/guest/create_empty_cart.php @magentoDataFixture Magento/GraphQl/Quote/_files/add_simple_product.php @magentoDataFixture Magento/GraphQl/Quote/_files/set_new_shipping_address.php @magentoDataFixture Magento/GraphQl/Quote/_files/set_new_billing_address.php @magentoDataFixture Magento/GraphQl/Quote/_files/set_flatrate_shipping_method.php @magentoDataFixture Magento/GraphQl/Quote/_files/set_checkmo_payment_method.php @magentoDataFixture Magento/GraphQl/Quote/_files/guest/set_guest_email.php Magento\GraphQl\App\GraphQlCheckoutMutationsStateTest::testPlaceOrder
1 objects changed state since constructed. Details: array (
'Magento\\Elasticsearch\\Model\\Adapter\\BatchDataMapper\\ProductDataMapper' =>
array (
'objectClassBefore' => 'Magento\\Elasticsearch\\Model\\Adapter\\BatchDataMapper\\ProductDataMapper',
'properties' =>
array (
'attributeOptionsCache' =>
array (
1 =>
array (
'before' => NULL,
'after' =>
array (
74 =>
array (
),
97 =>
array (
0 =>
array (
'value' => 1,
'label' => 'Magento\\Framework\\Phrase',
),
1 =>
array (
'value' => 2,
'label' => 'Magento\\Framework\\Phrase',
),
),
136 =>
array (
0 =>
array (
'value' => '0',
'label' => 'Magento\\Framework\\Phrase',
),
1 =>
array (
'value' => '2',
'label' => 'Taxable Goods',
),
),
73 =>
array (
),
121 =>
array (
),
),
),
),
),
'objectIdBefore' => 126359,
),
)
Failed asserting that an array is empty.
/srv/mageos-testing/mageos-master/dev/tests/integration/testsuite/Magento/GraphQl/App/State/GraphQlStateDiff.php:206
/srv/mageos-testing/mageos-master/dev/tests/integration/testsuite/Magento/GraphQl/App/State/GraphQlStateDiff.php:147
/srv/mageos-testing/mageos-master/dev/tests/integration/testsuite/Magento/GraphQl/App/GraphQlCheckoutMutationsStateTest.php:326/srv/mageos-testing/mageos-master/dev/tests/integration/testsuite/Magento/GraphQl/App/GraphQlCheckoutMutationsStateTest.php:320–344 <?php
* @magentoDataFixture Magento/GraphQl/Quote/_files/guest/set_guest_email.php
*/
public function testPlaceOrder(): void
{
$cartId = $this->graphQlStateDiff->getCartIdHash('test_quote');
$query = $this->getPlaceOrderQuery();
$this->graphQlStateDiff->testState(
$query,
['cartId' => $cartId],
[],
[],
'placeOrder',
'"data":{"placeOrder":',
$this
);
}
private function getBillingAddressQuery(): string
{
return <<<'QUERY'
mutation($cartId: String!) {
setBillingAddressOnCart(
input: {
cart_id: $cartId
billing_address: {
| 3.83 | |
Magento.GraphQl.Controller.GraphQlControllerTest::testDispatchdetailscontext-dependent 1.903s Magento\GraphQl\Controller\GraphQlControllerTest::testDispatch
Products array has items
Failed asserting that an array is not empty.
/srv/mageos-testing/mageos-master/dev/tests/integration/testsuite/Magento/GraphQl/Controller/GraphQlControllerTest.php:116 /srv/mageos-testing/mageos-master/dev/tests/integration/testsuite/Magento/GraphQl/Controller/GraphQlControllerTest.php:76–100 <?php
* @return void
*/
public function testDispatch() : void
{
/** @var ProductRepositoryInterface $productRepository */
$productRepository = $this->objectManager->get(ProductRepositoryInterface::class);
/** @var ProductInterface $product */
$product = $productRepository->get('simple1');
$query
= <<<QUERY
{
products(filter: {sku: {eq: "simple1"}})
{
items {
id
name
sku
}
}
}
QUERY;
$postData = [
'query' => $query,
| 1.90 | |
| Magento.GraphQl.App.GraphQlCheckoutMutationsStateTest::testAddBundleProductToCart | 3.09 | |
| Magento.GraphQl.App.GraphQlCheckoutMutationsStateTest::testAddConfigurableProductToCart | 9.51 | |
| Magento.GraphQl.App.GraphQlCheckoutMutationsStateTest::testAddCouponToCart | 2.89 | |
| Magento.GraphQl.App.GraphQlCheckoutMutationsStateTest::testAddDownloadableProductToCart | 3.53 | |
| Magento.GraphQl.App.GraphQlCheckoutMutationsStateTest::testAddSimpleProductToCart | 3.07 | |
| Magento.GraphQl.App.GraphQlCheckoutMutationsStateTest::testAddVirtualProductToCart | 1.76 | |
| Magento.GraphQl.App.GraphQlCheckoutMutationsStateTest::testCreateEmptyCart | 2.01 | |
| Magento.GraphQl.App.GraphQlCheckoutMutationsStateTest::testSetBillingAddressOnCart | 1.94 | |
| Magento.GraphQl.App.GraphQlCheckoutMutationsStateTest::testSetPaymentMethodOnCart | 2.17 | |
| Magento.GraphQl.App.GraphQlCheckoutMutationsStateTest::testSetShippingAddressOnCart | 2.54 | |
| Magento.GraphQl.App.GraphQlCheckoutMutationsStateTest::testSetShippingMethodsOnCart | 2.54 | |
| Magento.GraphQl.App.GraphQlCustomerMutationsTest::testChangePassword | 3.80 | |
| Magento.GraphQl.App.GraphQlCustomerMutationsTest::testCreateCustomerAddress | 1.65 | |
| Magento.GraphQl.App.GraphQlCustomerMutationsTest::testCustomerState with data set "Create Customer" | 3.17 | |
| Magento.GraphQl.App.GraphQlCustomerMutationsTest::testCustomerState with data set "Generate Customer Token" | 1.39 | |
| Magento.GraphQl.App.GraphQlCustomerMutationsTest::testCustomerState with data set "Get Customer" | 1.52 | |
| Magento.GraphQl.App.GraphQlCustomerMutationsTest::testCustomerState with data set "Update Customer Address" | 1.54 | |
| Magento.GraphQl.App.GraphQlCustomerMutationsTest::testCustomerState with data set "Update Customer Email" | 4.63 | |
| Magento.GraphQl.App.GraphQlCustomerMutationsTest::testCustomerState with data set "Update Customer" | 1.78 | |
| Magento.GraphQl.App.GraphQlCustomerMutationsTest::testGraphQlPasswordResetSecurityLimiting | 1.97 | |
| Magento.GraphQl.App.GraphQlCustomerMutationsTest::testMergeCarts | 4.43 | |
| Magento.GraphQl.App.GraphQlCustomerMutationsTest::testRequestPasswordResetEmail | 2.11 | |
| Magento.GraphQl.App.GraphQlCustomerMutationsTest::testResetPassword | 1.99 | |
| Magento.GraphQl.App.GraphQlStateTest::testCartState with data set "Get Cart" | 3.46 | |
| Magento.GraphQl.App.GraphQlStateTest::testState with data set "Get Categories by name" | 54.04 | |
| Magento.GraphQl.App.GraphQlStateTest::testState with data set "Get List of Products by category_id" | 41.18 | |
| Magento.GraphQl.App.GraphQlStateTest::testState with data set "Get Navigation Menu by category_id" | 47.07 | |
| Magento.GraphQl.App.GraphQlStateTest::testState with data set "Get Product Search by product_name" | 61.17 | |
| Magento.GraphQl.App.GraphQlStateTest::testState with data set "Get Products by name" | 44.38 | |
| Magento.GraphQl.App.GraphQlStateTest::testState with data set "Get Simple Product Details by name" | 38.06 | |
| Magento.GraphQl.App.GraphQlStateTest::testState with data set "Get Url Info by url_key" | 36.59 | |
| Magento.GraphQl.App.GraphQlStateTest::testState with data set "Get available Stores" | 32.35 | |
| Magento.GraphQl.App.GraphQlStateTest::testState with data set "Get store config" | 32.63 | |
| Magento.GraphQl.Controller.GraphQlControllerTest::testDispatchGetWithInvalidQuery | 2.15 | |
| Magento.GraphQl.Controller.GraphQlControllerTest::testDispatchGetWithMutation | 1.63 | |
| Magento.GraphQl.Controller.GraphQlControllerTest::testDispatchGetWithParameterizedVariables | 1.25 | |
| Magento.GraphQl.Controller.GraphQlControllerTest::testDispatchGetWithoutQuery | 1.36 | |
| Magento.GraphQl.Controller.GraphQlControllerTest::testDispatchOptions | 1.14 | |
| Magento.GraphQl.Controller.GraphQlControllerTest::testDispatchPostWithInvalidJson | 1.23 | |
| Magento.GraphQl.Controller.GraphQlControllerTest::testDispatchPostWithWrongContentType | 1.51 | |
| Magento.GraphQl.Controller.GraphQlControllerTest::testDispatchPostWithoutQuery | 1.56 | |
| Magento.GraphQl.Controller.GraphQlControllerTest::testDispatchWithGet | 1.16 | |
| Magento.GraphQl.Controller.GraphQlControllerTest::testError | 0.99 | |
| Magento.GraphQl.Controller.HttpRequestValidator.HttpVerbValidatorTest::testValidate with data set #0 | 0.04 | |
| Magento.GraphQl.Controller.HttpRequestValidator.HttpVerbValidatorTest::testValidate with data set #1 | 0.04 | |
| Magento.GraphQl.GraphQlIntrospectionTest::testIntrospectionQuery | 0.04 | |
| Magento.GraphQl.GraphQlIntrospectionTest::testIntrospectsIncludeTheDeprecatedParameter | 0.04 | |
| Magento.GraphQl.GraphQlIntrospectionTest::testIntrospectsInputObjectWithNonNullInputField | 0.04 | |
| Magento.GraphQl.Helper.Query.Logger.LogDataTest::testGetQueryInformation with data set #0 | 0.10 | |
| Magento.GraphQl.Helper.Query.Logger.LogDataTest::testGetQueryInformation with data set #1 | 0.09 | |
| Magento.GraphQl.Helper.Query.Logger.LogDataTest::testGetQueryInformation with data set #2 | 0.09 | |
| Magento.GraphQl.Helper.Query.Logger.LogDataTest::testGetQueryInformation with data set #3 | 0.09 | |
| Magento.GraphQl.Helper.Query.Logger.LogDataTest::testGetQueryInformation with data set #4 | 0.17 | |
| Magento.GraphQl.Helper.Query.Logger.LogDataTest::testGetQueryInformation with data set #5 | 0.14 | |
| Magento.GraphQl.Helper.Query.Logger.LogDataTest::testGetQueryInformation with data set #6 | 0.13 | |
| Magento.GraphQl.Quote.BackpressureTest::testConfigured with data set "customer" | 0.04 | |
| Magento.GraphQl.Quote.BackpressureTest::testConfigured with data set "guest" | 0.04 | |