node-replay
node-replay copied to clipboard
REPLAY=record should only record the first call
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,