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

tests/modules/commercetools_test/assets/d5558414126107459501d53fb23eefb2.metadata.yml
tests:
  - 'nightwatch::modules/commercetools_decoupled/tests/src/Nightwatch/Tests/decoupledErrorsTest.js'
response:
  status: 200
request:
  method: POST
  uri: 'https://api.us-central1.gcp.commercetools.com/drupal-connector-demo-lifestyle/graphql'
  body_formatted: |
    # Encoded using YAML format by the function .CommerceToolsTesting::formatCtRequestAssetMetadata()
    query: |
      query products($where: String, $sort: [String!], $languages: [Locale!], $country: Country, $currency: Currency!, $limit: Int, $offset: Int) {
        products(limit: $limit, offset: $offset, where: $where, sort: $sort) {
          total
          results {
            masterData {
              current {
                name(acceptLanguage: $languages)
                slug(acceptLanguage: $languages)
                masterVariant {
                  id
                  sku
                  images {
                    url
                    label
                  }
                  attributesRaw(includeNames: ["productspec", "color", "finish", "new-arrival", "size", "product-description", "product-description", "product-spec", "color", "finish"]) {
                    name
                    value
                  }
                  availability {
                    noChannel {
                      availableQuantity
                    }
                  }
                  price(country: $country, currency: $currency) {
                    value {
                      centAmount
                      currencyCode
                      fractionDigits
                    }
                    discounted {
                      value {
                        centAmount
                        currencyCode
                        fractionDigits
                      }
                    }
                  }
                }
                description(acceptLanguage: $languages)
                metaTitle(acceptLanguage: $languages)
                metaDescription(acceptLanguage: $languages)
                metaKeywords(acceptLanguage: $languages)
                variants {
                  id
                  sku
                  images {
                    url
                    label
                  }
                  attributesRaw(includeNames: ["productspec", "color", "finish", "new-arrival", "size", "product-description", "product-description", "product-spec", "color", "finish"]) {
                    name
                    value
                  }
                  availability {
                    noChannel {
                      availableQuantity
                    }
                  }
                  price(country: $country, currency: $currency) {
                    value {
                      centAmount
                      currencyCode
                      fractionDigits
                    }
                    discounted {
                      value {
                        centAmount
                        currencyCode
                        fractionDigits
                      }
                    }
                  }
                }
              }
            }
            id
            productType {
              id
              key
              name
            }
          }
        }
      }
    variables:
      languages:
        - en-US
      country: US
      currency: USD
      limit: 1
      offset: 0
      facets: {  }
      sort: {  }
      sorts: {  }
      queryFilters: {  }
      where: 'masterData(current(slug(en-US="not-existent-product")))'
      text: null
      locale: null
      proxy: true

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

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