node-replay icon indicating copy to clipboard operation
node-replay copied to clipboard

REPLAY=record should only record the first call

Open n3ssi3 opened this issue 6 years ago • 0 comments

Hi there,

I call an API on my dashboard. Each selenium tests log in as a user and from there navigates to the page that needs testing.

While running the tests with REPLAY=record I get multiple times the same API call recoded. I then delete all but one file and then the tests use the already existing fixture.

It would be great that even when running REPLAY=record it would consider the fixtures already created in that same run, to avoid multiple duplicated records.

Cheers,

n3ssi3 avatar Oct 22 '19 13:10 n3ssi3