Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
test-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
马博
test-platform
Commits
f0a784ff
Commit
f0a784ff
authored
Jul 23, 2020
by
赵然
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zr
parent
a2851191
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
游戏_参加游戏测试_AccessTest.java
src/test/java/http/cases/GameTest/游戏_参加游戏测试_AccessTest.java
+1
-1
补给站_商品_DuibaTest.java
...t/java/http/cases/SaasDeveloperTest/补给站_商品_DuibaTest.java
+2
-2
EditManagerInfoService.java
...est/java/http/service/Manager/EditManagerInfoService.java
+1
-1
No files found.
src/test/java/http/cases/GameTest/游戏_参加游戏测试_AccessTest.java
View file @
f0a784ff
...
...
@@ -150,7 +150,7 @@ public class 游戏_参加游戏测试_AccessTest extends DuibaTestBase {
statusResponse
.
prettyPrint
();
String
message
=
MatcherString
.
getString
(
statusResponse
.
asString
(),
"\"message\": \"(.*?)\""
,
1
);
int
i
=
8
;
int
i
=
30
;
while
(
i
>
0
&&(
message
.
equals
(
"处理中"
))){
Thread
.
sleep
(
1000
);
statusResponse
=
newGameService
.
getStartStatus
(
ticketId
,
3268
);
...
...
src/test/java/http/cases/SaasDeveloperTest/补给站_商品_DuibaTest.java
View file @
f0a784ff
...
...
@@ -114,9 +114,9 @@ public class 补给站_商品_DuibaTest extends AbstractTestNGSpringContextTests
//查询商品列表,验证商品是否添加成功
Response
response2
=
developerBJZ
.
appItems
(
appId
,
itemName
);
String
appItemId2
=
String
.
valueOf
(
response2
.
jsonPath
().
getString
(
"data.list[0].id"
));
Assert
.
assertEquals
(
response2
.
jsonPath
().
getString
(
"data.list[0].title"
),
"
Q币
充值"
,
"校验标题名称失败"
);
Assert
.
assertEquals
(
response2
.
jsonPath
().
getString
(
"data.list[0].title"
),
"
支付宝
充值"
,
"校验标题名称失败"
);
Assert
.
assertEquals
(
response2
.
jsonPath
().
getString
(
"data.list[0].status"
),
"0"
,
"校验状态失败"
);
Assert
.
assertEquals
(
response2
.
jsonPath
().
getString
(
"data.list[0].type"
),
"
qb
"
,
"校验类型失败"
);
Assert
.
assertEquals
(
response2
.
jsonPath
().
getString
(
"data.list[0].type"
),
"
alipay
"
,
"校验类型失败"
);
logger
.
info
(
"校验title,status,type成功"
);
//删除添加的直冲类
developerBJZ
.
ajaxDel
(
appId
,
appItemId2
);
...
...
src/test/java/http/service/Manager/EditManagerInfoService.java
View file @
f0a784ff
...
...
@@ -464,7 +464,7 @@ public class EditManagerInfoService {
public
Response
createUser
(
String
name
,
String
appId
){
String
url
=
"http://
dafuweng.dui88.com
"
+
"/user/create"
;
String
url
=
"http://
autotest-dafuweng.duibatest.com.cn
"
+
"/user/create"
;
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"appId"
,
appId
);
map
.
put
(
"name"
,
name
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment