liuxiran commented on a change in pull request #1326:
URL: https://github.com/apache/apisix-dashboard/pull/1326#discussion_r561741334
##########
File path: web/cypress/integration/route/online-debug.spec.js
##########
@@ -21,19 +21,20 @@ import defaultSettings from
'../../../config/defaultSettings';
context('Online debug', () => {
const urisWithSpecialChars = [
- '/get',
- '/deps-get',
- '/deps.get',
- '/deps_get',
- '/get?search=1',
- '/get?search=%U%E',
- '/get?search=v1&number=-1',
- '/get?search=1+1',
+ 'localhost:9000/get',
+ '127.0.0.1:9000/get',
+ 'baidu.com/get',
Review comment:
for data: `baidu.com/get` just a case to test the host which does not
contain `www`, and network does not affect the execution of test case, so I
keep `baidu.com/get` in the data ^_^ @juzhiyuan
and for the regexp, I just tried a simpler one to cover complex situations.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]