I'm trying to see if request is triggered when I scroll down the page. I cannot use RequestURL because of timestamp. I know that there is RequestLogger.
What I'm trying to do is:
And if they begin with the same pattern pass the test
Ok guys. Here is a workaround:
const logger = RequestLogger(new RegExp(`somestring`));
Then I use
await t.expect(logger.requests.length).eql(1);