-
Notifications
You must be signed in to change notification settings - Fork 0
/
auto-regression-testing.yaml
43 lines (43 loc) · 1.38 KB
/
auto-regression-testing.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
aliases:
- &ResponseHeader
Access-Control-Allow-Origin: "*"
hosts:
beta:
# beta
- 127.0.0.1:8099 *.aaa.com,aaa.com
dev:
# dev
- 127.0.0.1 q.qunarzz.com,qunarzz.com
rewriteUrls:
dev:
- matchUrl: http://127.0.0.1/*/src/html/*
rules:
- http://127.0.0.1/destination/productList.do* http://searchtouch.qunar.com/destination/productList.do* xxxx
- match: http://127.0.0.1/queryData/searchCommentList.do*
replace: http://searchtouch.qunar.com/queryData/searchCommentList.do*
title: xxxx
- match: http://searchtouch.qunar.com/*
responseRules:
<<: *ResponseHeader
requestRules:
# on: true
- http://127.0.0.1/stat.gif* http://searchtouch.qunar.com/stat.gif*
- http://127.0.0.1/queryData/searchSightDetail.do* http://search.qunar.com/queryData/searchSightDetail.do*
# on: true
# ${var} is not valid yaml sytax
host:
dev: http://127.0.0.1/intention-search-h5-hy2/src/html/
beta: http://127.0.0.1/intention-search-h5-hy2/src/html/
prod: http://127.0.0.1/intention-search-h5-hy2/src/html/
baseUrl:
dev: ${host}index.html
beta: ${host}index.html
prod: ${host}index.html
baseUrlQreact:
dev: ${host}qreact.html
beta: ${host}qreact.html
prod: ${host}qreact.html
urls:
- 首页 ${baseUrl}#place.summary?destination=上海
- 首页2 ${baseUrlQreact}#place.detail?destination=上海
isMobile: true