getgauge / taiko

A node.js library for testing modern web applications
https://taiko.dev
MIT License
3.57k stars 453 forks source link

Setting up intercepts for nested URLs triggers "WARNING: More than one intercept" message #2643

Open smv-orrin opened 1 year ago

smv-orrin commented 1 year ago

I have 2 intercepts for different URLs as follows:

URL1 - https://api.here.com/v1/items URL2 - https://api.here.com/v1/items/14

When we call either of the intercept URLs, we see the following warning:

WARNING: More than one intercept ["https://api.here.com/v1/items","https://api.here.com/v1/items/14"] found for request "https://api.here.com/v1/items/14"

They're 2 different URLs, why is this warning message being triggered, and is there a way to stop it without having to re-implement our APIs?

mhisle22 commented 1 year ago

Hello, is there any recent updates on this thread? We are also experiencing this issue and have not yet found documentation on how to remove this warning message.