Testing

In our Playground environment, the advertisementProducts query defaults to a response that indicates the hirer will pay via an existing contract. You can override this behaviour and trigger specific testing scenarios with the hardcoded position titles listed below.These Playground responses may use static product ids for deterministic testing, but you should not carry this assumption across to production. Due to the variable nature of SEEK’s product ladder, the new panel and GraphQL query return ephemeral identifiers that reference the set of products quoted at that point in time.Products presented to a hirer are only valid within the context of the workflow that they were executing at the time. The selected product identifier may be temporarily stored in a job ad draft, for example, but it must not be persisted long term alongside a posted job ad or to build a hardcoded mapping.

[FORCE FOUR]

This position title will trigger a response that includes four ad products. The response is for demonstration purposes only and may not be representative of actual ad products that hirers can expect to see in production.
QueryVariablesResult
query advertisementProducts(
  $positionProfile: AdvertisementProducts_PositionProfileInput!
) {
  advertisementProducts(positionProfile: $positionProfile) {
    products {
      id {
        value
      }
      label
    }
  }
}

[NO CONTRACT]

This position title will trigger a response that indicates the hirer will be invoiced.
QueryVariablesResult
query advertisementProducts(
  $positionProfile: AdvertisementProducts_PositionProfileInput!
) {
  advertisementProducts(positionProfile: $positionProfile) {
    products {
      id {
        value
      }
      label
      payment {
        summaryHtml
      }
    }
  }
}

[EDIT PRICE]

This position title will trigger a response that contains an edit price. The response is for demonstration purposes only and may not be representative of actual ad products or system behaviour that hirers can expect to see in production.
QueryVariablesResult
query advertisementProducts(
  $positionProfile: AdvertisementProducts_PositionProfileInput!
) {
  advertisementProducts(positionProfile: $positionProfile) {
    products {
      id {
        value
      }
      label
      price {
        summary
      }
      payment {
        summaryHtml
      }
    }
  }
}