Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
test
autotest-airtest-web-cmdc
Commits
3628c93c
Commit
3628c93c
authored
Jan 29, 2024
by
周念东
Browse files
消息管理
parent
6ffbe27b
Changes
2
Hide whitespace changes
Inline
Side-by-side
air_case/cmdc_message_noticelog/消息查询页面.air/消息查询页面.py
View file @
3628c93c
...
@@ -15,7 +15,7 @@ import json
...
@@ -15,7 +15,7 @@ import json
module
=
"cmdc_message_noticelog"
module
=
"cmdc_message_noticelog"
url
=
commonFuc
().
get_api_url
()
+
commonFuc
().
get_business_data
(
module
,
"url2"
)
url
=
commonFuc
().
get_api_url
()
+
commonFuc
().
get_business_data
(
module
,
"url2"
)
#
print(url)
print
(
"
\033
[031murl============
\033
[0m"
,
url
)
# 获取登录所需账号密码
# 获取登录所需账号密码
username
=
commonFuc
().
get_business_data
(
module
,
"username"
)
username
=
commonFuc
().
get_business_data
(
module
,
"username"
)
...
...
data/cmdc_message_noticelog/data
View file @
3628c93c
...
@@ -14,10 +14,11 @@ checkDict1: {"success":true,"code":"200","message":"OK"}
...
@@ -14,10 +14,11 @@ checkDict1: {"success":true,"code":"200","message":"OK"}
#消息查询页面接口地址
#消息查询页面接口地址
"url2": "/cms/notice
l
og/queryPage"
"url2": "/cms/notice
L
og/queryPage"
"payload2": {"companyCode":"","title":"","pageNumber":1,"pageSize":10,"startTime":"","endTime":"","auditStatus":""}
"payload2": {"companyCode":"","title":"","pageNumber":1,"pageSize":10,"startTime":"","endTime":"","auditStatus":""}
#预期结果
#预期结果
checkDict2: {"success":true,"code":"200","message":"操作成功","data":{"pageNum":1,"pageSize":10,"size":0,"startRow":0,"endRow":0,"total":0,"pages":0,"list":[],"prePage":0,"nextPage":0,"isFirstPage":true,"isLastPage":true,"hasPreviousPage":false,"hasNextPage":false,"navigatePages":8,"navigatepageNums":[],"navigateFirstPage":0,"navigateLastPage":0,"firstPage":0,"lastPage":0},"freshToken":null}
checkDict2: {'success': True, 'code': '200', 'message': '操作成功'}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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