Questions tagged mock
Scenarios that run against stubbed network traffic.
3 questions
@har:checkout warns that no recorded file exists — is there a way to declare it up front?
Writing the scenario before recording the traffic, which I thought was the intended order: It is only a warning and I understand why — the file genuinely is not there yet. But we…
asked by Devon Marsh183 ·How do I keep a "last updated" timestamp out of a visual baseline?
The dashboard we are baselining has a "last updated HH:MM:SS" line in the header. Every single run differs by that strip of pixels, so the baseline is red forever and the diff is…
asked by Ade Oyinlola419 ·When should I reach for the mock step instead of @har, or the other way round?
Both stub the network. I can write this: or I can tag the scenario @har:banner and record it. They look interchangeable from where I am standing. Is there a rule for which one to…
asked by Kostya Petrov7,903 ·