commercetools-8.x-1.2-alpha1/tests/modules/commercetools_test/assets/6775dd7993a21453cd9e1982c7a9a965.metadata.yml

tests/modules/commercetools_test/assets/6775dd7993a21453cd9e1982c7a9a965.metadata.yml
tests:
  - 'nightwatch::modules/commercetools_demo/tests/src/Nightwatch/Tests/demoDecoupledSmokeTest.js'
response:
  status: 200
request:
  method: POST
  uri: 'https://api.us-central1.gcp.commercetools.com/drupal-connector-demo-machinery/graphql'
  body_formatted: |
    # Encoded using YAML format by the function .CommerceToolsTesting::formatCtRequestAssetMetadata()
    query: |
      query productsProjectionSearch($facets: [SearchFacetInput!], $queryFilters: [SearchFilterInput!], $text: String, $locale: Locale, $sorts: [String!], $languages: [Locale!], $country: Country, $currency: Currency!, $limit: Int, $offset: Int) {
        productProjectionSearch(limit: $limit, offset: $offset, sorts: $sorts, facets: $facets, queryFilters: $queryFilters, text: $text, locale: $locale) {
          total
          facets {
            facet
            value {
              ... on TermsFacetResult {
                terms {
                  term
                  productCount
                }
              }
            }
          }
          results {
            id
            productType {
              id
              key
              name
            }
            name(acceptLanguage: $languages)
            slug(acceptLanguage: $languages)
            masterVariant {
              id
              sku
              images {
                url
                label
              }
              attributesRaw(includeNames: ["capacity", "iso45001", "mobility", "model", "capacity", "iso45001", "mobility", "color"]) {
                name
                value
              }
              availability {
                noChannel {
                  availableQuantity
                }
              }
              price(country: $country, currency: $currency) {
                value {
                  centAmount
                  currencyCode
                  fractionDigits
                }
                discounted {
                  value {
                    centAmount
                    currencyCode
                    fractionDigits
                  }
                }
              }
            }
          }
        }
      }
    variables:
      languages:
        - en-US
      country: US
      currency: USD
      limit: 6
      offset: 0
      facets:
        -
          model:
            terms:
              path: variants.attributes.mobility.label
              countProducts: true
        -
          model:
            terms:
              path: variants.attributes.color.label.en-US
              countProducts: true
      sort: {  }
      sorts: 'createdAt asc'
      queryFilters:
        -
          model:
            tree:
              path: categories.id
              rootValues: {  }
              subTreeValues:
                - 0b65d8cb-24e2-4776-ae8c-feffd3e5ddaa
                - fadae004-72ed-4feb-b3ea-66667d59b8e1
                - f009ccb8-3166-468c-a1c6-1ab617a6f56b
                - 27db8212-e60f-45e7-8979-b13ae98d3872
      where: null
      text: null
      locale: null
      proxy: true

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc