Class SwaggerPetstoreVerifications<SELF extends SwaggerPetstoreVerifications<SELF>>

  • All Implemented Interfaces:
    dev.aherscu.qa.jgiven.commons.model.ScenarioType<dev.aherscu.qa.jgiven.rest.model.RestScenarioType>

    public class SwaggerPetstoreVerifications<SELF extends SwaggerPetstoreVerifications<SELF>>
    extends dev.aherscu.qa.jgiven.rest.steps.RestVerifications<SELF>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected ThreadLocal<jakarta.ws.rs.client.Client> client  
      protected TestConfiguration configuration  
      protected ThreadLocal<SwaggerLoginResponse> loginResponse  
      • Fields inherited from class dev.aherscu.qa.jgiven.rest.steps.RestVerifications

        closedResponse, responseContent
      • Fields inherited from class dev.aherscu.qa.jgiven.commons.utils.StageEx

        assertElementTimer, ATTACHEMENT_TRANSFORMER, clickTimer, currentStep, locateTimer, pollDelay, pollTimeout, retryPolicy, scrollIntoViewTimer, sendKeysTimer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SELF the_available_pets​(org.hamcrest.Matcher<Stream<Pet>> petsMatcher)  
      SELF the_login_response​(org.hamcrest.Matcher<SwaggerLoginResponse> responseMatcher)  
      • Methods inherited from class dev.aherscu.qa.jgiven.rest.steps.RestVerifications

        attachActualResponse, invoke, the_response_contains_JSON, the_response_contents, the_response_contents, the_response_status
      • Methods inherited from class dev.aherscu.qa.jgiven.commons.steps.GenericVerifications

        beforeScenarioConfigurePolling, eventually, eventually, eventually_assert_that, should_succeed, the_file_$_should_contain, the_file_$_should_match, the_JSON_file_$_should_contain
      • Methods inherited from class dev.aherscu.qa.jgiven.commons.utils.StageEx

        alert, attach, attachScreenshot, attachScreenshot, attachScreenshot, context, element, elements, ensureElements, retry, safely, scrollIntoView
      • Methods inherited from class com.tngtech.jgiven.Stage

        and, but, comment, given, then, when, with
      • Methods inherited from class com.tngtech.jgiven.base.StageBase

        $, $, self
    • Constructor Detail

      • SwaggerPetstoreVerifications

        public SwaggerPetstoreVerifications()
    • Method Detail

      • the_available_pets

        public SELF the_available_pets​(org.hamcrest.Matcher<Stream<Pet>> petsMatcher)