Class RecordPlaywrightRestQueryEvent
java.lang.Object
net.thucydides.core.steps.events.StepEventBusEventBase
net.serenitybdd.screenplay.playwright.interactions.api.RecordPlaywrightRestQueryEvent
- All Implemented Interfaces:
net.thucydides.core.steps.events.StepEventBusEvent
public class RecordPlaywrightRestQueryEvent
extends net.thucydides.core.steps.events.StepEventBusEventBase
Event to record a Playwright API request/response to the Serenity test step.
This event is published when using APIRequest to make API calls.
The request and response details will appear in the Serenity report alongside
the test steps, similar to how RestAssured API calls are recorded.
-
Field Summary
Fields inherited from class net.thucydides.core.steps.events.StepEventBusEventBase
timestamp -
Constructor Summary
ConstructorsConstructorDescriptionRecordPlaywrightRestQueryEvent(net.serenitybdd.model.rest.RestQuery restQuery) -
Method Summary
Methods inherited from class net.thucydides.core.steps.events.StepEventBusEventBase
getScenarioId, getStepEventBus, getTimestamp, setStepEventBus