runs2eb5c22b8366 › GraphQl

GraphQl 59 tests · 1 failing · 0 skipped · 08:03

testsecondshistory
Magento.GraphQl.App.GraphQlCheckoutMutationsStateTest::testPlaceOrder
details

deterministic 3.618s

@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' => 126553,
  ),
)
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.62
Magento.GraphQl.App.GraphQlCheckoutMutationsStateTest::testAddBundleProductToCart5.73
Magento.GraphQl.App.GraphQlCheckoutMutationsStateTest::testAddConfigurableProductToCart6.28
Magento.GraphQl.App.GraphQlCheckoutMutationsStateTest::testAddCouponToCart3.27
Magento.GraphQl.App.GraphQlCheckoutMutationsStateTest::testAddDownloadableProductToCart3.78
Magento.GraphQl.App.GraphQlCheckoutMutationsStateTest::testAddSimpleProductToCart3.96
Magento.GraphQl.App.GraphQlCheckoutMutationsStateTest::testAddVirtualProductToCart1.89
Magento.GraphQl.App.GraphQlCheckoutMutationsStateTest::testCreateEmptyCart1.97
Magento.GraphQl.App.GraphQlCheckoutMutationsStateTest::testSetBillingAddressOnCart1.93
Magento.GraphQl.App.GraphQlCheckoutMutationsStateTest::testSetPaymentMethodOnCart2.27
Magento.GraphQl.App.GraphQlCheckoutMutationsStateTest::testSetShippingAddressOnCart2.03
Magento.GraphQl.App.GraphQlCheckoutMutationsStateTest::testSetShippingMethodsOnCart2.75
Magento.GraphQl.App.GraphQlCustomerMutationsTest::testChangePassword3.54
Magento.GraphQl.App.GraphQlCustomerMutationsTest::testCreateCustomerAddress1.38
Magento.GraphQl.App.GraphQlCustomerMutationsTest::testCustomerState with data set "Create Customer"3.15
Magento.GraphQl.App.GraphQlCustomerMutationsTest::testCustomerState with data set "Generate Customer Token"1.30
Magento.GraphQl.App.GraphQlCustomerMutationsTest::testCustomerState with data set "Get Customer"1.36
Magento.GraphQl.App.GraphQlCustomerMutationsTest::testCustomerState with data set "Update Customer Address"1.45
Magento.GraphQl.App.GraphQlCustomerMutationsTest::testCustomerState with data set "Update Customer Email"4.75
Magento.GraphQl.App.GraphQlCustomerMutationsTest::testCustomerState with data set "Update Customer"1.89
Magento.GraphQl.App.GraphQlCustomerMutationsTest::testGraphQlPasswordResetSecurityLimiting1.85
Magento.GraphQl.App.GraphQlCustomerMutationsTest::testMergeCarts3.74
Magento.GraphQl.App.GraphQlCustomerMutationsTest::testRequestPasswordResetEmail2.03
Magento.GraphQl.App.GraphQlCustomerMutationsTest::testResetPassword1.97
Magento.GraphQl.App.GraphQlStateTest::testCartState with data set "Get Cart"4.44
Magento.GraphQl.App.GraphQlStateTest::testState with data set "Get Categories by name"37.73
Magento.GraphQl.App.GraphQlStateTest::testState with data set "Get List of Products by category_id"35.05
Magento.GraphQl.App.GraphQlStateTest::testState with data set "Get Navigation Menu by category_id"55.42
Magento.GraphQl.App.GraphQlStateTest::testState with data set "Get Product Search by product_name"60.23
Magento.GraphQl.App.GraphQlStateTest::testState with data set "Get Products by name"48.26
Magento.GraphQl.App.GraphQlStateTest::testState with data set "Get Simple Product Details by name"45.42
Magento.GraphQl.App.GraphQlStateTest::testState with data set "Get Url Info by url_key"32.42
Magento.GraphQl.App.GraphQlStateTest::testState with data set "Get available Stores"37.83
Magento.GraphQl.App.GraphQlStateTest::testState with data set "Get store config"34.43
Magento.GraphQl.Controller.GraphQlControllerTest::testDispatch2.36
Magento.GraphQl.Controller.GraphQlControllerTest::testDispatchGetWithInvalidQuery2.71
Magento.GraphQl.Controller.GraphQlControllerTest::testDispatchGetWithMutation1.53
Magento.GraphQl.Controller.GraphQlControllerTest::testDispatchGetWithParameterizedVariables2.32
Magento.GraphQl.Controller.GraphQlControllerTest::testDispatchGetWithoutQuery2.52
Magento.GraphQl.Controller.GraphQlControllerTest::testDispatchOptions1.82
Magento.GraphQl.Controller.GraphQlControllerTest::testDispatchPostWithInvalidJson1.83
Magento.GraphQl.Controller.GraphQlControllerTest::testDispatchPostWithWrongContentType2.45
Magento.GraphQl.Controller.GraphQlControllerTest::testDispatchPostWithoutQuery1.86
Magento.GraphQl.Controller.GraphQlControllerTest::testDispatchWithGet2.08
Magento.GraphQl.Controller.GraphQlControllerTest::testError1.92
Magento.GraphQl.Controller.HttpRequestValidator.HttpVerbValidatorTest::testValidate with data set #00.05
Magento.GraphQl.Controller.HttpRequestValidator.HttpVerbValidatorTest::testValidate with data set #10.04
Magento.GraphQl.GraphQlIntrospectionTest::testIntrospectionQuery0.05
Magento.GraphQl.GraphQlIntrospectionTest::testIntrospectsIncludeTheDeprecatedParameter0.04
Magento.GraphQl.GraphQlIntrospectionTest::testIntrospectsInputObjectWithNonNullInputField0.05
Magento.GraphQl.Helper.Query.Logger.LogDataTest::testGetQueryInformation with data set #00.11
Magento.GraphQl.Helper.Query.Logger.LogDataTest::testGetQueryInformation with data set #10.11
Magento.GraphQl.Helper.Query.Logger.LogDataTest::testGetQueryInformation with data set #20.10
Magento.GraphQl.Helper.Query.Logger.LogDataTest::testGetQueryInformation with data set #30.09
Magento.GraphQl.Helper.Query.Logger.LogDataTest::testGetQueryInformation with data set #40.16
Magento.GraphQl.Helper.Query.Logger.LogDataTest::testGetQueryInformation with data set #50.15
Magento.GraphQl.Helper.Query.Logger.LogDataTest::testGetQueryInformation with data set #60.13
Magento.GraphQl.Quote.BackpressureTest::testConfigured with data set "customer"0.05
Magento.GraphQl.Quote.BackpressureTest::testConfigured with data set "guest"0.04