Adrian Herscu
Adrian Herscu
I need to run system tests for a service running on AWS, using a Cognito authentication token, via a corporate proxy which on every connection generates a new self-signed SSL...
Try following test: ``` public class JGivenDurationReporting extends ScenarioTest, JGivenDurationReporting.Verifications> { static class Actions extends Stage { public SELF doing_nothing(final long millis) { sleep(millis); return self(); } } static class...
how to validate ScenarioState in order to generate indicative exception message and/or stack trace
Consider having a Given stage with a ProvidedState field: ``` class Given extends Stage { @ScenarioState private final ThreadLocal webDriver = new ThreadLocal(); Given init(final WebDriver webDriver) { this.webDriver.set(webDriver); return...
== Context == Stages added as per documented here http://jgiven.org/userguide/#_stage_injection As described in http://jgiven.org/userguide/#_dynamic_adding_of_stages Before/AfterScenario methods are supposedly invoked for these stages. == The issue == I have no time...
Sometimes a test is required to repeat a step or a sequence of steps in order to simulate some real behavior. First I tried to use TestNG's invocationCount + threadPoolSize...
It is still not clear why searching for things like: the small brown fox matches "the" and "small" and "brown" and "fox" (that is each term separately). I tried surrounding...
It is not clear how to make it search matches only in the file contents. Tried with text:foo and with body:foo and didn't work.
### Abstract Fail launching TestNG via maven surefire plugin. ### Reproduction steps 1. running on jdk11 2. maven 3.9.5 3. surefire 3.1.2 4. testng 7.8.0 Fails with ``` # Created...
In some scenario call `addStage(OtherGiven.class)` then, call its methods in that scenario. `@BeforeScenario` marked methods in `OtherGiven` class will not be called.
Besides attachments, is it possible to add some arbitrary HTML to a step? For example an HTTP link to a step? I would like for certain steps, namely Given step...