正在显示
73 个修改的文件
包含
1496 行增加
和
859 行删除
@@ -3,7 +3,7 @@ pfphone=19990000011 | @@ -3,7 +3,7 @@ pfphone=19990000011 | ||
3 | pfphone1=19990000015 | 3 | pfphone1=19990000015 |
4 | ckotherdeptphone=19990000012 | 4 | ckotherdeptphone=19990000012 |
5 | pfphone2=18100000005 | 5 | pfphone2=18100000005 |
6 | -adminphone=19990000000 | 6 | +appphone=19990000000 |
7 | password=123456 | 7 | password=123456 |
8 | base_url=https://ability-test.fjmaimaimai.com | 8 | base_url=https://ability-test.fjmaimaimai.com |
9 | base_public_url = http://public-interface-test.fjmaimaimai.com/ | 9 | base_public_url = http://public-interface-test.fjmaimaimai.com/ |
@@ -2,29 +2,48 @@ | @@ -2,29 +2,48 @@ | ||
2 | <project version="4"> | 2 | <project version="4"> |
3 | <component name="ChangeListManager"> | 3 | <component name="ChangeListManager"> |
4 | <list default="true" id="b869bb6c-d2b2-46af-b73c-cd3237c48651" name="Default Changelist" comment="update 2020005122330"> | 4 | <list default="true" id="b869bb6c-d2b2-46af-b73c-cd3237c48651" name="Default Changelist" comment="update 2020005122330"> |
5 | + <change afterPath="$PROJECT_DIR$/api/m_api/loot/loot_task_reject_api.yml" afterDir="false" /> | ||
6 | + <change afterPath="$PROJECT_DIR$/api/m_api/member/member_set_permission_api.yml" afterDir="false" /> | ||
7 | + <change afterPath="$PROJECT_DIR$/api/m_api/task_open_api.yml" afterDir="false" /> | ||
8 | + <change afterPath="$PROJECT_DIR$/testcases/task/loot/loot_task_reject_testcase.yml" afterDir="false" /> | ||
9 | + <change afterPath="$PROJECT_DIR$/testcases/task/loot/save_loot_update_0_open_testcase.yml" afterDir="false" /> | ||
10 | + <change afterPath="$PROJECT_DIR$/testcases/task/member/member_set_permission_testcases.yml" afterDir="false" /> | ||
11 | + <change afterPath="$PROJECT_DIR$/testcases/task_login_testcases.yml" afterDir="false" /> | ||
12 | + <change beforePath="$PROJECT_DIR$/.env" beforeDir="false" afterPath="$PROJECT_DIR$/.env" afterDir="false" /> | ||
5 | <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> | 13 | <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> |
6 | - <change beforePath="$PROJECT_DIR$/api/business_admin_api/login_api/auth/anonymousLogin_api.yml" beforeDir="false" /> | ||
7 | - <change beforePath="$PROJECT_DIR$/api/business_admin_api/login_api/auth/getSingleLoginMenus_api.yml" beforeDir="false" /> | ||
8 | - <change beforePath="$PROJECT_DIR$/api/business_admin_api/login_api/auth/login_api.yml" beforeDir="false" /> | ||
9 | - <change beforePath="$PROJECT_DIR$/api/business_admin_api/login_api/auth/pwdLogin_api.yml" beforeDir="false" /> | ||
10 | - <change beforePath="$PROJECT_DIR$/api/business_admin_api/login_api/auth/userCompamies_api.yml" beforeDir="false" /> | 14 | + <change beforePath="$PROJECT_DIR$/api/app_api/login_api/auth/accessToken_api.yml" beforeDir="false" afterPath="$PROJECT_DIR$/api/app_api/login_api/auth/accessToken_api.yml" afterDir="false" /> |
15 | + <change beforePath="$PROJECT_DIR$/api/app_api/login_api/auth/authorize_api.yml" beforeDir="false" afterPath="$PROJECT_DIR$/api/app_api/login_api/auth/authorize_api.yml" afterDir="false" /> | ||
16 | + <change beforePath="$PROJECT_DIR$/api/app_api/login_api/auth/ucenter_login_api.yml" beforeDir="false" afterPath="$PROJECT_DIR$/api/app_api/login_api/auth/ucenter_login_api.yml" afterDir="false" /> | ||
17 | + <change beforePath="$PROJECT_DIR$/api/m_api/login_api/auth/pwdLogin_api.yml" beforeDir="false" afterPath="$PROJECT_DIR$/api/m_api/login_api/auth/pwdLogin_api.yml" afterDir="false" /> | ||
18 | + <change beforePath="$PROJECT_DIR$/api/m_api/member/member_list_api.yml" beforeDir="false" afterPath="$PROJECT_DIR$/api/m_api/member/member_list_api.yml" afterDir="false" /> | ||
19 | + <change beforePath="$PROJECT_DIR$/api/task_api/task/rewards/submitCompete_0_api.yml" beforeDir="false" /> | ||
11 | <change beforePath="$PROJECT_DIR$/config/Authorization.txt" beforeDir="false" afterPath="$PROJECT_DIR$/config/Authorization.txt" afterDir="false" /> | 20 | <change beforePath="$PROJECT_DIR$/config/Authorization.txt" beforeDir="false" afterPath="$PROJECT_DIR$/config/Authorization.txt" afterDir="false" /> |
12 | - <change beforePath="$PROJECT_DIR$/config/accessToken.csv" beforeDir="false" /> | ||
13 | <change beforePath="$PROJECT_DIR$/config/access_token.txt" beforeDir="false" afterPath="$PROJECT_DIR$/config/access_token.txt" afterDir="false" /> | 21 | <change beforePath="$PROJECT_DIR$/config/access_token.txt" beforeDir="false" afterPath="$PROJECT_DIR$/config/access_token.txt" afterDir="false" /> |
14 | - <change beforePath="$PROJECT_DIR$/config/authCode.csv" beforeDir="false" /> | ||
15 | - <change beforePath="$PROJECT_DIR$/config/cid.csv" beforeDir="false" /> | ||
16 | - <change beforePath="$PROJECT_DIR$/config/credentials.csv" beforeDir="false" /> | ||
17 | - <change beforePath="$PROJECT_DIR$/config/cuid.csv" beforeDir="false" /> | ||
18 | <change beforePath="$PROJECT_DIR$/config/login_code.txt" beforeDir="false" afterPath="$PROJECT_DIR$/config/login_code.txt" afterDir="false" /> | 22 | <change beforePath="$PROJECT_DIR$/config/login_code.txt" beforeDir="false" afterPath="$PROJECT_DIR$/config/login_code.txt" afterDir="false" /> |
19 | - <change beforePath="$PROJECT_DIR$/config/muid.csv" beforeDir="false" /> | ||
20 | - <change beforePath="$PROJECT_DIR$/config/serialNo.csv" beforeDir="false" /> | 23 | + <change beforePath="$PROJECT_DIR$/config/task_Authorization.txt" beforeDir="false" afterPath="$PROJECT_DIR$/config/task_Authorization.txt" afterDir="false" /> |
21 | <change beforePath="$PROJECT_DIR$/debugtalk.py" beforeDir="false" afterPath="$PROJECT_DIR$/debugtalk.py" afterDir="false" /> | 24 | <change beforePath="$PROJECT_DIR$/debugtalk.py" beforeDir="false" afterPath="$PROJECT_DIR$/debugtalk.py" afterDir="false" /> |
22 | - <change beforePath="$PROJECT_DIR$/helpfunc/business_admin_func.py" beforeDir="false" afterPath="$PROJECT_DIR$/helpfunc/m_func.py" afterDir="false" /> | ||
23 | <change beforePath="$PROJECT_DIR$/helpfunc/login_func.py" beforeDir="false" afterPath="$PROJECT_DIR$/helpfunc/login_func.py" afterDir="false" /> | 25 | <change beforePath="$PROJECT_DIR$/helpfunc/login_func.py" beforeDir="false" afterPath="$PROJECT_DIR$/helpfunc/login_func.py" afterDir="false" /> |
24 | - <change beforePath="$PROJECT_DIR$/run.py" beforeDir="false" /> | ||
25 | - <change beforePath="$PROJECT_DIR$/sendmsg.py" beforeDir="false" /> | ||
26 | - <change beforePath="$PROJECT_DIR$/testcases_excel/能力展示需实现自动化用例.xlsx" beforeDir="false" /> | ||
27 | - <change beforePath="$PROJECT_DIR$/testsuites/ability_suites.yml" beforeDir="false" /> | 26 | + <change beforePath="$PROJECT_DIR$/testcases/login_testcases.yml" beforeDir="false" afterPath="$PROJECT_DIR$/testcases/login_testcases.yml" afterDir="false" /> |
27 | + <change beforePath="$PROJECT_DIR$/testcases/m_login_testcases.yml" beforeDir="false" afterPath="$PROJECT_DIR$/testcases/m_login_testcases.yml" afterDir="false" /> | ||
28 | + <change beforePath="$PROJECT_DIR$/testcases/permission/ques_pf_permission/QX001_pf_permission.yml" beforeDir="false" afterPath="$PROJECT_DIR$/testcases/permission/ques_pf_permission/QX001_pf_permission.yml" afterDir="false" /> | ||
29 | + <change beforePath="$PROJECT_DIR$/testcases/permission/ques_pf_permission/QX003_pf_levelhigh_permission.yml" beforeDir="false" /> | ||
30 | + <change beforePath="$PROJECT_DIR$/testcases/permission/ques_pf_permission/QX004_ck_permission.yml" beforeDir="false" /> | ||
31 | + <change beforePath="$PROJECT_DIR$/testcases/permission/solution_pf_permission/QX005_bx_solution_ck_permission.yml" beforeDir="false" /> | ||
32 | + <change beforePath="$PROJECT_DIR$/testcases/permission/solution_pf_permission/QX006_bx_solution_permission.yml" beforeDir="false" /> | ||
33 | + <change beforePath="$PROJECT_DIR$/testcases/permission/solution_pf_permission/QX007_bx_solution_pf_levelequal_permission.yml" beforeDir="false" /> | ||
34 | + <change beforePath="$PROJECT_DIR$/testcases/permission/solution_pf_permission/QX008_bx_solution_pf_levelhigh_permission.yml" beforeDir="false" /> | ||
35 | + <change beforePath="$PROJECT_DIR$/testcases/permission/solution_pf_permission/QX009_bx_solution_pf_permission.yml" beforeDir="false" /> | ||
36 | + <change beforePath="$PROJECT_DIR$/testcases/permission/solution_pf_permission/QX010_jj_solution_permission.yml" beforeDir="false" /> | ||
37 | + <change beforePath="$PROJECT_DIR$/testcases/permission/solution_pf_permission/QX011_jj_solution_jj_permission.yml" beforeDir="false" /> | ||
38 | + <change beforePath="$PROJECT_DIR$/testcases/permission/solution_pf_permission/QX012_jj_solution_jj_levelequal_permission.yml" beforeDir="false" /> | ||
39 | + <change beforePath="$PROJECT_DIR$/testcases/permission/solution_pf_permission/QX013_jj_solution_jj_levelhigh_permission.yml" beforeDir="false" /> | ||
40 | + <change beforePath="$PROJECT_DIR$/testcases/task/loot/save_taskPublish_0_0_api.yml" beforeDir="false" /> | ||
41 | + <change beforePath="$PROJECT_DIR$/testcases/task/member/member_list_testcases.yml" beforeDir="false" afterPath="$PROJECT_DIR$/testcases/task/member/member_list_testcases.yml" afterDir="false" /> | ||
42 | + <change beforePath="$PROJECT_DIR$/testcases/task/save_taskPublish_0_1_api.yml" beforeDir="false" /> | ||
43 | + <change beforePath="$PROJECT_DIR$/testcases/task/taskPublish_0_1_api.yml" beforeDir="false" /> | ||
44 | + <change beforePath="$PROJECT_DIR$/testcases/task/taskPublish_1_1_api.yml" beforeDir="false" /> | ||
45 | + <change beforePath="$PROJECT_DIR$/testcases_excel/task_api.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/testcases_excel/task_api.xlsx" afterDir="false" /> | ||
46 | + <change beforePath="$PROJECT_DIR$/testsuites/task_suites.yml" beforeDir="false" afterPath="$PROJECT_DIR$/testsuites/task_suites.yml" afterDir="false" /> | ||
28 | </list> | 47 | </list> |
29 | <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> | 48 | <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> |
30 | <option name="SHOW_DIALOG" value="false" /> | 49 | <option name="SHOW_DIALOG" value="false" /> |
@@ -49,68 +68,44 @@ | @@ -49,68 +68,44 @@ | ||
49 | <file pinned="false" current-in-tab="false"> | 68 | <file pinned="false" current-in-tab="false"> |
50 | <entry file="file://$PROJECT_DIR$/testsuites/task_suites.yml"> | 69 | <entry file="file://$PROJECT_DIR$/testsuites/task_suites.yml"> |
51 | <provider selected="true" editor-type-id="text-editor"> | 70 | <provider selected="true" editor-type-id="text-editor"> |
52 | - <state relative-caret-position="286"> | ||
53 | - <caret line="11" selection-start-line="11" selection-end-line="11" /> | 71 | + <state relative-caret-position="290"> |
72 | + <caret line="28" column="9" lean-forward="true" selection-start-line="28" selection-start-column="9" selection-end-line="28" selection-end-column="9" /> | ||
54 | </state> | 73 | </state> |
55 | </provider> | 74 | </provider> |
56 | </entry> | 75 | </entry> |
57 | </file> | 76 | </file> |
58 | <file pinned="false" current-in-tab="false"> | 77 | <file pinned="false" current-in-tab="false"> |
59 | - <entry file="file://$PROJECT_DIR$/api/m_api/member/member_list_api.yml"> | 78 | + <entry file="file://$PROJECT_DIR$/api/m_api/loot/loot_task_reject_api.yml"> |
60 | <provider selected="true" editor-type-id="text-editor"> | 79 | <provider selected="true" editor-type-id="text-editor"> |
61 | - <state relative-caret-position="116"> | ||
62 | - <caret line="5" column="8" selection-start-line="5" selection-start-column="8" selection-end-line="5" selection-end-column="53" /> | 80 | + <state relative-caret-position="-390"> |
81 | + <caret column="6" lean-forward="true" selection-start-column="6" selection-end-column="11" /> | ||
63 | </state> | 82 | </state> |
64 | </provider> | 83 | </provider> |
65 | </entry> | 84 | </entry> |
66 | </file> | 85 | </file> |
67 | - <file pinned="false" current-in-tab="false"> | ||
68 | - <entry file="file://$PROJECT_DIR$/testcases/m_login_testcases.yml"> | 86 | + <file pinned="false" current-in-tab="true"> |
87 | + <entry file="file://$PROJECT_DIR$/testcases/task/loot/save_loot_update_0_open_testcase.yml"> | ||
69 | <provider selected="true" editor-type-id="text-editor"> | 88 | <provider selected="true" editor-type-id="text-editor"> |
70 | - <state relative-caret-position="264"> | ||
71 | - <caret line="52" column="60" selection-start-line="52" selection-start-column="60" selection-end-line="52" selection-end-column="60" /> | 89 | + <state relative-caret-position="238"> |
90 | + <caret line="10" column="21" selection-start-line="10" selection-start-column="21" selection-end-line="10" selection-end-column="21" /> | ||
72 | </state> | 91 | </state> |
73 | </provider> | 92 | </provider> |
74 | </entry> | 93 | </entry> |
75 | </file> | 94 | </file> |
76 | <file pinned="false" current-in-tab="false"> | 95 | <file pinned="false" current-in-tab="false"> |
77 | - <entry file="file://$PROJECT_DIR$/helpfunc/m_func.py"> | 96 | + <entry file="file://$PROJECT_DIR$/testcases/task/loot/loot_task_reject_testcase.yml"> |
78 | <provider selected="true" editor-type-id="text-editor"> | 97 | <provider selected="true" editor-type-id="text-editor"> |
79 | <state relative-caret-position="26"> | 98 | <state relative-caret-position="26"> |
80 | - <caret line="82" column="26" selection-start-line="82" selection-start-column="4" selection-end-line="82" selection-end-column="26" /> | ||
81 | - <folding> | ||
82 | - <element signature="e#117#128#0" expanded="true" /> | ||
83 | - </folding> | 99 | + <caret line="1" column="38" selection-start-line="1" selection-start-column="38" selection-end-line="1" selection-end-column="38" /> |
84 | </state> | 100 | </state> |
85 | </provider> | 101 | </provider> |
86 | </entry> | 102 | </entry> |
87 | </file> | 103 | </file> |
88 | <file pinned="false" current-in-tab="false"> | 104 | <file pinned="false" current-in-tab="false"> |
89 | - <entry file="file://$PROJECT_DIR$/helpfunc/pg_db_func.py"> | 105 | + <entry file="file://$PROJECT_DIR$/api/m_api/loot/loot_update_0_api.yml"> |
90 | <provider selected="true" editor-type-id="text-editor"> | 106 | <provider selected="true" editor-type-id="text-editor"> |
91 | - <state relative-caret-position="467"> | ||
92 | - <caret line="53" column="38" selection-start-line="53" selection-start-column="4" selection-end-line="53" selection-end-column="38" /> | ||
93 | - </state> | ||
94 | - </provider> | ||
95 | - </entry> | ||
96 | - </file> | ||
97 | - <file pinned="false" current-in-tab="true"> | ||
98 | - <entry file="file://$PROJECT_DIR$/testcases/task/member/member_list_testcases.yml"> | ||
99 | - <provider selected="true" editor-type-id="text-editor"> | ||
100 | - <state relative-caret-position="130"> | ||
101 | - <caret line="5" column="57" selection-start-line="5" selection-start-column="57" selection-end-line="5" selection-end-column="57" /> | ||
102 | - </state> | ||
103 | - </provider> | ||
104 | - </entry> | ||
105 | - </file> | ||
106 | - <file pinned="false" current-in-tab="false"> | ||
107 | - <entry file="file://$PROJECT_DIR$/debugtalk.py"> | ||
108 | - <provider selected="true" editor-type-id="text-editor"> | ||
109 | - <state relative-caret-position="260"> | ||
110 | - <caret line="16" column="21" selection-start-line="16" selection-start-column="4" selection-end-line="16" selection-end-column="21" /> | ||
111 | - <folding> | ||
112 | - <element signature="e#0#11#0" expanded="true" /> | ||
113 | - </folding> | 107 | + <state relative-caret-position="104"> |
108 | + <caret line="4" column="34" selection-start-line="4" selection-start-column="10" selection-end-line="4" selection-end-column="34" /> | ||
114 | </state> | 109 | </state> |
115 | </provider> | 110 | </provider> |
116 | </entry> | 111 | </entry> |
@@ -131,6 +126,9 @@ | @@ -131,6 +126,9 @@ | ||
131 | <find>get_login_code</find> | 126 | <find>get_login_code</find> |
132 | <find>teardown_hook_get_Authorization</find> | 127 | <find>teardown_hook_get_Authorization</find> |
133 | <find>get_login_code()</find> | 128 | <find>get_login_code()</find> |
129 | + <find>get_uid_from_database</find> | ||
130 | + <find>teardown_hook_get_authcode</find> | ||
131 | + <find>teardown_hook_get_accesstoken</find> | ||
134 | </findStrings> | 132 | </findStrings> |
135 | </component> | 133 | </component> |
136 | <component name="Git.Settings"> | 134 | <component name="Git.Settings"> |
@@ -151,30 +149,6 @@ | @@ -151,30 +149,6 @@ | ||
151 | <component name="IdeDocumentHistory"> | 149 | <component name="IdeDocumentHistory"> |
152 | <option name="CHANGED_PATHS"> | 150 | <option name="CHANGED_PATHS"> |
153 | <list> | 151 | <list> |
154 | - <option value="$PROJECT_DIR$/api/task_api/task/jb_fb_task/taskPublish_0_0_api.yml" /> | ||
155 | - <option value="$PROJECT_DIR$/testcases/task/save_taskPublish_0_0_api.yml" /> | ||
156 | - <option value="$PROJECT_DIR$/testcases/task/save_taskPublish_0_1_api.yml" /> | ||
157 | - <option value="$PROJECT_DIR$/api/task_api/task/jb_fb_task/update_taskPublish_api.yml" /> | ||
158 | - <option value="$PROJECT_DIR$/api/task_api/task/jb_fb_task/taskPublish_0_1_api.yml" /> | ||
159 | - <option value="$PROJECT_DIR$/api/app_api/login_api/auth/ucenter_login_api.yml" /> | ||
160 | - <option value="$PROJECT_DIR$/api/app_api/login_api/auth/loginModule_api.yml" /> | ||
161 | - <option value="$PROJECT_DIR$/api/app_api/login_api/auth/authorize_api.yml" /> | ||
162 | - <option value="$PROJECT_DIR$/api/task_api/task/taskcheckAccept_api.yml" /> | ||
163 | - <option value="$PROJECT_DIR$/testcases/login_testcases.yml" /> | ||
164 | - <option value="$PROJECT_DIR$/helpfunc/usiness_admin_func.py" /> | ||
165 | - <option value="$PROJECT_DIR$/api/business_admin_api/login_api/auth/pwdLogin_api.yml" /> | ||
166 | - <option value="$PROJECT_DIR$/api/business_admin_api/login_api/auth/userCompamies_api.yml" /> | ||
167 | - <option value="$PROJECT_DIR$/api/business_admin_api/login_api/auth/anonymousLogin_api.yml" /> | ||
168 | - <option value="$PROJECT_DIR$/.env" /> | ||
169 | - <option value="$PROJECT_DIR$/helpfunc/business_admin_func.py" /> | ||
170 | - <option value="$PROJECT_DIR$/testcases/business_admin/login_testcases.yml" /> | ||
171 | - <option value="$PROJECT_DIR$/api/business_admin_api/login_api/auth/getSingleLoginMenus_api.yml" /> | ||
172 | - <option value="$PROJECT_DIR$/api/business_admin_api/login_api/auth/login_api.yml" /> | ||
173 | - <option value="$PROJECT_DIR$/testcases/task/taskPublish_QD/QDRW001.yml" /> | ||
174 | - <option value="$PROJECT_DIR$/testcases/task/taskPublish_QD/QDRW002.yml" /> | ||
175 | - <option value="$PROJECT_DIR$/testcases/task/jxz/jxz_gb.yml" /> | ||
176 | - <option value="$PROJECT_DIR$/testcases/task/taskPublish_QD/QDRW004.yml" /> | ||
177 | - <option value="$PROJECT_DIR$/testcases/task/taskPublish_QD/QDRW005.yml" /> | ||
178 | <option value="$PROJECT_DIR$/testcases/task/taskPublish_JB/JBRW001.yml" /> | 152 | <option value="$PROJECT_DIR$/testcases/task/taskPublish_JB/JBRW001.yml" /> |
179 | <option value="$PROJECT_DIR$/testcases/task/taskPublish_JB/JBRW002.yml" /> | 153 | <option value="$PROJECT_DIR$/testcases/task/taskPublish_JB/JBRW002.yml" /> |
180 | <option value="$PROJECT_DIR$/testcases/task/taskPublish_JB/JBRW004.yml" /> | 154 | <option value="$PROJECT_DIR$/testcases/task/taskPublish_JB/JBRW004.yml" /> |
@@ -192,22 +166,46 @@ | @@ -192,22 +166,46 @@ | ||
192 | <option value="$PROJECT_DIR$/api/task_api/task/bidTask_api.yml" /> | 166 | <option value="$PROJECT_DIR$/api/task_api/task/bidTask_api.yml" /> |
193 | <option value="$PROJECT_DIR$/testcases/task/jxz/JB/jxz_wc.yml" /> | 167 | <option value="$PROJECT_DIR$/testcases/task/jxz/JB/jxz_wc.yml" /> |
194 | <option value="$PROJECT_DIR$/api/app_api/firstpage_api/addquestion_api.yml" /> | 168 | <option value="$PROJECT_DIR$/api/app_api/firstpage_api/addquestion_api.yml" /> |
195 | - <option value="$PROJECT_DIR$/testcases/permission/ques_pf_permission/QX001_pf_permission.yml" /> | ||
196 | - <option value="$PROJECT_DIR$/helpfunc/login_func.py" /> | ||
197 | - <option value="$PROJECT_DIR$/helpfunc/pg_db_func.py" /> | ||
198 | - <option value="$PROJECT_DIR$/testsuites/task_suites.yml" /> | ||
199 | <option value="$PROJECT_DIR$/api/m_api/login_api/auth/login_api.yml" /> | 169 | <option value="$PROJECT_DIR$/api/m_api/login_api/auth/login_api.yml" /> |
200 | <option value="$PROJECT_DIR$/helpfunc/m_func.py" /> | 170 | <option value="$PROJECT_DIR$/helpfunc/m_func.py" /> |
201 | - <option value="$PROJECT_DIR$/testcases/m_login_testcases.yml" /> | ||
202 | <option value="$PROJECT_DIR$/debugtalk.py" /> | 171 | <option value="$PROJECT_DIR$/debugtalk.py" /> |
203 | - <option value="$PROJECT_DIR$/api/m_api/member/member_list_api.yml" /> | 172 | + <option value="$PROJECT_DIR$/helpfunc/pg_db_func.py" /> |
173 | + <option value="$PROJECT_DIR$/testcases/task/member/member_set_permission_testcases.yml" /> | ||
174 | + <option value="$PROJECT_DIR$/api/m_api/member/member_set_permission_api.yml" /> | ||
204 | <option value="$PROJECT_DIR$/testcases/task/member/member_list_testcases.yml" /> | 175 | <option value="$PROJECT_DIR$/testcases/task/member/member_list_testcases.yml" /> |
176 | + <option value="$PROJECT_DIR$/api/m_api/member/member_list_api.yml" /> | ||
177 | + <option value="$PROJECT_DIR$/testcases/permission/ques_pf_permission/QX001_pf_permission.yml" /> | ||
178 | + <option value="$PROJECT_DIR$/api/m_api/loot/taskPublish_0_0_0_api.yml" /> | ||
179 | + <option value="$PROJECT_DIR$/api/m_api/task_delete_api.yml" /> | ||
180 | + <option value="$PROJECT_DIR$/testcases/task/loot/save_loot_update_0_testcase.yml" /> | ||
181 | + <option value="$PROJECT_DIR$/testcases/task/loot/save_loot_update_0_delete_testcase.yml" /> | ||
182 | + <option value="$PROJECT_DIR$/testcases/m_login_testcases.yml" /> | ||
183 | + <option value="$PROJECT_DIR$/api/m_api/login_api/auth/pwdLogin_api.yml" /> | ||
184 | + <option value="$PROJECT_DIR$/testcases/task/loot/save_loot_update_0_open_testcase.yml" /> | ||
185 | + <option value="$PROJECT_DIR$/api/m_api/loot/loot_update_0_api.yml" /> | ||
186 | + <option value="$PROJECT_DIR$/api/m_api/task_open_api.yml" /> | ||
187 | + <option value="$PROJECT_DIR$/api/m_api/task_Details_api.yml" /> | ||
188 | + <option value="$PROJECT_DIR$/.env" /> | ||
189 | + <option value="$PROJECT_DIR$/testcases/login_testcases.yml" /> | ||
190 | + <option value="$PROJECT_DIR$/api/app_api/login_api/auth/ucenter_login_api.yml" /> | ||
191 | + <option value="$PROJECT_DIR$/api/app_api/login_api/auth/authorize_api.yml" /> | ||
192 | + <option value="$PROJECT_DIR$/api/app_api/login_api/auth/accessToken_api.yml" /> | ||
193 | + <option value="$PROJECT_DIR$/api/app_api/login_api/task/authorize_api.yml" /> | ||
194 | + <option value="$PROJECT_DIR$/helpfunc/login_func.py" /> | ||
195 | + <option value="$PROJECT_DIR$/testcases/task_login_testcases.yml" /> | ||
196 | + <option value="$PROJECT_DIR$/api/app_api/login_api/task/accessToken_api.yml" /> | ||
197 | + <option value="$PROJECT_DIR$/api/m_api/task_rewards_api.yml" /> | ||
198 | + <option value="$PROJECT_DIR$/testcases/task/task_rewards_taskDetails_testcase.yml" /> | ||
199 | + <option value="$PROJECT_DIR$/api/m_api/loot/submitCompete_loot_api.yml" /> | ||
200 | + <option value="$PROJECT_DIR$/api/m_api/loot/loot_task_reject_api.yml" /> | ||
201 | + <option value="$PROJECT_DIR$/testcases/task/loot/loot_task_reject_testcase.yml" /> | ||
202 | + <option value="$PROJECT_DIR$/testsuites/task_suites.yml" /> | ||
205 | </list> | 203 | </list> |
206 | </option> | 204 | </option> |
207 | </component> | 205 | </component> |
208 | <component name="ProjectFrameBounds" extendedState="6"> | 206 | <component name="ProjectFrameBounds" extendedState="6"> |
209 | - <option name="x" value="-116" /> | ||
210 | - <option name="y" value="347" /> | 207 | + <option name="x" value="179" /> |
208 | + <option name="y" value="427" /> | ||
211 | <option name="width" value="1382" /> | 209 | <option name="width" value="1382" /> |
212 | <option name="height" value="741" /> | 210 | <option name="height" value="741" /> |
213 | </component> | 211 | </component> |
@@ -234,29 +232,33 @@ | @@ -234,29 +232,33 @@ | ||
234 | <item name="task_api" type="b2602c69:ProjectViewProjectNode" /> | 232 | <item name="task_api" type="b2602c69:ProjectViewProjectNode" /> |
235 | <item name="task_api" type="462c0819:PsiDirectoryNode" /> | 233 | <item name="task_api" type="462c0819:PsiDirectoryNode" /> |
236 | <item name="api" type="462c0819:PsiDirectoryNode" /> | 234 | <item name="api" type="462c0819:PsiDirectoryNode" /> |
237 | - <item name="m_api" type="462c0819:PsiDirectoryNode" /> | 235 | + <item name="app_api" type="462c0819:PsiDirectoryNode" /> |
238 | </path> | 236 | </path> |
239 | <path> | 237 | <path> |
240 | <item name="task_api" type="b2602c69:ProjectViewProjectNode" /> | 238 | <item name="task_api" type="b2602c69:ProjectViewProjectNode" /> |
241 | <item name="task_api" type="462c0819:PsiDirectoryNode" /> | 239 | <item name="task_api" type="462c0819:PsiDirectoryNode" /> |
242 | <item name="api" type="462c0819:PsiDirectoryNode" /> | 240 | <item name="api" type="462c0819:PsiDirectoryNode" /> |
243 | <item name="m_api" type="462c0819:PsiDirectoryNode" /> | 241 | <item name="m_api" type="462c0819:PsiDirectoryNode" /> |
244 | - <item name="login_api" type="462c0819:PsiDirectoryNode" /> | ||
245 | </path> | 242 | </path> |
246 | <path> | 243 | <path> |
247 | <item name="task_api" type="b2602c69:ProjectViewProjectNode" /> | 244 | <item name="task_api" type="b2602c69:ProjectViewProjectNode" /> |
248 | <item name="task_api" type="462c0819:PsiDirectoryNode" /> | 245 | <item name="task_api" type="462c0819:PsiDirectoryNode" /> |
249 | <item name="api" type="462c0819:PsiDirectoryNode" /> | 246 | <item name="api" type="462c0819:PsiDirectoryNode" /> |
250 | <item name="m_api" type="462c0819:PsiDirectoryNode" /> | 247 | <item name="m_api" type="462c0819:PsiDirectoryNode" /> |
251 | - <item name="login_api" type="462c0819:PsiDirectoryNode" /> | ||
252 | - <item name="auth" type="462c0819:PsiDirectoryNode" /> | 248 | + <item name="loot" type="462c0819:PsiDirectoryNode" /> |
253 | </path> | 249 | </path> |
254 | <path> | 250 | <path> |
255 | <item name="task_api" type="b2602c69:ProjectViewProjectNode" /> | 251 | <item name="task_api" type="b2602c69:ProjectViewProjectNode" /> |
256 | <item name="task_api" type="462c0819:PsiDirectoryNode" /> | 252 | <item name="task_api" type="462c0819:PsiDirectoryNode" /> |
257 | <item name="api" type="462c0819:PsiDirectoryNode" /> | 253 | <item name="api" type="462c0819:PsiDirectoryNode" /> |
258 | <item name="m_api" type="462c0819:PsiDirectoryNode" /> | 254 | <item name="m_api" type="462c0819:PsiDirectoryNode" /> |
259 | - <item name="member" type="462c0819:PsiDirectoryNode" /> | 255 | + <item name="rewards" type="462c0819:PsiDirectoryNode" /> |
256 | + </path> | ||
257 | + <path> | ||
258 | + <item name="task_api" type="b2602c69:ProjectViewProjectNode" /> | ||
259 | + <item name="task_api" type="462c0819:PsiDirectoryNode" /> | ||
260 | + <item name="api" type="462c0819:PsiDirectoryNode" /> | ||
261 | + <item name="task_api" type="462c0819:PsiDirectoryNode" /> | ||
260 | </path> | 262 | </path> |
261 | <path> | 263 | <path> |
262 | <item name="task_api" type="b2602c69:ProjectViewProjectNode" /> | 264 | <item name="task_api" type="b2602c69:ProjectViewProjectNode" /> |
@@ -279,7 +281,7 @@ | @@ -279,7 +281,7 @@ | ||
279 | <item name="task_api" type="462c0819:PsiDirectoryNode" /> | 281 | <item name="task_api" type="462c0819:PsiDirectoryNode" /> |
280 | <item name="testcases" type="462c0819:PsiDirectoryNode" /> | 282 | <item name="testcases" type="462c0819:PsiDirectoryNode" /> |
281 | <item name="task" type="462c0819:PsiDirectoryNode" /> | 283 | <item name="task" type="462c0819:PsiDirectoryNode" /> |
282 | - <item name="member" type="462c0819:PsiDirectoryNode" /> | 284 | + <item name="loot" type="462c0819:PsiDirectoryNode" /> |
283 | </path> | 285 | </path> |
284 | <path> | 286 | <path> |
285 | <item name="task_api" type="b2602c69:ProjectViewProjectNode" /> | 287 | <item name="task_api" type="b2602c69:ProjectViewProjectNode" /> |
@@ -295,23 +297,23 @@ | @@ -295,23 +297,23 @@ | ||
295 | </component> | 297 | </component> |
296 | <component name="PropertiesComponent"> | 298 | <component name="PropertiesComponent"> |
297 | <property name="WebServerToolWindowFactoryState" value="false" /> | 299 | <property name="WebServerToolWindowFactoryState" value="false" /> |
298 | - <property name="last_opened_file_path" value="$PROJECT_DIR$" /> | 300 | + <property name="last_opened_file_path" value="$PROJECT_DIR$/../ability_api" /> |
299 | <property name="settings.editor.selected.configurable" value="com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable" /> | 301 | <property name="settings.editor.selected.configurable" value="com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable" /> |
300 | </component> | 302 | </component> |
301 | <component name="RecentsManager"> | 303 | <component name="RecentsManager"> |
302 | <key name="CopyFile.RECENT_KEYS"> | 304 | <key name="CopyFile.RECENT_KEYS"> |
303 | - <recent name="E:\mmm_auto\ability_api\testcases\task" /> | ||
304 | - <recent name="E:\mmm_auto\ability_api\api\task_api\task\rewards" /> | ||
305 | - <recent name="E:\mmm_auto\ability_api\api\task_api\task" /> | ||
306 | - <recent name="F:\PycharmProjects\ability_api" /> | ||
307 | - <recent name="F:\PycharmProjects\ability_api\flask_demo\conf" /> | 305 | + <recent name="E:\task_api\testcases\task\loot" /> |
306 | + <recent name="E:\task_api\api\m_api\loot" /> | ||
307 | + <recent name="E:\task_api\testcases" /> | ||
308 | + <recent name="E:\task_api\api\m_api" /> | ||
309 | + <recent name="E:\task_api\testcases\task\member" /> | ||
308 | </key> | 310 | </key> |
309 | <key name="MoveFile.RECENT_KEYS"> | 311 | <key name="MoveFile.RECENT_KEYS"> |
312 | + <recent name="E:\task_api\testcases\task\loot" /> | ||
310 | <recent name="E:\mmm-auto\ability_api\api\login_api\auth" /> | 313 | <recent name="E:\mmm-auto\ability_api\api\login_api\auth" /> |
311 | <recent name="F:\PycharmProjects\ability_api\data" /> | 314 | <recent name="F:\PycharmProjects\ability_api\data" /> |
312 | <recent name="F:\PycharmProjects\ability_api\common" /> | 315 | <recent name="F:\PycharmProjects\ability_api\common" /> |
313 | <recent name="F:\PycharmProjects\ability_api\testcases\firstpage_Statistics\pf_statistics" /> | 316 | <recent name="F:\PycharmProjects\ability_api\testcases\firstpage_Statistics\pf_statistics" /> |
314 | - <recent name="F:\PycharmProjects\ability_api\testcases\firstpage_Statistics\ck_statistic" /> | ||
315 | </key> | 317 | </key> |
316 | </component> | 318 | </component> |
317 | <component name="RunDashboard"> | 319 | <component name="RunDashboard"> |
@@ -545,6 +547,9 @@ | @@ -545,6 +547,9 @@ | ||
545 | <workItem from="1597120232086" duration="3312000" /> | 547 | <workItem from="1597120232086" duration="3312000" /> |
546 | <workItem from="1597195556602" duration="605000" /> | 548 | <workItem from="1597195556602" duration="605000" /> |
547 | <workItem from="1597643891154" duration="9745000" /> | 549 | <workItem from="1597643891154" duration="9745000" /> |
550 | + <workItem from="1597713977893" duration="4245000" /> | ||
551 | + <workItem from="1597719772484" duration="2591000" /> | ||
552 | + <workItem from="1597729715453" duration="13232000" /> | ||
548 | </task> | 553 | </task> |
549 | <task id="LOCAL-00001" summary="优化测试用例"> | 554 | <task id="LOCAL-00001" summary="优化测试用例"> |
550 | <created>1571644787323</created> | 555 | <created>1571644787323</created> |
@@ -872,7 +877,7 @@ | @@ -872,7 +877,7 @@ | ||
872 | <servers /> | 877 | <servers /> |
873 | </component> | 878 | </component> |
874 | <component name="TimeTrackingManager"> | 879 | <component name="TimeTrackingManager"> |
875 | - <option name="totallyTimeSpent" value="289008000" /> | 880 | + <option name="totallyTimeSpent" value="309076000" /> |
876 | </component> | 881 | </component> |
877 | <component name="TodoView" selected-index="3"> | 882 | <component name="TodoView" selected-index="3"> |
878 | <todo-panel id="selected-file"> | 883 | <todo-panel id="selected-file"> |
@@ -885,7 +890,7 @@ | @@ -885,7 +890,7 @@ | ||
885 | <component name="ToolWindowManager"> | 890 | <component name="ToolWindowManager"> |
886 | <frame x="-8" y="-8" width="1936" height="1056" extended-state="6" /> | 891 | <frame x="-8" y="-8" width="1936" height="1056" extended-state="6" /> |
887 | <layout> | 892 | <layout> |
888 | - <window_info content_ui="combo" id="Project" order="0" sideWeight="0.49761903" visible="true" weight="0.333691" /> | 893 | + <window_info content_ui="combo" id="Project" order="0" sideWeight="0.49761903" visible="true" weight="0.2387339" /> |
889 | <window_info id="Structure" order="1" sideWeight="0.50238097" side_tool="true" weight="0.30711043" /> | 894 | <window_info id="Structure" order="1" sideWeight="0.50238097" side_tool="true" weight="0.30711043" /> |
890 | <window_info id="Favorites" order="2" sideWeight="0.50238097" side_tool="true" weight="0.30711043" /> | 895 | <window_info id="Favorites" order="2" sideWeight="0.50238097" side_tool="true" weight="0.30711043" /> |
891 | <window_info anchor="bottom" id="Message" order="0" /> | 896 | <window_info anchor="bottom" id="Message" order="0" /> |
@@ -900,7 +905,7 @@ | @@ -900,7 +905,7 @@ | ||
900 | <window_info anchor="bottom" id="Database Changes" order="9" /> | 905 | <window_info anchor="bottom" id="Database Changes" order="9" /> |
901 | <window_info anchor="bottom" id="Event Log" order="10" sideWeight="0.50226927" side_tool="true" weight="0.32879046" /> | 906 | <window_info anchor="bottom" id="Event Log" order="10" sideWeight="0.50226927" side_tool="true" weight="0.32879046" /> |
902 | <window_info active="true" anchor="bottom" id="Terminal" order="11" sideWeight="0.4977307" visible="true" weight="0.43191963" /> | 907 | <window_info active="true" anchor="bottom" id="Terminal" order="11" sideWeight="0.4977307" visible="true" weight="0.43191963" /> |
903 | - <window_info anchor="bottom" id="Python Console" order="12" weight="0.32879046" /> | 908 | + <window_info anchor="bottom" id="Python Console" order="12" weight="0.328125" /> |
904 | <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" /> | 909 | <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" /> |
905 | <window_info anchor="right" id="Ant Build" order="1" weight="0.25" /> | 910 | <window_info anchor="right" id="Ant Build" order="1" weight="0.25" /> |
906 | <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" /> | 911 | <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" /> |
@@ -982,289 +987,331 @@ | @@ -982,289 +987,331 @@ | ||
982 | <option name="LAST_COMMIT_MESSAGE" value="update 2020005122330" /> | 987 | <option name="LAST_COMMIT_MESSAGE" value="update 2020005122330" /> |
983 | </component> | 988 | </component> |
984 | <component name="editorHistoryManager"> | 989 | <component name="editorHistoryManager"> |
985 | - <entry file="file://$PROJECT_DIR$/api/task_api/task/jb_fb_task/taskPublish_1_1_api.yml"> | 990 | + <entry file="file://$USER_HOME$/AppData/Local/Programs/Python/Python38/Lib/site-packages/httprunner/api.py"> |
986 | <provider selected="true" editor-type-id="text-editor"> | 991 | <provider selected="true" editor-type-id="text-editor"> |
987 | - <state relative-caret-position="198"> | ||
988 | - <caret line="9" column="20" selection-start-line="9" selection-start-column="20" selection-end-line="9" selection-end-column="20" /> | 992 | + <state relative-caret-position="158"> |
993 | + <caret line="64" selection-start-line="64" selection-end-line="64" /> | ||
989 | </state> | 994 | </state> |
990 | </provider> | 995 | </provider> |
991 | </entry> | 996 | </entry> |
992 | - <entry file="file://$PROJECT_DIR$/api/task_api/task/jb_fb_task/tasksearchResources_api.yml"> | ||
993 | - <provider selected="true" editor-type-id="text-editor" /> | ||
994 | - </entry> | ||
995 | - <entry file="file://$PROJECT_DIR$/testcases/task/taskPublish_0_1_api.yml"> | 997 | + <entry file="file://$PROJECT_DIR$/api/m_api/login_api/auth/anonymousLogin_api.yml"> |
996 | <provider selected="true" editor-type-id="text-editor"> | 998 | <provider selected="true" editor-type-id="text-editor"> |
997 | - <state relative-caret-position="181"> | ||
998 | - <caret line="35" column="27" selection-start-line="35" selection-start-column="27" selection-end-line="35" selection-end-column="27" /> | 999 | + <state relative-caret-position="416"> |
1000 | + <caret line="16" column="9" lean-forward="true" selection-start-line="16" selection-start-column="9" selection-end-line="16" selection-end-column="28" /> | ||
999 | </state> | 1001 | </state> |
1000 | </provider> | 1002 | </provider> |
1001 | </entry> | 1003 | </entry> |
1002 | - <entry file="file://$PROJECT_DIR$/testcases/task/taskPublish_1_1_api.yml"> | 1004 | + <entry file="file://$PROJECT_DIR$/api/m_api/login_api/auth/login_api.yml"> |
1003 | <provider selected="true" editor-type-id="text-editor"> | 1005 | <provider selected="true" editor-type-id="text-editor"> |
1004 | - <state relative-caret-position="682"> | ||
1005 | - <caret line="31" column="37" selection-start-line="31" selection-start-column="37" selection-end-line="31" selection-end-column="37" /> | 1006 | + <state relative-caret-position="78"> |
1007 | + <caret line="6" selection-start-line="6" selection-end-line="6" selection-end-column="56" /> | ||
1006 | </state> | 1008 | </state> |
1007 | </provider> | 1009 | </provider> |
1008 | </entry> | 1010 | </entry> |
1009 | - <entry file="file://$PROJECT_DIR$/api/task_api/task/rewards/currentTasks_1_api.yml"> | 1011 | + <entry file="file://$PROJECT_DIR$/helpfunc/m_func.py"> |
1010 | <provider selected="true" editor-type-id="text-editor"> | 1012 | <provider selected="true" editor-type-id="text-editor"> |
1011 | - <state relative-caret-position="528"> | ||
1012 | - <caret line="24" column="17" selection-start-line="24" selection-start-column="17" selection-end-line="24" selection-end-column="17" /> | 1013 | + <state relative-caret-position="423"> |
1014 | + <caret line="82" column="26" selection-start-line="82" selection-start-column="4" selection-end-line="82" selection-end-column="26" /> | ||
1015 | + <folding> | ||
1016 | + <element signature="e#117#128#0" expanded="true" /> | ||
1017 | + </folding> | ||
1013 | </state> | 1018 | </state> |
1014 | </provider> | 1019 | </provider> |
1015 | </entry> | 1020 | </entry> |
1016 | - <entry file="file://$PROJECT_DIR$/testcases/task/jxz/jxz_gb.yml" /> | ||
1017 | - <entry file="file://$PROJECT_DIR$/testcases/task/jxz/jxz_wc.yml" /> | ||
1018 | - <entry file="file://$PROJECT_DIR$/testcases/task/save_taskPublish_0_1_api.yml"> | 1021 | + <entry file="file://$PROJECT_DIR$/testcases/task/member/member_set_permission_testcases.yml"> |
1019 | <provider selected="true" editor-type-id="text-editor"> | 1022 | <provider selected="true" editor-type-id="text-editor"> |
1020 | - <state relative-caret-position="198"> | ||
1021 | - <caret line="12" column="55" selection-start-line="12" selection-start-column="55" selection-end-line="12" selection-end-column="55" /> | 1023 | + <state relative-caret-position="312"> |
1024 | + <caret line="21" column="17" selection-start-line="21" selection-start-column="17" selection-end-line="21" selection-end-column="17" /> | ||
1022 | </state> | 1025 | </state> |
1023 | </provider> | 1026 | </provider> |
1024 | </entry> | 1027 | </entry> |
1025 | - <entry file="file://$PROJECT_DIR$/api/task_api/task/jb_fb_task/taskPublish_0_1_0_api.yml"> | 1028 | + <entry file="file://$PROJECT_DIR$/api/m_api/member/member_set_permission_api.yml"> |
1026 | <provider selected="true" editor-type-id="text-editor"> | 1029 | <provider selected="true" editor-type-id="text-editor"> |
1027 | - <state relative-caret-position="198"> | ||
1028 | - <caret line="9" column="20" selection-start-line="9" selection-start-column="20" selection-end-line="9" selection-end-column="20" /> | 1030 | + <state relative-caret-position="338"> |
1031 | + <caret line="31" column="10" selection-start-line="31" selection-start-column="10" selection-end-line="31" selection-end-column="10" /> | ||
1029 | </state> | 1032 | </state> |
1030 | </provider> | 1033 | </provider> |
1031 | </entry> | 1034 | </entry> |
1032 | - <entry file="file://$PROJECT_DIR$/testcases/task/taskPublish_JB/JBRW003.yml"> | 1035 | + <entry file="file://$PROJECT_DIR$/testcases/permission/ques_pf_permission/QX002_pf_levelequal_permission.yml"> |
1036 | + <provider selected="true" editor-type-id="text-editor" /> | ||
1037 | + </entry> | ||
1038 | + <entry file="file://$PROJECT_DIR$/api/app_api/question_api/audits_ireview_api.yml"> | ||
1039 | + <provider selected="true" editor-type-id="text-editor" /> | ||
1040 | + </entry> | ||
1041 | + <entry file="file://$PROJECT_DIR$/helpfunc/pg_db_func.py"> | ||
1033 | <provider selected="true" editor-type-id="text-editor"> | 1042 | <provider selected="true" editor-type-id="text-editor"> |
1034 | - <state relative-caret-position="352"> | ||
1035 | - <caret line="16" selection-start-line="16" selection-end-line="19" selection-end-column="43" /> | 1043 | + <state relative-caret-position="1196"> |
1044 | + <caret line="46" column="15" selection-start-line="46" selection-start-column="15" selection-end-line="46" selection-end-column="15" /> | ||
1036 | </state> | 1045 | </state> |
1037 | </provider> | 1046 | </provider> |
1038 | </entry> | 1047 | </entry> |
1039 | - <entry file="file://$PROJECT_DIR$/testcases/task/jxz/JB/jxz_wc.yml"> | 1048 | + <entry file="file://$PROJECT_DIR$/debugtalk.py"> |
1040 | <provider selected="true" editor-type-id="text-editor"> | 1049 | <provider selected="true" editor-type-id="text-editor"> |
1041 | - <state relative-caret-position="1210"> | ||
1042 | - <caret line="55" column="20" selection-start-line="55" selection-start-column="20" selection-end-line="55" selection-end-column="20" /> | 1050 | + <state relative-caret-position="156"> |
1051 | + <caret line="16" column="21" selection-start-line="16" selection-start-column="4" selection-end-line="16" selection-end-column="21" /> | ||
1052 | + <folding> | ||
1053 | + <element signature="e#0#11#0" expanded="true" /> | ||
1054 | + </folding> | ||
1043 | </state> | 1055 | </state> |
1044 | </provider> | 1056 | </provider> |
1045 | </entry> | 1057 | </entry> |
1046 | - <entry file="file://$PROJECT_DIR$/api/task_api/task/rewards/currentTasks_0_api.yml"> | 1058 | + <entry file="file://$PROJECT_DIR$/api/m_api/loot/taskPublish_0_0_0_api.yml"> |
1047 | <provider selected="true" editor-type-id="text-editor"> | 1059 | <provider selected="true" editor-type-id="text-editor"> |
1048 | - <state relative-caret-position="374"> | ||
1049 | - <caret line="17" column="34" selection-start-line="17" selection-start-column="34" selection-end-line="17" selection-end-column="34" /> | 1060 | + <state relative-caret-position="182"> |
1061 | + <caret line="29" column="14" selection-start-line="29" selection-start-column="14" selection-end-line="29" selection-end-column="18" /> | ||
1050 | </state> | 1062 | </state> |
1051 | </provider> | 1063 | </provider> |
1052 | </entry> | 1064 | </entry> |
1053 | - <entry file="file://$PROJECT_DIR$/api/task_api/task/bidTask_api.yml"> | 1065 | + <entry file="file://$PROJECT_DIR$/testcases/task/save_taskPublish_0_1_api.yml"> |
1054 | <provider selected="true" editor-type-id="text-editor"> | 1066 | <provider selected="true" editor-type-id="text-editor"> |
1055 | - <state relative-caret-position="682"> | ||
1056 | - <caret line="31" column="14" selection-start-line="31" selection-start-column="10" selection-end-line="31" selection-end-column="14" /> | 1067 | + <state relative-caret-position="312"> |
1068 | + <caret line="12" column="55" selection-start-line="12" selection-start-column="55" selection-end-line="12" selection-end-column="55" /> | ||
1057 | </state> | 1069 | </state> |
1058 | </provider> | 1070 | </provider> |
1059 | </entry> | 1071 | </entry> |
1060 | - <entry file="file://$PROJECT_DIR$/api/task_api/task/rewards/submitCompete_1_api.yml"> | 1072 | + <entry file="file://$PROJECT_DIR$/testcases/task/loot/save_taskPublish_0_0_api.yml"> |
1073 | + <provider selected="true" editor-type-id="text-editor" /> | ||
1074 | + </entry> | ||
1075 | + <entry file="file://$PROJECT_DIR$/api/m_api/member/member_list_api.yml"> | ||
1061 | <provider selected="true" editor-type-id="text-editor"> | 1076 | <provider selected="true" editor-type-id="text-editor"> |
1062 | - <state relative-caret-position="484"> | ||
1063 | - <caret line="22" column="17" selection-start-line="22" selection-start-column="17" selection-end-line="22" selection-end-column="17" /> | 1077 | + <state relative-caret-position="197"> |
1078 | + <caret line="13" column="40" lean-forward="true" selection-start-line="8" selection-end-line="13" selection-end-column="40" /> | ||
1064 | </state> | 1079 | </state> |
1065 | </provider> | 1080 | </provider> |
1066 | </entry> | 1081 | </entry> |
1067 | - <entry file="file://$PROJECT_DIR$/api/task_api/task/rewards/submitCompete_0_api.yml"> | 1082 | + <entry file="file://$PROJECT_DIR$/testcases/task/member/member_list_testcases.yml"> |
1068 | <provider selected="true" editor-type-id="text-editor"> | 1083 | <provider selected="true" editor-type-id="text-editor"> |
1069 | - <state relative-caret-position="88"> | ||
1070 | - <caret line="4" selection-start-line="4" selection-end-line="7" selection-end-column="55" /> | 1084 | + <state relative-caret-position="163"> |
1085 | + <caret line="11" column="4" lean-forward="true" selection-start-line="11" selection-start-column="4" selection-end-line="11" selection-end-column="45" /> | ||
1071 | </state> | 1086 | </state> |
1072 | </provider> | 1087 | </provider> |
1073 | </entry> | 1088 | </entry> |
1074 | - <entry file="file://$PROJECT_DIR$/testcases/task/taskPublish_QD/QDRW003.yml"> | 1089 | + <entry file="file://$PROJECT_DIR$/api/m_api/loot/update_taskPublish_api.yml"> |
1075 | <provider selected="true" editor-type-id="text-editor"> | 1090 | <provider selected="true" editor-type-id="text-editor"> |
1076 | - <state relative-caret-position="264"> | ||
1077 | - <caret line="12" column="36" selection-start-line="12" selection-start-column="36" selection-end-line="12" selection-end-column="36" /> | 1091 | + <state relative-caret-position="364"> |
1092 | + <caret line="14" lean-forward="true" selection-start-line="14" selection-end-line="14" /> | ||
1078 | </state> | 1093 | </state> |
1079 | </provider> | 1094 | </provider> |
1080 | </entry> | 1095 | </entry> |
1081 | - <entry file="file://$PROJECT_DIR$/testcases/task/jxz/QD/jxz_wc.yml"> | ||
1082 | - <provider selected="true" editor-type-id="text-editor" /> | 1096 | + <entry file="file://$PROJECT_DIR$/api/m_api/loot/taskPublish_0_1_api.yml"> |
1097 | + <provider selected="true" editor-type-id="text-editor"> | ||
1098 | + <state relative-caret-position="-398" /> | ||
1099 | + </provider> | ||
1083 | </entry> | 1100 | </entry> |
1084 | - <entry file="file://$PROJECT_DIR$/run.py" /> | ||
1085 | - <entry file="file://$PROJECT_DIR$/testcases/permission/ques_pf_permission/QX002_pf_levelequal_permission.yml"> | 1101 | + <entry file="file://$PROJECT_DIR$/api/m_api/loot/task_delete_api.yml"> |
1086 | <provider selected="true" editor-type-id="text-editor" /> | 1102 | <provider selected="true" editor-type-id="text-editor" /> |
1087 | </entry> | 1103 | </entry> |
1088 | - <entry file="file://$PROJECT_DIR$/api/business_admin_api/login_api/auth/login_api.yml"> | 1104 | + <entry file="file://$PROJECT_DIR$/testcases/task/loot/save_loot_update_0_testcase.yml"> |
1089 | <provider selected="true" editor-type-id="text-editor"> | 1105 | <provider selected="true" editor-type-id="text-editor"> |
1090 | - <state relative-caret-position="462"> | ||
1091 | - <caret line="21" selection-start-line="21" selection-end-line="25" /> | 1106 | + <state relative-caret-position="252"> |
1107 | + <caret line="18" column="38" selection-start-line="18" selection-start-column="38" selection-end-line="18" selection-end-column="38" /> | ||
1092 | </state> | 1108 | </state> |
1093 | </provider> | 1109 | </provider> |
1094 | </entry> | 1110 | </entry> |
1095 | - <entry file="file://$PROJECT_DIR$/api/business_admin_api/login_api/auth/pwdLogin_api.yml"> | 1111 | + <entry file="file://$PROJECT_DIR$/api/m_api/task_delete_api.yml"> |
1096 | <provider selected="true" editor-type-id="text-editor"> | 1112 | <provider selected="true" editor-type-id="text-editor"> |
1097 | - <state relative-caret-position="132"> | ||
1098 | - <caret line="6" selection-start-line="6" selection-end-line="7" selection-end-column="51" /> | 1113 | + <state relative-caret-position="442"> |
1114 | + <caret line="17" column="20" selection-start-line="17" selection-start-column="20" selection-end-line="17" selection-end-column="20" /> | ||
1099 | </state> | 1115 | </state> |
1100 | </provider> | 1116 | </provider> |
1101 | </entry> | 1117 | </entry> |
1102 | - <entry file="file://$PROJECT_DIR$/api/business_admin_api/login_api/auth/getSingleLoginMenus_api.yml"> | 1118 | + <entry file="file://$PROJECT_DIR$/testcases/permission/ques_pf_permission/QX001_pf_permission.yml"> |
1103 | <provider selected="true" editor-type-id="text-editor"> | 1119 | <provider selected="true" editor-type-id="text-editor"> |
1104 | - <state relative-caret-position="176"> | ||
1105 | - <caret line="8" column="8" selection-start-line="8" selection-start-column="8" selection-end-line="8" selection-end-column="51" /> | 1120 | + <state relative-caret-position="234"> |
1121 | + <caret line="18" selection-start-line="18" selection-end-line="19" selection-end-column="40" /> | ||
1106 | </state> | 1122 | </state> |
1107 | </provider> | 1123 | </provider> |
1108 | </entry> | 1124 | </entry> |
1109 | - <entry file="file://$PROJECT_DIR$/testcases/task/taskPublish_JB/JBRW002.yml"> | 1125 | + <entry file="file://$PROJECT_DIR$/testcases/task/loot/save_loot_update_0_delete_testcase.yml"> |
1110 | <provider selected="true" editor-type-id="text-editor"> | 1126 | <provider selected="true" editor-type-id="text-editor"> |
1111 | - <state relative-caret-position="924"> | ||
1112 | - <caret line="42" column="9" selection-start-line="42" selection-start-column="9" selection-end-line="42" selection-end-column="61" /> | 1127 | + <state relative-caret-position="572"> |
1128 | + <caret line="22" column="31" selection-start-line="22" selection-start-column="31" selection-end-line="22" selection-end-column="31" /> | ||
1113 | </state> | 1129 | </state> |
1114 | </provider> | 1130 | </provider> |
1115 | </entry> | 1131 | </entry> |
1116 | - <entry file="file://$PROJECT_DIR$/api/task_api/task/dfb_task/iPublishedTasks_0_api.yml"> | 1132 | + <entry file="file://$PROJECT_DIR$/api/m_api/loot/taskPublish_0_1_0_api.yml"> |
1117 | <provider selected="true" editor-type-id="text-editor" /> | 1133 | <provider selected="true" editor-type-id="text-editor" /> |
1118 | </entry> | 1134 | </entry> |
1119 | - <entry file="file://$PROJECT_DIR$/api/task_api/task/dfb_task/taskdeleteTask_api.yml"> | ||
1120 | - <provider selected="true" editor-type-id="text-editor" /> | 1135 | + <entry file="file://$PROJECT_DIR$/api/m_api/login_api/auth/pwdLogin_api.yml"> |
1136 | + <provider selected="true" editor-type-id="text-editor"> | ||
1137 | + <state relative-caret-position="-130"> | ||
1138 | + <caret line="4" column="30" selection-start-line="4" selection-start-column="30" selection-end-line="4" selection-end-column="30" /> | ||
1139 | + </state> | ||
1140 | + </provider> | ||
1121 | </entry> | 1141 | </entry> |
1122 | - <entry file="file://$PROJECT_DIR$/api/task_api/task/iPublishedTasks_3_api.yml"> | 1142 | + <entry file="file://$PROJECT_DIR$/api/m_api/task_open_api.yml"> |
1123 | <provider selected="true" editor-type-id="text-editor"> | 1143 | <provider selected="true" editor-type-id="text-editor"> |
1124 | - <state relative-caret-position="462"> | ||
1125 | - <caret line="21" selection-start-line="21" selection-end-line="23" selection-end-column="17" /> | 1144 | + <state relative-caret-position="416"> |
1145 | + <caret line="16" column="18" selection-start-line="16" selection-start-column="18" selection-end-line="16" selection-end-column="18" /> | ||
1126 | </state> | 1146 | </state> |
1127 | </provider> | 1147 | </provider> |
1128 | </entry> | 1148 | </entry> |
1129 | - <entry file="file://$PROJECT_DIR$/api/task_api/task/taskStatistics.yml"> | ||
1130 | - <provider selected="true" editor-type-id="text-editor" /> | 1149 | + <entry file="file://$PROJECT_DIR$/.env"> |
1150 | + <provider selected="true" editor-type-id="text-editor"> | ||
1151 | + <state relative-caret-position="130"> | ||
1152 | + <caret line="5" column="8" selection-start-line="5" selection-end-line="5" selection-end-column="8" /> | ||
1153 | + </state> | ||
1154 | + </provider> | ||
1131 | </entry> | 1155 | </entry> |
1132 | - <entry file="file://$PROJECT_DIR$/api/task_api/task/taskcloseTask_api.yml"> | ||
1133 | - <provider selected="true" editor-type-id="text-editor" /> | 1156 | + <entry file="file://$PROJECT_DIR$/api/m_api/task_Details_api.yml"> |
1157 | + <provider selected="true" editor-type-id="text-editor"> | ||
1158 | + <state relative-caret-position="598"> | ||
1159 | + <caret line="23" column="9" selection-start-line="23" selection-start-column="9" selection-end-line="23" selection-end-column="9" /> | ||
1160 | + </state> | ||
1161 | + </provider> | ||
1134 | </entry> | 1162 | </entry> |
1135 | - <entry file="file://$PROJECT_DIR$/api/task_api/task/taskcheckAccept_api.yml"> | ||
1136 | - <provider selected="true" editor-type-id="text-editor" /> | 1163 | + <entry file="file://$PROJECT_DIR$/api/app_api/login_api/auth/ucenter_login_api.yml"> |
1164 | + <provider selected="true" editor-type-id="text-editor"> | ||
1165 | + <state relative-caret-position="-204"> | ||
1166 | + <caret line="9" column="20" selection-start-line="9" selection-start-column="20" selection-end-line="9" selection-end-column="20" /> | ||
1167 | + </state> | ||
1168 | + </provider> | ||
1137 | </entry> | 1169 | </entry> |
1138 | - <entry file="file://$PROJECT_DIR$/testsuites/ability_suites.yml" /> | ||
1139 | - <entry file="file://$PROJECT_DIR$/api/task_api/task/taskDetails_api.yml"> | 1170 | + <entry file="file://$PROJECT_DIR$/api/m_api/taskStatistics.yml"> |
1140 | <provider selected="true" editor-type-id="text-editor" /> | 1171 | <provider selected="true" editor-type-id="text-editor" /> |
1141 | </entry> | 1172 | </entry> |
1142 | - <entry file="file://$PROJECT_DIR$/api/app_api/question_api/audits_ireview_api.yml"> | ||
1143 | - <provider selected="true" editor-type-id="text-editor" /> | 1173 | + <entry file="file://$PROJECT_DIR$/api/task_api/task/rewards/rewards_api.yml"> |
1174 | + <provider selected="true" editor-type-id="text-editor"> | ||
1175 | + <state relative-caret-position="-312" /> | ||
1176 | + </provider> | ||
1144 | </entry> | 1177 | </entry> |
1145 | - <entry file="file://$PROJECT_DIR$/api/app_api/question_api/applyForQuestions_api.yml"> | 1178 | + <entry file="file://$PROJECT_DIR$/api/task_api/task/taskStatistics.yml"> |
1146 | <provider selected="true" editor-type-id="text-editor" /> | 1179 | <provider selected="true" editor-type-id="text-editor" /> |
1147 | </entry> | 1180 | </entry> |
1148 | - <entry file="file://$PROJECT_DIR$/testcases/question/add_question.yml"> | 1181 | + <entry file="file://$PROJECT_DIR$/api/app_api/login_api/auth/accessToken_api.yml"> |
1182 | + <provider selected="true" editor-type-id="text-editor"> | ||
1183 | + <state relative-caret-position="364"> | ||
1184 | + <caret line="26" column="9" selection-start-line="26" selection-start-column="9" selection-end-line="26" selection-end-column="9" /> | ||
1185 | + </state> | ||
1186 | + </provider> | ||
1187 | + </entry> | ||
1188 | + <entry file="file://$PROJECT_DIR$/api/app_api/login_api/auth/8_gettimestamp_api.yml"> | ||
1149 | <provider selected="true" editor-type-id="text-editor" /> | 1189 | <provider selected="true" editor-type-id="text-editor" /> |
1150 | </entry> | 1190 | </entry> |
1151 | - <entry file="file://$PROJECT_DIR$/api/app_api/firstpage_api/addquestion_api.yml"> | 1191 | + <entry file="file://$PROJECT_DIR$/api/app_api/login_api/auth/authorize_api.yml"> |
1152 | <provider selected="true" editor-type-id="text-editor"> | 1192 | <provider selected="true" editor-type-id="text-editor"> |
1153 | - <state relative-caret-position="208"> | ||
1154 | - <caret line="8" column="32" selection-start-line="8" selection-start-column="32" selection-end-line="8" selection-end-column="32" /> | 1193 | + <state relative-caret-position="754"> |
1194 | + <caret line="29" column="9" selection-start-line="29" selection-start-column="9" selection-end-line="29" selection-end-column="9" /> | ||
1155 | </state> | 1195 | </state> |
1156 | </provider> | 1196 | </provider> |
1157 | </entry> | 1197 | </entry> |
1158 | - <entry file="file://$PROJECT_DIR$/testcases/permission/ques_pf_permission/QX001_pf_permission.yml"> | 1198 | + <entry file="file://$PROJECT_DIR$/helpfunc/login_func.py"> |
1159 | <provider selected="true" editor-type-id="text-editor"> | 1199 | <provider selected="true" editor-type-id="text-editor"> |
1160 | - <state relative-caret-position="208"> | ||
1161 | - <caret line="14" column="27" selection-start-line="14" selection-start-column="27" selection-end-line="14" selection-end-column="27" /> | 1200 | + <state relative-caret-position="218"> |
1201 | + <caret line="59" column="38" selection-start-line="59" selection-start-column="4" selection-end-line="59" selection-end-column="38" /> | ||
1202 | + <folding> | ||
1203 | + <element signature="e#107#119#0" expanded="true" /> | ||
1204 | + </folding> | ||
1162 | </state> | 1205 | </state> |
1163 | </provider> | 1206 | </provider> |
1164 | </entry> | 1207 | </entry> |
1165 | - <entry file="file://$PROJECT_DIR$/testcases/m_login_testcases.yml/login_testcases.yml"> | 1208 | + <entry file="file://$PROJECT_DIR$/api/app_api/login_api/task/authorize_api.yml"> |
1166 | <provider selected="true" editor-type-id="text-editor"> | 1209 | <provider selected="true" editor-type-id="text-editor"> |
1167 | - <state relative-caret-position="286"> | ||
1168 | - <caret line="17" selection-start-line="17" selection-end-line="18" selection-end-column="19" /> | 1210 | + <state relative-caret-position="-130"> |
1211 | + <caret line="10" column="37" selection-start-line="10" selection-start-column="6" selection-end-line="10" selection-end-column="37" /> | ||
1169 | </state> | 1212 | </state> |
1170 | </provider> | 1213 | </provider> |
1171 | </entry> | 1214 | </entry> |
1172 | - <entry file="file://$PROJECT_DIR$/api/m_api/login_api/auth/pwdLogin_api.yml"> | ||
1173 | - <provider selected="true" editor-type-id="text-editor" /> | 1215 | + <entry file="file://$PROJECT_DIR$/api/app_api/login_api/task/accessToken_api.yml"> |
1216 | + <provider selected="true" editor-type-id="text-editor"> | ||
1217 | + <state relative-caret-position="-312"> | ||
1218 | + <caret line="9" column="40" selection-start-line="9" selection-start-column="40" selection-end-line="9" selection-end-column="40" /> | ||
1219 | + </state> | ||
1220 | + </provider> | ||
1174 | </entry> | 1221 | </entry> |
1175 | - <entry file="file://$PROJECT_DIR$/api/task_api/task/taskfinishTask_api.yml"> | ||
1176 | - <provider selected="true" editor-type-id="text-editor" /> | 1222 | + <entry file="file://$PROJECT_DIR$/testcases/m_login_testcases.yml"> |
1223 | + <provider selected="true" editor-type-id="text-editor"> | ||
1224 | + <state relative-caret-position="-984"> | ||
1225 | + <caret line="8" column="31" selection-start-line="8" selection-start-column="31" selection-end-line="8" selection-end-column="31" /> | ||
1226 | + </state> | ||
1227 | + </provider> | ||
1177 | </entry> | 1228 | </entry> |
1178 | - <entry file="file://$USER_HOME$/AppData/Local/Programs/Python/Python38/Lib/site-packages/httprunner/api.py"> | 1229 | + <entry file="file://$PROJECT_DIR$/testcases/task_login_testcases.yml"> |
1179 | <provider selected="true" editor-type-id="text-editor"> | 1230 | <provider selected="true" editor-type-id="text-editor"> |
1180 | - <state relative-caret-position="158"> | ||
1181 | - <caret line="64" selection-start-line="64" selection-end-line="64" /> | 1231 | + <state relative-caret-position="442"> |
1232 | + <caret line="17" column="46" selection-start-line="17" selection-start-column="46" selection-end-line="17" selection-end-column="46" /> | ||
1182 | </state> | 1233 | </state> |
1183 | </provider> | 1234 | </provider> |
1184 | </entry> | 1235 | </entry> |
1185 | - <entry file="file://$PROJECT_DIR$/helpfunc/pg_db_func.py"> | 1236 | + <entry file="file://$PROJECT_DIR$/api/m_api/task_rewards_api.yml"> |
1186 | <provider selected="true" editor-type-id="text-editor"> | 1237 | <provider selected="true" editor-type-id="text-editor"> |
1187 | - <state relative-caret-position="467"> | ||
1188 | - <caret line="53" column="38" selection-start-line="53" selection-start-column="4" selection-end-line="53" selection-end-column="38" /> | 1238 | + <state> |
1239 | + <caret column="12" selection-start-column="12" selection-end-column="12" /> | ||
1189 | </state> | 1240 | </state> |
1190 | </provider> | 1241 | </provider> |
1191 | </entry> | 1242 | </entry> |
1192 | - <entry file="file://$PROJECT_DIR$/helpfunc/login_func.py"> | 1243 | + <entry file="file://$PROJECT_DIR$/api/m_api/loot/tasksearchResources_api.yml"> |
1193 | <provider selected="true" editor-type-id="text-editor"> | 1244 | <provider selected="true" editor-type-id="text-editor"> |
1194 | - <state relative-caret-position="-286"> | ||
1195 | - <caret line="7" column="11" selection-start-line="7" selection-start-column="11" selection-end-line="7" selection-end-column="11" /> | ||
1196 | - <folding> | ||
1197 | - <element signature="e#107#119#0" expanded="true" /> | ||
1198 | - </folding> | 1245 | + <state relative-caret-position="-156" /> |
1246 | + </provider> | ||
1247 | + </entry> | ||
1248 | + <entry file="file://$PROJECT_DIR$/testcases/task/task_rewards_taskDetails_testcase.yml"> | ||
1249 | + <provider selected="true" editor-type-id="text-editor"> | ||
1250 | + <state relative-caret-position="342"> | ||
1251 | + <caret line="25" column="50" selection-start-line="25" selection-start-column="50" selection-end-line="25" selection-end-column="50" /> | ||
1199 | </state> | 1252 | </state> |
1200 | </provider> | 1253 | </provider> |
1201 | </entry> | 1254 | </entry> |
1202 | - <entry file="file://$PROJECT_DIR$/api/m_api/login_api/auth/anonymousLogin_api.yml"> | 1255 | + <entry file="file://$PROJECT_DIR$/api/m_api/rewards/submitCompete_0_api.yml"> |
1203 | <provider selected="true" editor-type-id="text-editor"> | 1256 | <provider selected="true" editor-type-id="text-editor"> |
1204 | - <state relative-caret-position="416"> | ||
1205 | - <caret line="16" column="9" lean-forward="true" selection-start-line="16" selection-start-column="9" selection-end-line="16" selection-end-column="28" /> | 1257 | + <state> |
1258 | + <caret selection-end-line="31" selection-end-column="15" /> | ||
1206 | </state> | 1259 | </state> |
1207 | </provider> | 1260 | </provider> |
1208 | </entry> | 1261 | </entry> |
1209 | - <entry file="file://$PROJECT_DIR$/.env"> | 1262 | + <entry file="file://$PROJECT_DIR$/testcases/login_testcases.yml"> |
1210 | <provider selected="true" editor-type-id="text-editor"> | 1263 | <provider selected="true" editor-type-id="text-editor"> |
1211 | - <state relative-caret-position="260"> | ||
1212 | - <caret line="10" column="14" selection-start-line="10" selection-end-line="10" selection-end-column="14" /> | 1264 | + <state relative-caret-position="338"> |
1265 | + <caret line="13" column="29" selection-start-line="13" selection-start-column="29" selection-end-line="13" selection-end-column="29" /> | ||
1213 | </state> | 1266 | </state> |
1214 | </provider> | 1267 | </provider> |
1215 | </entry> | 1268 | </entry> |
1216 | - <entry file="file://$PROJECT_DIR$/testsuites/task_suites.yml"> | 1269 | + <entry file="file://$PROJECT_DIR$/api/m_api/loot/submitCompete_loot_api.yml"> |
1217 | <provider selected="true" editor-type-id="text-editor"> | 1270 | <provider selected="true" editor-type-id="text-editor"> |
1218 | - <state relative-caret-position="286"> | ||
1219 | - <caret line="11" selection-start-line="11" selection-end-line="11" /> | 1271 | + <state relative-caret-position="108"> |
1272 | + <caret line="6" column="29" selection-start-line="6" selection-start-column="29" selection-end-line="6" selection-end-column="29" /> | ||
1220 | </state> | 1273 | </state> |
1221 | </provider> | 1274 | </provider> |
1222 | </entry> | 1275 | </entry> |
1223 | - <entry file="file://$PROJECT_DIR$/helpfunc/m_func.py"> | 1276 | + <entry file="file://$PROJECT_DIR$/api/m_api/loot/loot_update_0_api.yml"> |
1224 | <provider selected="true" editor-type-id="text-editor"> | 1277 | <provider selected="true" editor-type-id="text-editor"> |
1225 | - <state relative-caret-position="26"> | ||
1226 | - <caret line="82" column="26" selection-start-line="82" selection-start-column="4" selection-end-line="82" selection-end-column="26" /> | ||
1227 | - <folding> | ||
1228 | - <element signature="e#117#128#0" expanded="true" /> | ||
1229 | - </folding> | 1278 | + <state relative-caret-position="104"> |
1279 | + <caret line="4" column="34" selection-start-line="4" selection-start-column="10" selection-end-line="4" selection-end-column="34" /> | ||
1230 | </state> | 1280 | </state> |
1231 | </provider> | 1281 | </provider> |
1232 | </entry> | 1282 | </entry> |
1233 | - <entry file="file://$PROJECT_DIR$/api/m_api/login_api/auth/login_api.yml"> | 1283 | + <entry file="file://$PROJECT_DIR$/api/m_api/loot/loot_task_reject_api.yml"> |
1234 | <provider selected="true" editor-type-id="text-editor"> | 1284 | <provider selected="true" editor-type-id="text-editor"> |
1235 | - <state relative-caret-position="78"> | ||
1236 | - <caret line="6" selection-start-line="6" selection-end-line="6" selection-end-column="56" /> | 1285 | + <state relative-caret-position="-390"> |
1286 | + <caret column="6" lean-forward="true" selection-start-column="6" selection-end-column="11" /> | ||
1237 | </state> | 1287 | </state> |
1238 | </provider> | 1288 | </provider> |
1239 | </entry> | 1289 | </entry> |
1240 | - <entry file="file://$PROJECT_DIR$/debugtalk.py"> | 1290 | + <entry file="file://$PROJECT_DIR$/testsuites/task_suites.yml"> |
1241 | <provider selected="true" editor-type-id="text-editor"> | 1291 | <provider selected="true" editor-type-id="text-editor"> |
1242 | - <state relative-caret-position="260"> | ||
1243 | - <caret line="16" column="21" selection-start-line="16" selection-start-column="4" selection-end-line="16" selection-end-column="21" /> | ||
1244 | - <folding> | ||
1245 | - <element signature="e#0#11#0" expanded="true" /> | ||
1246 | - </folding> | 1292 | + <state relative-caret-position="290"> |
1293 | + <caret line="28" column="9" lean-forward="true" selection-start-line="28" selection-start-column="9" selection-end-line="28" selection-end-column="9" /> | ||
1247 | </state> | 1294 | </state> |
1248 | </provider> | 1295 | </provider> |
1249 | </entry> | 1296 | </entry> |
1250 | - <entry file="file://$PROJECT_DIR$/testcases/m_login_testcases.yml"> | 1297 | + <entry file="file://$USER_HOME$/AppData/Local/Programs/Python/Python38/Lib/site-packages/urllib3/request.py"> |
1251 | <provider selected="true" editor-type-id="text-editor"> | 1298 | <provider selected="true" editor-type-id="text-editor"> |
1252 | - <state relative-caret-position="264"> | ||
1253 | - <caret line="52" column="60" selection-start-line="52" selection-start-column="60" selection-end-line="52" selection-end-column="60" /> | 1299 | + <state relative-caret-position="371"> |
1300 | + <caret line="170" selection-start-line="170" selection-end-line="170" /> | ||
1254 | </state> | 1301 | </state> |
1255 | </provider> | 1302 | </provider> |
1256 | </entry> | 1303 | </entry> |
1257 | - <entry file="file://$PROJECT_DIR$/api/m_api/member/member_list_api.yml"> | 1304 | + <entry file="file://$PROJECT_DIR$/testcases/task/loot/loot_task_reject_testcase.yml"> |
1258 | <provider selected="true" editor-type-id="text-editor"> | 1305 | <provider selected="true" editor-type-id="text-editor"> |
1259 | - <state relative-caret-position="116"> | ||
1260 | - <caret line="5" column="8" selection-start-line="5" selection-start-column="8" selection-end-line="5" selection-end-column="53" /> | 1306 | + <state relative-caret-position="26"> |
1307 | + <caret line="1" column="38" selection-start-line="1" selection-start-column="38" selection-end-line="1" selection-end-column="38" /> | ||
1261 | </state> | 1308 | </state> |
1262 | </provider> | 1309 | </provider> |
1263 | </entry> | 1310 | </entry> |
1264 | - <entry file="file://$PROJECT_DIR$/testcases/task/member/member_list_testcases.yml"> | 1311 | + <entry file="file://$PROJECT_DIR$/testcases/task/loot/save_loot_update_0_open_testcase.yml"> |
1265 | <provider selected="true" editor-type-id="text-editor"> | 1312 | <provider selected="true" editor-type-id="text-editor"> |
1266 | - <state relative-caret-position="130"> | ||
1267 | - <caret line="5" column="57" selection-start-line="5" selection-start-column="57" selection-end-line="5" selection-end-column="57" /> | 1313 | + <state relative-caret-position="238"> |
1314 | + <caret line="10" column="21" selection-start-line="10" selection-start-column="21" selection-end-line="10" selection-end-column="21" /> | ||
1268 | </state> | 1315 | </state> |
1269 | </provider> | 1316 | </provider> |
1270 | </entry> | 1317 | </entry> |
@@ -24,7 +24,7 @@ request: | @@ -24,7 +24,7 @@ request: | ||
24 | authCode: ${get_authcode()} | 24 | authCode: ${get_authcode()} |
25 | clientSecret: gtfhyjukiol3Qncbvmdwe67khh | 25 | clientSecret: gtfhyjukiol3Qncbvmdwe67khh |
26 | method: POST | 26 | method: POST |
27 | - url: /v1/auth/accessToken | 27 | + url: v1/auth/accessToken |
28 | validate: | 28 | validate: |
29 | - eq: | 29 | - eq: |
30 | - content.code | 30 | - content.code |
@@ -27,7 +27,7 @@ request: | @@ -27,7 +27,7 @@ request: | ||
27 | muid: ${get_muid()} | 27 | muid: ${get_muid()} |
28 | cid: ${get_cid()} | 28 | cid: ${get_cid()} |
29 | method: POST | 29 | method: POST |
30 | - url: /v1/auth/authorize | 30 | + url: v1/auth/authorize |
31 | validate: | 31 | validate: |
32 | - eq: | 32 | - eq: |
33 | - content.code | 33 | - content.code |
@@ -7,7 +7,7 @@ variables: | @@ -7,7 +7,7 @@ variables: | ||
7 | access_token: '' | 7 | access_token: '' |
8 | sign: ${make_sign($currtime, $uuid,$access_token)} | 8 | sign: ${make_sign($currtime, $uuid,$access_token)} |
9 | grantType: signInPassword | 9 | grantType: signInPassword |
10 | - phone: ${ENV(allphone)} | 10 | + phone: ${ENV(appphone)} |
11 | password: 7c4a8d09ca3762af61e59520943dc26494f8941b | 11 | password: 7c4a8d09ca3762af61e59520943dc26494f8941b |
12 | Type: 1 | 12 | Type: 1 |
13 | msg: ok | 13 | msg: ok |
1 | +name: 获取授权令牌 | ||
2 | +base_url: ${ENV(base_url)} | ||
3 | +verify: False | ||
4 | +variables: | ||
5 | + currtime: ${make_time()} | ||
6 | + uuid: ${make_uuid()} | ||
7 | + access_token: '' | ||
8 | + sign: ${make_sign($currtime, $uuid,$access_token)} | ||
9 | +teardown_hooks: | ||
10 | + - ${teardown_hook_get_task_accesstoken($response)} | ||
11 | +request: | ||
12 | + headers: | ||
13 | + Content-Type: application/json;charset=utf-8 | ||
14 | + User-Agent: abilityIOSTest/120004 CFNetwork/1121.2.2 Darwin/19.3.0 | ||
15 | +# X-MMM-AppName: com.maimaimai.abilityIOS | ||
16 | + X-MMM-AppProject: ability | ||
17 | + X-MMM-DeviceType: "0" | ||
18 | + X-MMM-Sign: $sign | ||
19 | + X-MMM-Timestamp: $currtime | ||
20 | + X-MMM-Uuid: $uuid | ||
21 | + X-MMM-Version: 0.12.0 | ||
22 | + json: | ||
23 | + clientId: lks3Z8Ncn2j | ||
24 | + authCode: ${get_task_authcode()} | ||
25 | + clientSecret: gtfhyjukiol3Qncbvmdwe67khh | ||
26 | + method: POST | ||
27 | + url: v1/auth/accessToken | ||
28 | +validate: | ||
29 | +- eq: | ||
30 | + - content.code | ||
31 | + - 0 | ||
32 | +- eq: | ||
33 | + - content.msg | ||
34 | + - 获取成功 |
api/app_api/login_api/task/authorize_api.yml
0 → 100644
1 | +name: 登录价值系统 | ||
2 | +base_url: ${ENV(base_url)} | ||
3 | +verify: False | ||
4 | +variables: | ||
5 | + currtime: ${make_time()} | ||
6 | + uuid: ${make_uuid()} | ||
7 | + access_token: '' | ||
8 | + sign: ${make_sign($currtime, $uuid,$access_token)} | ||
9 | + phone: ${ENV(wpftwphone)} | ||
10 | +teardown_hooks: | ||
11 | + - ${teardown_hook_get_task_authcode($response)} | ||
12 | +request: | ||
13 | + headers: | ||
14 | + Content-Type: application/json;charset=utf-8 | ||
15 | + User-Agent: abilityIOSTest/120004 CFNetwork/1121.2.2 Darwin/19.3.0 | ||
16 | + X-MMM-AppName: com.maimaimai.abilityIOS | ||
17 | + X-MMM-AppProject: ability | ||
18 | + X-MMM-DeviceType: '0' | ||
19 | + X-MMM-Sign: $sign | ||
20 | + X-MMM-Timestamp: $currtime | ||
21 | + X-MMM-Uuid: $uuid | ||
22 | + X-MMM-Version: 0.12.0 | ||
23 | + json: | ||
24 | + clientId: lks3Z8Ncn2j | ||
25 | + credentials: ${get_credentials()} | ||
26 | + cuid: ${get_cuid()} | ||
27 | + muid: ${get_muid()} | ||
28 | + cid: ${get_cid()} | ||
29 | + method: POST | ||
30 | + url: v1/auth/authorize | ||
31 | +validate: | ||
32 | +- eq: | ||
33 | + - content.code | ||
34 | + - 0 | ||
35 | +- eq: | ||
36 | + - content.msg | ||
37 | + - 登录成功 | ||
38 | + |
api/m_api/bidTask_api.yml
0 → 100644
1 | +name: 中标 | ||
2 | +base_url: ${ENV(base_url)} | ||
3 | +verify: False | ||
4 | +variables: | ||
5 | + currtime: ${make_time()} | ||
6 | + uuid: ${make_uuid()} | ||
7 | + access_token: ${get_accesstoken()} | ||
8 | + sign: ${make_sign($currtime, $uuid, $access_token)} | ||
9 | +request: | ||
10 | + headers: | ||
11 | + Content-Type: application/json;charset=utf-8 | ||
12 | + User-Agent: okhttp/3.12.3 | ||
13 | + X-MMM-AccessToken: $access_token | ||
14 | + X-MMM-AppName: com.mmm.ability | ||
15 | + X-MMM-AppProject: ability | ||
16 | + X-MMM-DeviceType: '0' | ||
17 | + X-MMM-Sign: $sign | ||
18 | + X-MMM-Timestamp: $currtime | ||
19 | + X-MMM-Uuid: $uuid | ||
20 | + X-MMM-Version: 1.0.0 | ||
21 | + json: | ||
22 | + id: $id | ||
23 | + uid: $uid | ||
24 | + method: POST | ||
25 | + url: /v1/task/bidTask | ||
26 | +validate: | ||
27 | + - eq: | ||
28 | + - content.code | ||
29 | + - 0 | ||
30 | + - eq: | ||
31 | + - content.msg | ||
32 | + - 中标成功 |
api/m_api/iPublishedTasks_3_api.yml
0 → 100644
1 | +name: 任务-我发布的-待验收 | ||
2 | +base_url: ${ENV(base_url)} | ||
3 | +verify: False | ||
4 | +variables: | ||
5 | + currtime: ${make_time()} | ||
6 | + uuid: ${make_uuid()} | ||
7 | + access_token: ${get_accesstoken()} | ||
8 | + sign: ${make_sign($currtime, $uuid, $access_token)} | ||
9 | +request: | ||
10 | + headers: | ||
11 | + Content-Type: application/json;charset=utf-8 | ||
12 | + User-Agent: okhttp/3.12.3 | ||
13 | + X-MMM-AccessToken: $access_token | ||
14 | + X-MMM-AppName: com.mmm.ability | ||
15 | + X-MMM-AppProject: ability | ||
16 | + X-MMM-DeviceType: '0' | ||
17 | + X-MMM-Sign: $sign | ||
18 | + X-MMM-Timestamp: $currtime | ||
19 | + X-MMM-Uuid: $uuid | ||
20 | + X-MMM-Version: 1.0.0 | ||
21 | + json: | ||
22 | + pageIndex: 0 | ||
23 | + pageSize: 20 | ||
24 | + action: 3 | ||
25 | + method: POST | ||
26 | + url: /v1/task/iPublishedTasks | ||
27 | +validate: | ||
28 | + - eq: | ||
29 | + - content.code | ||
30 | + - 0 | ||
31 | + - eq: | ||
32 | + - content.msg | ||
33 | + - 获取成功 |
1 | +name: 保存任务 | ||
2 | +base_url: ${ENV(base_url)} | ||
3 | +verify: False | ||
4 | +variables: | ||
5 | + currtime: ${make_time()} | ||
6 | + uuid: ${make_uuid()} | ||
7 | + access_token: ${get_accesstoken()} | ||
8 | + sign: ${make_sign($currtime, $uuid, $access_token)} | ||
9 | + title: API测试竞标任务名称${get_nowtime()} | ||
10 | + content: API测试竞标任务内容${get_nowtime()} | ||
11 | + bidStartTime: ${get_bidStartTime()} | ||
12 | + bidEndTime: ${get_bidEndTime()} | ||
13 | + msg: '保存成功' | ||
14 | +request: | ||
15 | + headers: | ||
16 | + Content-Type: application/json;charset=utf-8 | ||
17 | + User-Agent: okhttp/3.12.3 | ||
18 | + X-MMM-AccessToken: $access_token | ||
19 | + X-MMM-AppName: com.mmm.ability | ||
20 | + X-MMM-AppProject: ability | ||
21 | + X-MMM-DeviceType: '0' | ||
22 | + X-MMM-Sign: $sign | ||
23 | + X-MMM-Timestamp: $currtime | ||
24 | + X-MMM-Uuid: $uuid | ||
25 | + X-MMM-Version: 1.0.0 | ||
26 | + json: | ||
27 | + id: 0 | ||
28 | + action: 0 | ||
29 | + type: 1 | ||
30 | + title: $title | ||
31 | + content: $content | ||
32 | + acceptability: | ||
33 | + images: | ||
34 | + nature: | ||
35 | + csVals: | ||
36 | + bidStartTime: $bidStartTime | ||
37 | + bidEndTime: $bidEndTime | ||
38 | + bonus: 0 | ||
39 | + isReward: False | ||
40 | + method: POST | ||
41 | + url: /v1/task/taskPublish | ||
42 | +validate: | ||
43 | + - eq: | ||
44 | + - content.code | ||
45 | + - 0 | ||
46 | + - eq: | ||
47 | + - content.msg | ||
48 | + - 保存成功 | ||
49 | +# - $msg |
1 | +name: 发布任务 | ||
2 | +base_url: ${ENV(base_url)} | ||
3 | +verify: False | ||
4 | +variables: | ||
5 | + currtime: ${make_time()} | ||
6 | + uuid: ${make_uuid()} | ||
7 | + access_token: ${get_accesstoken()} | ||
8 | + sign: ${make_sign($currtime, $uuid, $access_token)} | ||
9 | + title1: API测试竞标任务名称:${get_nowtime()} | ||
10 | + content: API测试竞标任务内容:${get_nowtime()} | ||
11 | + acceptability: API测试验收标准:${get_nowtime()} | ||
12 | + nature_id: 2 | ||
13 | + csVals_id13: 13 | ||
14 | + csVals_id3: 3 | ||
15 | +request: | ||
16 | + headers: | ||
17 | + Content-Type: application/json;charset=utf-8 | ||
18 | + User-Agent: okhttp/3.12.3 | ||
19 | + X-MMM-AccessToken: $access_token | ||
20 | + X-MMM-AppName: com.mmm.ability | ||
21 | + X-MMM-AppProject: ability | ||
22 | + X-MMM-DeviceType: '0' | ||
23 | + X-MMM-Sign: $sign | ||
24 | + X-MMM-Timestamp: $currtime | ||
25 | + X-MMM-Uuid: $uuid | ||
26 | + X-MMM-Version: 1.0.0 | ||
27 | + json: | ||
28 | + id: 0 | ||
29 | + action: 1 | ||
30 | + type: 0 | ||
31 | + title: $title1 | ||
32 | + content: $content | ||
33 | + acceptability: $acceptability | ||
34 | + images: | ||
35 | + nature: | ||
36 | + id: $nature_id | ||
37 | + name: 线 | ||
38 | + csVals: | ||
39 | + - id: $csVals_id3 | ||
40 | + name: 色泽 | ||
41 | + - id: $csVals_id13 | ||
42 | + name: 账期 | ||
43 | + bidStartTime: 0 | ||
44 | + bidEndTime: 0 | ||
45 | + bonus: 1000 | ||
46 | + refResources: | ||
47 | + - id: $refResources_id | ||
48 | + rType: $rType | ||
49 | + serialNo: $serialNo | ||
50 | + title: $title | ||
51 | + isReward: True | ||
52 | + method: POST | ||
53 | + url: /v1/task/taskPublish | ||
54 | +validate: | ||
55 | + - eq: | ||
56 | + - content.code | ||
57 | + - 0 | ||
58 | + - eq: | ||
59 | + - content.msg | ||
60 | + - 发布成功 | ||
61 | +# - $msg |
api/m_api/jb_fb_task/taskPublish_1_1_api.yml
0 → 100644
1 | +name: 发布任务 | ||
2 | +base_url: ${ENV(base_url)} | ||
3 | +verify: False | ||
4 | +variables: | ||
5 | + currtime: ${make_time()} | ||
6 | + uuid: ${make_uuid()} | ||
7 | + access_token: ${get_accesstoken()} | ||
8 | + sign: ${make_sign($currtime, $uuid, $access_token)} | ||
9 | + title1: API测试竞标任务名称:${get_nowtime()} | ||
10 | + content: API测试竞标任务内容:${get_nowtime()} | ||
11 | + acceptability: API测试验收标准:${get_nowtime()} | ||
12 | + nature_id: 2 | ||
13 | + csVals_id13: 13 | ||
14 | + csVals_id3: 3 | ||
15 | +request: | ||
16 | + headers: | ||
17 | + Content-Type: application/json;charset=utf-8 | ||
18 | + User-Agent: okhttp/3.12.3 | ||
19 | + X-MMM-AccessToken: $access_token | ||
20 | + X-MMM-AppName: com.mmm.ability | ||
21 | + X-MMM-AppProject: ability | ||
22 | + X-MMM-DeviceType: '0' | ||
23 | + X-MMM-Sign: $sign | ||
24 | + X-MMM-Timestamp: $currtime | ||
25 | + X-MMM-Uuid: $uuid | ||
26 | + X-MMM-Version: 1.0.0 | ||
27 | + json: | ||
28 | + id: $id | ||
29 | + action: 1 | ||
30 | + type: 1 | ||
31 | + title: $title1 | ||
32 | + content: $content | ||
33 | + acceptability: $acceptability | ||
34 | + images: | ||
35 | + nature: | ||
36 | + id: $nature_id | ||
37 | + name: 线 | ||
38 | + csVals: | ||
39 | + - id: $csVals_id3 | ||
40 | + name: 色泽 | ||
41 | + - id: $csVals_id13 | ||
42 | + name: 账期 | ||
43 | + bidStartTime: 0 | ||
44 | + bidEndTime: 0 | ||
45 | + bonus: 1000 | ||
46 | + refResources: | ||
47 | + - id: $refResources_id | ||
48 | + rType: $rType | ||
49 | + serialNo: $serialNo | ||
50 | + title: $title | ||
51 | + isReward: False | ||
52 | + method: POST | ||
53 | + url: /v1/task/taskPublish | ||
54 | +validate: | ||
55 | + - eq: | ||
56 | + - content.code | ||
57 | + - 0 | ||
58 | + - eq: | ||
59 | + - content.msg | ||
60 | + - 发布成功 | ||
61 | +# - $msg |
1 | +name: 搜索引用资源 | ||
2 | +base_url: ${ENV(base_url)} | ||
3 | +verify: False | ||
4 | +variables: | ||
5 | + currtime: ${make_time()} | ||
6 | + uuid: ${make_uuid()} | ||
7 | + access_token: ${get_accesstoken()} | ||
8 | + sign: ${make_sign($currtime, $uuid, $access_token)} | ||
9 | +request: | ||
10 | + headers: | ||
11 | + Content-Type: application/json;charset=utf-8 | ||
12 | + User-Agent: okhttp/3.12.3 | ||
13 | + X-MMM-AccessToken: $access_token | ||
14 | + X-MMM-AppName: com.mmm.ability | ||
15 | + X-MMM-AppProject: ability | ||
16 | + X-MMM-DeviceType: '0' | ||
17 | + X-MMM-Sign: $sign | ||
18 | + X-MMM-Timestamp: $currtime | ||
19 | + X-MMM-Uuid: $uuid | ||
20 | + X-MMM-Version: 1.0.0 | ||
21 | + json: | ||
22 | + keyword: ${get_serialNo()} | ||
23 | + method: POST | ||
24 | + url: /v1/task/searchResources | ||
25 | +validate: | ||
26 | + - eq: | ||
27 | + - content.code | ||
28 | + - 0 | ||
29 | + - eq: | ||
30 | + - content.msg | ||
31 | + - 获取成功 |
1 | +name: 编辑任务:/v1/task/taskPublish | ||
2 | +base_url: ${ENV(base_url)} | ||
3 | +verify: False | ||
4 | +variables: | ||
5 | + currtime: ${make_time()} | ||
6 | + uuid: ${make_uuid()} | ||
7 | + access_token: ${get_accesstoken()} | ||
8 | + sign: ${make_sign($currtime, $uuid, $access_token)} | ||
9 | + title: API测试任务名称${get_nowtime()} | ||
10 | + content: API测试任务描述${get_nowtime()} | ||
11 | + acceptability: API测试验收标准${get_nowtime()} | ||
12 | + nature_id: 2 | ||
13 | + csVals_id13: 13 | ||
14 | + csVals_id3: 3 | ||
15 | + bidStartTime: ${get_bidStartTime()} | ||
16 | + bidEndTime: ${get_bidEndTime()} | ||
17 | + | ||
18 | + msg: '保存成功' | ||
19 | +request: | ||
20 | + headers: | ||
21 | + Content-Type: application/json;charset=utf-8 | ||
22 | + User-Agent: okhttp/3.12.3 | ||
23 | + X-MMM-AccessToken: $access_token | ||
24 | + X-MMM-AppName: com.mmm.ability | ||
25 | + X-MMM-AppProject: ability | ||
26 | + X-MMM-DeviceType: '0' | ||
27 | + X-MMM-Sign: $sign | ||
28 | + X-MMM-Timestamp: $currtime | ||
29 | + X-MMM-Uuid: $uuid | ||
30 | + X-MMM-Version: 1.0.0 | ||
31 | + json: | ||
32 | + id: $id | ||
33 | + action: 0 | ||
34 | + type: 1 | ||
35 | + title: $title | ||
36 | + content: $content | ||
37 | + acceptability: $acceptability | ||
38 | + images: | ||
39 | + nature: | ||
40 | + id: $nature_id | ||
41 | + name: 线 | ||
42 | + csVals: | ||
43 | + - id: $csVals_id3 | ||
44 | + name: 色泽 | ||
45 | + - id: $csVals_id13 | ||
46 | + name: 账期 | ||
47 | + bidStartTime: $bidStartTime | ||
48 | + bidEndTime: $bidEndTime | ||
49 | + bonus: 1000 | ||
50 | + isReward: False | ||
51 | + method: POST | ||
52 | + url: /v1/task/taskPublish | ||
53 | +validate: | ||
54 | + - eq: | ||
55 | + - content.code | ||
56 | + - 0 | ||
57 | + - eq: | ||
58 | + - content.msg | ||
59 | + - 更新成功 | ||
60 | +# - $msg |
@@ -2,7 +2,7 @@ name: 企业平台账号登录 | @@ -2,7 +2,7 @@ name: 企业平台账号登录 | ||
2 | base_url: ${ENV(base_business_url)} | 2 | base_url: ${ENV(base_business_url)} |
3 | verify: False | 3 | verify: False |
4 | variables: | 4 | variables: |
5 | - username: ${ENV(adminphone)} | 5 | + username: ${ENV(wpftwphone)} |
6 | password: 7c4a8d09ca3762af61e59520943dc26494f8941b | 6 | password: 7c4a8d09ca3762af61e59520943dc26494f8941b |
7 | teardown_hooks: | 7 | teardown_hooks: |
8 | - ${teardown_hook_get_Authorization($response)} | 8 | - ${teardown_hook_get_Authorization($response)} |
api/m_api/loot/loot_task_reject_api.yml
0 → 100644
1 | +name: 驳回领取人 | ||
2 | +base_url: ${ENV(base_worth_url)} | ||
3 | +verify: False | ||
4 | +variables: | ||
5 | + reason: 驳回理由${get_nowtime()} | ||
6 | + msg: ok | ||
7 | +request: | ||
8 | + headers: | ||
9 | + Content-Type: application/json; charset=UTF-8 | ||
10 | + Authorization: Bearer ${get_task_Authorization()} | ||
11 | + Origin: https://value-test.fjmaimaimai.com | ||
12 | + Referer: https://value-test.fjmaimaimai.com/ | ||
13 | + User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36 | ||
14 | + X-Requested-With: XMLHttpRequest | ||
15 | + json: | ||
16 | + id: $id | ||
17 | + reason: $reason | ||
18 | + type: 1 | ||
19 | + method: POST | ||
20 | + url: task/reject | ||
21 | +validate: | ||
22 | + - eq: | ||
23 | + - content.code | ||
24 | + - 0 | ||
25 | + - eq: | ||
26 | + - content.msg | ||
27 | + - $msg |
api/m_api/loot/loot_update_0_api.yml
0 → 100644
1 | +name: 保存任务 | ||
2 | +base_url: ${ENV(base_worth_url)} | ||
3 | +verify: False | ||
4 | +variables: | ||
5 | + name: 测试抢单任务名称${get_nowtime()} | ||
6 | + acceptanceCriteria: 测试抢单任务的验收标准${get_nowtime()} | ||
7 | + description: 测试抢单任务的任务描述${get_nowtime()} | ||
8 | + msg: ok | ||
9 | +request: | ||
10 | + headers: | ||
11 | + Content-Type: application/json; charset=UTF-8 | ||
12 | + Authorization: Bearer ${get_task_Authorization()} | ||
13 | + Origin: https://value-test.fjmaimaimai.com | ||
14 | + Referer: https://value-test.fjmaimaimai.com/ | ||
15 | + User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36 | ||
16 | + X-Requested-With: XMLHttpRequest | ||
17 | + json: | ||
18 | + name: $name | ||
19 | +# resourceType: | ||
20 | +# resourceList: | ||
21 | + customerValue: | ||
22 | + - 31 | ||
23 | + taskCharacter: 12 | ||
24 | + reward: 2000 | ||
25 | + acceptanceCriteria: $acceptanceCriteria | ||
26 | + description: $description | ||
27 | + isImportant: true | ||
28 | + taskBelong: 13 | ||
29 | +# pictures: | ||
30 | + method: POST | ||
31 | + url: task/loot/update | ||
32 | +validate: | ||
33 | + - eq: | ||
34 | + - content.code | ||
35 | + - 0 | ||
36 | + - eq: | ||
37 | + - content.msg | ||
38 | + - $msg |
api/m_api/loot/submitCompete_loot_api.yml
0 → 100644
1 | +name: 抢单 | ||
2 | +base_url: ${ENV(base_url)} | ||
3 | +verify: False | ||
4 | +variables: | ||
5 | + currtime: ${make_time()} | ||
6 | + uuid: ${make_uuid()} | ||
7 | + access_token: ${get_task_accesstoken()} | ||
8 | + sign: ${make_sign($currtime, $uuid, $access_token)} | ||
9 | +request: | ||
10 | + headers: | ||
11 | + Content-Type: application/json;charset=utf-8 | ||
12 | + User-Agent: okhttp/3.12.3 | ||
13 | + X-MMM-AccessToken: $access_token | ||
14 | + X-MMM-AppName: com.mmm.ability | ||
15 | + X-MMM-AppProject: ability | ||
16 | + X-MMM-DeviceType: '0' | ||
17 | + X-MMM-Sign: $sign | ||
18 | + X-MMM-Timestamp: $currtime | ||
19 | + X-MMM-Uuid: $uuid | ||
20 | + X-MMM-Version: 1.0.0 | ||
21 | + json: | ||
22 | + id: $id | ||
23 | + action: 0 | ||
24 | + method: POST | ||
25 | + url: v1/task/submitCompete | ||
26 | +validate: | ||
27 | + - eq: | ||
28 | + - content.code | ||
29 | + - 0 | ||
30 | + - eq: | ||
31 | + - content.msg | ||
32 | + - 抢单成功! |
api/m_api/loot/tasksearchResources_api.yml
0 → 100644
1 | +name: 搜索引用资源 | ||
2 | +base_url: ${ENV(base_url)} | ||
3 | +verify: False | ||
4 | +variables: | ||
5 | + currtime: ${make_time()} | ||
6 | + uuid: ${make_uuid()} | ||
7 | + access_token: ${get_accesstoken()} | ||
8 | + sign: ${make_sign($currtime, $uuid, $access_token)} | ||
9 | +request: | ||
10 | + headers: | ||
11 | + Content-Type: application/json;charset=utf-8 | ||
12 | + User-Agent: okhttp/3.12.3 | ||
13 | + X-MMM-AccessToken: $access_token | ||
14 | + X-MMM-AppName: com.mmm.ability | ||
15 | + X-MMM-AppProject: ability | ||
16 | + X-MMM-DeviceType: '0' | ||
17 | + X-MMM-Sign: $sign | ||
18 | + X-MMM-Timestamp: $currtime | ||
19 | + X-MMM-Uuid: $uuid | ||
20 | + X-MMM-Version: 1.0.0 | ||
21 | + json: | ||
22 | + keyword: ${get_serialNo()} | ||
23 | + method: POST | ||
24 | + url: /v1/task/searchResources | ||
25 | +validate: | ||
26 | + - eq: | ||
27 | + - content.code | ||
28 | + - 0 | ||
29 | + - eq: | ||
30 | + - content.msg | ||
31 | + - 获取成功 |
@@ -3,7 +3,7 @@ base_url: ${ENV(base_worth_url)} | @@ -3,7 +3,7 @@ base_url: ${ENV(base_worth_url)} | ||
3 | verify: False | 3 | verify: False |
4 | variables: | 4 | variables: |
5 | searchText: ${get_employees_name_from_database()} | 5 | searchText: ${get_employees_name_from_database()} |
6 | - id: ${convert_to_string(get_uid_from_database())} | 6 | + id: ${get_uid_from_database()} |
7 | request: | 7 | request: |
8 | headers: | 8 | headers: |
9 | Content-Type: application/json; charset=UTF-8 | 9 | Content-Type: application/json; charset=UTF-8 |
@@ -27,4 +27,4 @@ validate: | @@ -27,4 +27,4 @@ validate: | ||
27 | - ok | 27 | - ok |
28 | - eq: | 28 | - eq: |
29 | - content.data.gridResult.lists.0.id | 29 | - content.data.gridResult.lists.0.id |
30 | - - $id | ||
30 | + - ${convert_to_string($id)} |
1 | +name: 成员管理设置权限 | ||
2 | +base_url: ${ENV(base_worth_url)} | ||
3 | +verify: False | ||
4 | +variables: | ||
5 | + id: ${get_uid_from_database()} | ||
6 | +request: | ||
7 | + headers: | ||
8 | + Content-Type: application/json; charset=UTF-8 | ||
9 | + Authorization: Bearer ${get_task_Authorization()} | ||
10 | + Origin: https://value-test.fjmaimaimai.com | ||
11 | + Referer: https://value-test.fjmaimaimai.com/ | ||
12 | + User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36 | ||
13 | + X-Requested-With: XMLHttpRequest | ||
14 | + json: | ||
15 | + id: $id | ||
16 | + permissionType: | ||
17 | + - 1 | ||
18 | + - 2 | ||
19 | + - 3 | ||
20 | + - 4 | ||
21 | + method: POST | ||
22 | + url: member/set-permission | ||
23 | +validate: | ||
24 | + - eq: | ||
25 | + - content.code | ||
26 | + - 0 | ||
27 | + - eq: | ||
28 | + - content.msg | ||
29 | + - ok | ||
30 | + - eq: | ||
31 | + - content.data.employeeInfo.uid | ||
32 | + - $id |
api/m_api/rewards/currentTasks_0_api.yml
0 → 100644
1 | +name: 公司任务(进行中、已完成) | ||
2 | +base_url: ${ENV(base_url)} | ||
3 | +verify: False | ||
4 | +variables: | ||
5 | + currtime: ${make_time()} | ||
6 | + uuid: ${make_uuid()} | ||
7 | + access_token: ${get_accesstoken()} | ||
8 | + sign: ${make_sign($currtime, $uuid, $access_token)} | ||
9 | +request: | ||
10 | + headers: | ||
11 | + Content-Type: application/json;charset=utf-8 | ||
12 | + User-Agent: okhttp/3.12.3 | ||
13 | + X-MMM-AccessToken: $access_token | ||
14 | + X-MMM-AppName: com.mmm.ability | ||
15 | + X-MMM-AppProject: ability | ||
16 | + X-MMM-DeviceType: '0' | ||
17 | + X-MMM-Sign: $sign | ||
18 | + X-MMM-Timestamp: $currtime | ||
19 | + X-MMM-Uuid: $uuid | ||
20 | + X-MMM-Version: 1.0.0 | ||
21 | + json: | ||
22 | + pageIndex: 0 | ||
23 | + pageSize: 20 | ||
24 | + newest: 1 | ||
25 | + action: 0 | ||
26 | + method: POST | ||
27 | + url: /v1/task/currentTasks | ||
28 | +validate: | ||
29 | + - eq: | ||
30 | + - content.code | ||
31 | + - 0 | ||
32 | + - eq: | ||
33 | + - content.msg | ||
34 | + - 获取成功 |
api/m_api/rewards/currentTasks_1_api.yml
0 → 100644
1 | +name: 公司任务(已完成) | ||
2 | +base_url: ${ENV(base_url)} | ||
3 | +verify: False | ||
4 | +variables: | ||
5 | + currtime: ${make_time()} | ||
6 | + uuid: ${make_uuid()} | ||
7 | + access_token: ${get_accesstoken()} | ||
8 | + sign: ${make_sign($currtime, $uuid, $access_token)} | ||
9 | +request: | ||
10 | + headers: | ||
11 | + Content-Type: application/json;charset=utf-8 | ||
12 | + User-Agent: okhttp/3.12.3 | ||
13 | + X-MMM-AccessToken: $access_token | ||
14 | + X-MMM-AppName: com.mmm.ability | ||
15 | + X-MMM-AppProject: ability | ||
16 | + X-MMM-DeviceType: '0' | ||
17 | + X-MMM-Sign: $sign | ||
18 | + X-MMM-Timestamp: $currtime | ||
19 | + X-MMM-Uuid: $uuid | ||
20 | + X-MMM-Version: 1.0.0 | ||
21 | + json: | ||
22 | + pageIndex: 0 | ||
23 | + pageSize: 20 | ||
24 | + newest: 1 | ||
25 | + action: 1 | ||
26 | + method: POST | ||
27 | + url: /v1/task/currentTasks | ||
28 | +validate: | ||
29 | + - eq: | ||
30 | + - content.code | ||
31 | + - 0 | ||
32 | + - eq: | ||
33 | + - content.msg | ||
34 | + - 获取成功 |
api/m_api/rewards/rewards_api.yml
0 → 100644
1 | +name: 公司悬赏任务 | ||
2 | +base_url: ${ENV(base_url)} | ||
3 | +verify: False | ||
4 | +variables: | ||
5 | + currtime: ${make_time()} | ||
6 | + uuid: ${make_uuid()} | ||
7 | + access_token: ${get_accesstoken()} | ||
8 | + sign: ${make_sign($currtime, $uuid, $access_token)} | ||
9 | +request: | ||
10 | + headers: | ||
11 | + Content-Type: application/json;charset=utf-8 | ||
12 | + User-Agent: okhttp/3.12.3 | ||
13 | + X-MMM-AccessToken: $access_token | ||
14 | + X-MMM-AppName: com.mmm.ability | ||
15 | + X-MMM-AppProject: ability | ||
16 | + X-MMM-DeviceType: '0' | ||
17 | + X-MMM-Sign: $sign | ||
18 | + X-MMM-Timestamp: $currtime | ||
19 | + X-MMM-Uuid: $uuid | ||
20 | + X-MMM-Version: 1.0.0 | ||
21 | + json: | ||
22 | + pageIndex: 0 | ||
23 | + pageSize: 20 | ||
24 | + method: POST | ||
25 | + url: /v1/task/rewards | ||
26 | +validate: | ||
27 | + - eq: | ||
28 | + - content.code | ||
29 | + - 0 | ||
30 | + - eq: | ||
31 | + - content.msg | ||
32 | + - 获取成功 |
api/m_api/rewards/submitCompete_1_api.yml
0 → 100644
1 | +name: 竞标 | ||
2 | +base_url: ${ENV(base_url)} | ||
3 | +verify: False | ||
4 | +variables: | ||
5 | + currtime: ${make_time()} | ||
6 | + uuid: ${make_uuid()} | ||
7 | + access_token: ${get_accesstoken()} | ||
8 | + sign: ${make_sign($currtime, $uuid, $access_token)} | ||
9 | +request: | ||
10 | + headers: | ||
11 | + Content-Type: application/json;charset=utf-8 | ||
12 | + User-Agent: okhttp/3.12.3 | ||
13 | + X-MMM-AccessToken: $access_token | ||
14 | + X-MMM-AppName: com.mmm.ability | ||
15 | + X-MMM-AppProject: ability | ||
16 | + X-MMM-DeviceType: '0' | ||
17 | + X-MMM-Sign: $sign | ||
18 | + X-MMM-Timestamp: $currtime | ||
19 | + X-MMM-Uuid: $uuid | ||
20 | + X-MMM-Version: 1.0.0 | ||
21 | + json: | ||
22 | + id: $id | ||
23 | + action: 1 | ||
24 | + method: POST | ||
25 | + url: /v1/task/submitCompete | ||
26 | +validate: | ||
27 | + - eq: | ||
28 | + - content.code | ||
29 | + - 0 | ||
30 | + - eq: | ||
31 | + - content.msg | ||
32 | + - 获取成功 |
api/m_api/taskStatistics.yml
0 → 100644
1 | +name: 获取任务数量统计 | ||
2 | +base_url: ${ENV(base_url)} | ||
3 | +verify: False | ||
4 | +variables: | ||
5 | + currtime: ${make_time()} | ||
6 | + uuid: ${make_uuid()} | ||
7 | + access_token: ${get_accesstoken()} | ||
8 | + sign: ${make_sign($currtime, $uuid, $access_token)} | ||
9 | +request: | ||
10 | + headers: | ||
11 | + Content-Type: application/json;charset=utf-8 | ||
12 | + User-Agent: okhttp/3.12.3 | ||
13 | + X-MMM-AccessToken: $access_token | ||
14 | + X-MMM-AppName: com.mmm.ability | ||
15 | + X-MMM-AppProject: ability | ||
16 | + X-MMM-DeviceType: '0' | ||
17 | + X-MMM-Sign: $sign | ||
18 | + X-MMM-Timestamp: $currtime | ||
19 | + X-MMM-Uuid: $uuid | ||
20 | + X-MMM-Version: 1.0.0 | ||
21 | + json: | ||
22 | + method: POST | ||
23 | + url: /v1/task/taskStatistics | ||
24 | +validate: | ||
25 | + - eq: | ||
26 | + - content.code | ||
27 | + - 0 | ||
28 | + - eq: | ||
29 | + - content.msg | ||
30 | + - 获取成功 | ||
31 | +# - $msg |
api/m_api/task_Details_api.yml
0 → 100644
1 | +name: 任务详情 | ||
2 | +base_url: ${ENV(base_url)} | ||
3 | +verify: False | ||
4 | +variables: | ||
5 | + currtime: ${make_time()} | ||
6 | + uuid: ${make_uuid()} | ||
7 | + access_token: ${get_accesstoken()} | ||
8 | + sign: ${make_sign($currtime, $uuid, $access_token)} | ||
9 | +request: | ||
10 | + headers: | ||
11 | + Content-Type: application/json;charset=utf-8 | ||
12 | + User-Agent: okhttp/3.12.3 | ||
13 | + X-MMM-AccessToken: $access_token | ||
14 | + X-MMM-AppName: com.mmm.ability | ||
15 | + X-MMM-AppProject: ability | ||
16 | + X-MMM-DeviceType: '0' | ||
17 | + X-MMM-Sign: $sign | ||
18 | + X-MMM-Timestamp: $currtime | ||
19 | + X-MMM-Uuid: $uuid | ||
20 | + X-MMM-Version: 1.0.0 | ||
21 | + json: | ||
22 | + id: $id | ||
23 | + method: POST | ||
24 | + url: v1/task/taskDetails | ||
25 | +validate: | ||
26 | + - eq: | ||
27 | + - content.code | ||
28 | + - 0 | ||
29 | + - eq: | ||
30 | + - content.msg | ||
31 | + - 获取详情成功 | ||
32 | +# - $msg |
api/m_api/task_delete_api.yml
0 → 100644
1 | +name: 删除任务 | ||
2 | +base_url: ${ENV(base_worth_url)} | ||
3 | +verify: False | ||
4 | +variables: | ||
5 | + msg: ok | ||
6 | +request: | ||
7 | + headers: | ||
8 | + Content-Type: application/json; charset=UTF-8 | ||
9 | + Authorization: Bearer ${get_task_Authorization()} | ||
10 | + Origin: https://value-test.fjmaimaimai.com | ||
11 | + Referer: https://value-test.fjmaimaimai.com/ | ||
12 | + User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36 | ||
13 | + X-Requested-With: XMLHttpRequest | ||
14 | + json: | ||
15 | + id: $id | ||
16 | + | ||
17 | + method: POST | ||
18 | + url: task/delete | ||
19 | +validate: | ||
20 | + - eq: | ||
21 | + - content.code | ||
22 | + - 0 | ||
23 | + - eq: | ||
24 | + - content.msg | ||
25 | + - $msg |
api/m_api/task_open_api.yml
0 → 100644
1 | +name: 发布任务 | ||
2 | +base_url: ${ENV(base_worth_url)} | ||
3 | +verify: False | ||
4 | +variables: | ||
5 | + msg: ok | ||
6 | +request: | ||
7 | + headers: | ||
8 | + Content-Type: application/json; charset=UTF-8 | ||
9 | + Authorization: Bearer ${get_task_Authorization()} | ||
10 | + Origin: https://value-test.fjmaimaimai.com | ||
11 | + Referer: https://value-test.fjmaimaimai.com/ | ||
12 | + User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36 | ||
13 | + X-Requested-With: XMLHttpRequest | ||
14 | + json: | ||
15 | + id: $id | ||
16 | + method: POST | ||
17 | + url: task/open | ||
18 | +validate: | ||
19 | + - eq: | ||
20 | + - content.code | ||
21 | + - 0 | ||
22 | + - eq: | ||
23 | + - content.msg | ||
24 | + - $msg |
api/m_api/task_rewards_api.yml
0 → 100644
1 | +name: 公司悬赏任务 | ||
2 | +base_url: ${ENV(base_url)} | ||
3 | +verify: False | ||
4 | +variables: | ||
5 | + currtime: ${make_time()} | ||
6 | + uuid: ${make_uuid()} | ||
7 | + access_token: ${get_task_accesstoken()} | ||
8 | + sign: ${make_sign($currtime, $uuid, $access_token)} | ||
9 | +request: | ||
10 | + headers: | ||
11 | + Content-Type: application/json;charset=utf-8 | ||
12 | + User-Agent: okhttp/3.12.3 | ||
13 | + X-MMM-AccessToken: $access_token | ||
14 | + X-MMM-AppName: com.mmm.ability | ||
15 | + X-MMM-AppProject: ability | ||
16 | + X-MMM-DeviceType: '0' | ||
17 | + X-MMM-Sign: $sign | ||
18 | + X-MMM-Timestamp: $currtime | ||
19 | + X-MMM-Uuid: $uuid | ||
20 | + X-MMM-Version: 1.0.0 | ||
21 | + json: | ||
22 | + pageIndex: 0 | ||
23 | + pageSize: 20 | ||
24 | + method: POST | ||
25 | + url: v1/task/rewards | ||
26 | +validate: | ||
27 | + - eq: | ||
28 | + - content.code | ||
29 | + - 0 | ||
30 | + - eq: | ||
31 | + - content.msg | ||
32 | + - 获取成功 | ||
33 | +# - $msg |
api/m_api/taskcheckAccept_api.yml
0 → 100644
1 | +name: 我要验收 | ||
2 | +base_url: ${ENV(base_url)} | ||
3 | +verify: False | ||
4 | +variables: | ||
5 | + currtime: ${make_time()} | ||
6 | + uuid: ${make_uuid()} | ||
7 | + access_token: ${get_accesstoken()} | ||
8 | + sign: ${make_sign($currtime, $uuid, $access_token)} | ||
9 | + solveReport: API上传解决报告${get_nowtime()} | ||
10 | +request: | ||
11 | + headers: | ||
12 | + Content-Type: application/json;charset=utf-8 | ||
13 | + User-Agent: okhttp/3.12.3 | ||
14 | + X-MMM-AccessToken: $access_token | ||
15 | + X-MMM-AppName: com.mmm.ability | ||
16 | + X-MMM-AppProject: ability | ||
17 | + X-MMM-DeviceType: '0' | ||
18 | + X-MMM-Sign: $sign | ||
19 | + X-MMM-Timestamp: $currtime | ||
20 | + X-MMM-Uuid: $uuid | ||
21 | + X-MMM-Version: 1.0.0 | ||
22 | + json: | ||
23 | + id: $id | ||
24 | + resourceAwards: | ||
25 | + - id: $refResources_id | ||
26 | + providers: | ||
27 | + - percent: 25 | ||
28 | + score: 11.25 | ||
29 | + uid: $uid11 | ||
30 | + uname: $uname11 | ||
31 | + - percent: 25 | ||
32 | + score: 11.25 | ||
33 | + uid: $uid0 | ||
34 | + uname: $uname0 | ||
35 | + - percent: 25 | ||
36 | + score: 11.25 | ||
37 | + uid: $uid1 | ||
38 | + uname: $uname1 | ||
39 | + - percent: 25 | ||
40 | + score: 11.25 | ||
41 | + uid: $uid8 | ||
42 | + uname: $uname8 | ||
43 | + rType: $rType | ||
44 | + serialNo: $serialNo | ||
45 | + title: $title | ||
46 | +# solveImages: | ||
47 | +## - h: 1334 | ||
48 | +## isLocal: false | ||
49 | +## lastOneCount: 0 | ||
50 | +## path: http://ability-test.fjmaimaimai.com:8899/html/ab/1588952391025416660.jpg | ||
51 | +## w: 750 | ||
52 | + solveReport: $solveReport | ||
53 | + taskAwards: | ||
54 | + - bonus: 250 | ||
55 | + percent: 25 | ||
56 | + uid: $uid11 | ||
57 | + uname: $uname11 | ||
58 | + - bonus: 250 | ||
59 | + percent: 25 | ||
60 | + uid: $uid0 | ||
61 | + uname: $uname0 | ||
62 | + - bonus: 250 | ||
63 | + percent: 25 | ||
64 | + uid: $uid1 | ||
65 | + uname: $uname1 | ||
66 | + - bonus: 250 | ||
67 | + percent: 25 | ||
68 | + uid: $uid8 | ||
69 | + uname: $uname8 | ||
70 | + method: POST | ||
71 | + url: /v1/task/checkAccept | ||
72 | +validate: | ||
73 | + - eq: | ||
74 | + - content.code | ||
75 | + - 0 | ||
76 | + - eq: | ||
77 | + - content.msg | ||
78 | + - 验收成功 |
api/m_api/taskcloseTask_api.yml
0 → 100644
1 | +name: 任务关闭 | ||
2 | +base_url: ${ENV(base_url)} | ||
3 | +verify: False | ||
4 | +variables: | ||
5 | + currtime: ${make_time()} | ||
6 | + uuid: ${make_uuid()} | ||
7 | + access_token: ${get_accesstoken()} | ||
8 | + sign: ${make_sign($currtime, $uuid, $access_token)} | ||
9 | + reason: API测试关闭任务理由:${get_nowtime()} | ||
10 | +request: | ||
11 | + headers: | ||
12 | + Content-Type: application/json;charset=utf-8 | ||
13 | + User-Agent: okhttp/3.12.3 | ||
14 | + X-MMM-AccessToken: $access_token | ||
15 | + X-MMM-AppName: com.mmm.ability | ||
16 | + X-MMM-AppProject: ability | ||
17 | + X-MMM-DeviceType: '0' | ||
18 | + X-MMM-Sign: $sign | ||
19 | + X-MMM-Timestamp: $currtime | ||
20 | + X-MMM-Uuid: $uuid | ||
21 | + X-MMM-Version: 1.0.0 | ||
22 | + json: | ||
23 | + id: $id | ||
24 | + reason: $reason | ||
25 | + method: POST | ||
26 | + url: /v1/task/closeTask | ||
27 | +validate: | ||
28 | + - eq: | ||
29 | + - content.code | ||
30 | + - 0 | ||
31 | + - eq: | ||
32 | + - content.msg | ||
33 | + - 关闭成功 | ||
34 | +# - $msg |
api/m_api/taskfinishTask_api.yml
0 → 100644
1 | +name: 完成任务 | ||
2 | +base_url: ${ENV(base_url)} | ||
3 | +verify: False | ||
4 | +variables: | ||
5 | + currtime: ${make_time()} | ||
6 | + uuid: ${make_uuid()} | ||
7 | + access_token: ${get_accesstoken()} | ||
8 | + sign: ${make_sign($currtime, $uuid, $access_token)} | ||
9 | +request: | ||
10 | + headers: | ||
11 | + Content-Type: application/json;charset=utf-8 | ||
12 | + User-Agent: okhttp/3.12.3 | ||
13 | + X-MMM-AccessToken: $access_token | ||
14 | + X-MMM-AppName: com.mmm.ability | ||
15 | + X-MMM-AppProject: ability | ||
16 | + X-MMM-DeviceType: '0' | ||
17 | + X-MMM-Sign: $sign | ||
18 | + X-MMM-Timestamp: $currtime | ||
19 | + X-MMM-Uuid: $uuid | ||
20 | + X-MMM-Version: 1.0.0 | ||
21 | + json: | ||
22 | + id: $id | ||
23 | + method: POST | ||
24 | + url: /v1/task/finishTask | ||
25 | +validate: | ||
26 | + - eq: | ||
27 | + - content.code | ||
28 | + - 0 | ||
29 | + - eq: | ||
30 | + - content.msg | ||
31 | + - 完成成功 |
1 | -eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9zdXBsdXMtYnVzaW5lc3MtYWRtaW4tZ2F0ZXdheS10ZXN0LmZqbWFpbWFpbWFpLmNvbVwvYXV0aFwvcHdkTG9naW4iLCJpYXQiOjE1OTc2NTc0NjMsImV4cCI6MTU5NzY2ODI2MywibmJmIjoxNTk3NjU3NDYzLCJqdGkiOiJHV2hwZEg4ZjhPODBQdXdPIiwic3ViIjozMjQ3MzY2MDExOTEzMjE2LCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIiwiY29tcGFueUlkIjozNjYsIm5pY2tuYW1lIjoiXHU1MzVlXHU0ZmUxXHU1MzRlIiwicGhvbmUiOiIxOTk5MDAwMDAwMCIsImlkIjozMjQ3MzY2MDExOTEzMjE2LCJhZG1pblR5cGUiOjJ9.hWL1mZ3akJJPja16wvXHBV9H-_LvUW5kIqj2UHm7s9o | ||
1 | +eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9zdXBsdXMtYnVzaW5lc3MtYWRtaW4tZ2F0ZXdheS10ZXN0LmZqbWFpbWFpbWFpLmNvbVwvYXV0aFwvcHdkTG9naW4iLCJpYXQiOjE1OTc3NDA3MjgsImV4cCI6MTU5Nzc1MTUyOCwibmJmIjoxNTk3NzQwNzI4LCJqdGkiOiIySkNFTTc1M1gwS1hGekJ4Iiwic3ViIjozMjQ4ODE3NjEzNjgxNjY0LCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIiwiY29tcGFueUlkIjozNjYsIm5pY2tuYW1lIjoiXHU4Yzc5XHU1YjUwXHU1OTM0IiwicGhvbmUiOiIxOTk5MDAwMDAwOCIsImlkIjozMjQ4ODE3NjEzNjgxNjY0LCJhZG1pblR5cGUiOjF9.FfEeCCGaPcWzBbGvXuP3IlhmzMtnNFbhCmyUIOZDFzw |
config/accessToken.csv
0 → 100644
1 | +cXHQREXFBPJb8GcTnkCTS4HpJ8FtF63n |
1 | -eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9zdXBsdXMtYnVzaW5lc3MtYWRtaW4tZ2F0ZXdheS10ZXN0LmZqbWFpbWFpbWFpLmNvbVwvYXV0aFwvYW5vbnltb3VzTG9naW4iLCJpYXQiOjE1OTc2NTc0NjMsImV4cCI6MTU5NzY2ODI2MywibmJmIjoxNTk3NjU3NDYzLCJqdGkiOiJYTVFhTEtJUGR4WGFLS2EwIiwic3ViIjozMjQ3MzY2MDExOTEzMjE2LCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIiwiY29tcGFueUlkIjozNjYsIm5pY2tuYW1lIjoiXHU1MzVlXHU0ZmUxXHU1MzRlIiwicGhvbmUiOiIxOTk5MDAwMDAwMCIsImlkIjozMjQ3MzY2MDExOTEzMjE2LCJhZG1pblR5cGUiOjJ9.JbBOob1vUp1a_ICQMi0yyHJYoziVOtZOAYkh1HyWIzU | ||
1 | +eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9zdXBsdXMtYnVzaW5lc3MtYWRtaW4tZ2F0ZXdheS10ZXN0LmZqbWFpbWFpbWFpLmNvbVwvYXV0aFwvYW5vbnltb3VzTG9naW4iLCJpYXQiOjE1OTc3NDA3MjgsImV4cCI6MTU5Nzc1MTUyOCwibmJmIjoxNTk3NzQwNzI4LCJqdGkiOiJPOUlnTVVpTDB2WTgzUTcwIiwic3ViIjozMjQ4ODE3NjEzNjgxNjY0LCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIiwiY29tcGFueUlkIjozNjYsIm5pY2tuYW1lIjoiXHU4Yzc5XHU1YjUwXHU1OTM0IiwicGhvbmUiOiIxOTk5MDAwMDAwOCIsImlkIjozMjQ4ODE3NjEzNjgxNjY0LCJhZG1pblR5cGUiOjF9.DOSdAdphiklHcn8DyI1coaV__PrURFuP-LjM9wnpBtc |
config/authCode.csv
0 → 100644
1 | +e7cho2n4xog |
config/cid.csv
0 → 100644
1 | +366 |
config/credentials.csv
0 → 100644
1 | +6c2de35b691097827da9fdaadc060d696fea998ae89d47b415cb59304e9a8f1d6667af13 |
config/cuid.csv
0 → 100644
1 | +3667592490893312 |
1 | -v9dhPEeS5BYPPRncq50puG11GgU5GNTu2qYh9XGYTyIy31FoeoK+lFfR+85yDxNp7jwpgRwMhxGkktz1XU5CV8tyoUERkn5vHvOXCYqcGkV0PSNf9nA76gK7TLSOLxrVAWGz/IU5vBYpxff56ElbxNPIFZb/xWJi4fUjFBUAvJ4= | ||
1 | +2ZDJEvx/fovUMQPB9NZHPmJmGNl9JwdMdM6AkhdueNW9sAHX96uY3nefCSuUI6+B7CI569mHJLFQuV9uLc3KRW2oCO60eSm5NT229w31JLo9dmTiERHRTqFStYLOlJ2WGvPIFpfJYph0U4RdeETsobcipEidZFO/lOSgeJlTV4g= |
config/muid.csv
0 → 100644
1 | +3247366011913216 |
1 | -eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9zdXBsdXMtd29ydGgtd2ViLWdhdGV3YXktdGVzdC5mam1haW1haW1haS5jb21cL2F1dGhcL2xvZ2luIiwiaWF0IjoxNTk3NjU3NDY0LCJleHAiOjE1OTc2NjgyNjQsIm5iZiI6MTU5NzY1NzQ2NCwianRpIjoiMGc1SHRKVm8yUDAyc1N5dyIsInN1YiI6MzI0NzM2NjAxMTkxMzIxNiwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSIsImNvbXBhbnlJZCI6MzY2LCJuaWNrbmFtZSI6Ilx1NTM1ZVx1NGZlMVx1NTM0ZSIsInBob25lIjoiMTk5OTAwMDAwMDAiLCJ1aWQiOjMyNDczNjYwMTE5MTMyMTYsImFkbWluVHlwZSI6MX0.3p9qTcj5OkSeQTmvlrc5tH-n7ABtDju__fEwnaYxbNY | ||
1 | +eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9zdXBsdXMtd29ydGgtd2ViLWdhdGV3YXktdGVzdC5mam1haW1haW1haS5jb21cL2F1dGhcL2xvZ2luIiwiaWF0IjoxNTk3NzQwNzI4LCJleHAiOjE1OTc3NTE1MjgsIm5iZiI6MTU5Nzc0MDcyOCwianRpIjoiend6TkFRMHAyVlJGRUh2ciIsInN1YiI6MzI0ODgxNzYxMzY4MTY2NCwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSIsImNvbXBhbnlJZCI6MzY2LCJuaWNrbmFtZSI6Ilx1OGM3OVx1NWI1MFx1NTkzNCIsInBob25lIjoiMTk5OTAwMDAwMDgiLCJ1aWQiOjMyNDg4MTc2MTM2ODE2NjQsImFkbWluVHlwZSI6Mn0.4mHXF2konr4c5HFt8et25TUrQhMezqoKYBJP2UnA3lo |
config/task_accessToken.csv
0 → 100644
1 | +kyn8hjpiSh4XHjfKnF5de4yxMXyraWC7 |
config/task_authCode.csv
0 → 100644
1 | +2000w9mxyl7i |
@@ -17,6 +17,7 @@ def sleep(n_secs): | @@ -17,6 +17,7 @@ def sleep(n_secs): | ||
17 | def convert_to_string(value): | 17 | def convert_to_string(value): |
18 | return str(value) | 18 | return str(value) |
19 | 19 | ||
20 | + | ||
20 | # def get_base_url(env_type="test"): | 21 | # def get_base_url(env_type="test"): |
21 | # """ | 22 | # """ |
22 | # 根据配置选择运行环境 | 23 | # 根据配置选择运行环境 |
@@ -57,6 +57,20 @@ def teardown_hook_get_accesstoken(response): | @@ -57,6 +57,20 @@ def teardown_hook_get_accesstoken(response): | ||
57 | print('写入失败', e) | 57 | print('写入失败', e) |
58 | return access_token | 58 | return access_token |
59 | 59 | ||
60 | +def teardown_hook_get_task_accesstoken(response): | ||
61 | + if response.status_code == 200: | ||
62 | + jsondata = json.loads(response.text) | ||
63 | + access_token =jsondata['data']['accessToken'] | ||
64 | + try: | ||
65 | + # 保存token到文件 | ||
66 | + with open(path + 'config/task_accessToken.csv','w+') as f: | ||
67 | + f.write(access_token) | ||
68 | + print('写入成功,access_token:{}'.format(access_token)) | ||
69 | + f.close() | ||
70 | + except Exception as e: | ||
71 | + print('写入失败', e) | ||
72 | + return access_token | ||
73 | + | ||
60 | def teardown_hook_get_authcode(response): | 74 | def teardown_hook_get_authcode(response): |
61 | if response.status_code ==200: | 75 | if response.status_code ==200: |
62 | jsondata = json.loads(response.text) | 76 | jsondata = json.loads(response.text) |
@@ -70,6 +84,19 @@ def teardown_hook_get_authcode(response): | @@ -70,6 +84,19 @@ def teardown_hook_get_authcode(response): | ||
70 | print('写入失败', e) | 84 | print('写入失败', e) |
71 | return auth_code | 85 | return auth_code |
72 | 86 | ||
87 | +def teardown_hook_get_task_authcode(response): | ||
88 | + if response.status_code ==200: | ||
89 | + jsondata = json.loads(response.text) | ||
90 | + auth_code = jsondata['data']['authCode'] | ||
91 | + try: | ||
92 | + | ||
93 | + with open(path + "config/task_authCode.csv", 'w+') as f: | ||
94 | + f.write(auth_code) | ||
95 | + print('写入成功,authCode:{}'.format(auth_code)) | ||
96 | + except Exception as e: | ||
97 | + print('写入失败', e) | ||
98 | + return auth_code | ||
99 | + | ||
73 | def get_authcode(): | 100 | def get_authcode(): |
74 | try: | 101 | try: |
75 | with open(path + "config/authCode.csv", 'r') as f: | 102 | with open(path + "config/authCode.csv", 'r') as f: |
@@ -80,6 +107,16 @@ def get_authcode(): | @@ -80,6 +107,16 @@ def get_authcode(): | ||
80 | auth_code = str(auth_code) | 107 | auth_code = str(auth_code) |
81 | return auth_code | 108 | return auth_code |
82 | 109 | ||
110 | +def get_task_authcode(): | ||
111 | + try: | ||
112 | + with open(path + "config/task_authCode.csv", 'r') as f: | ||
113 | + auth_code = f.read() | ||
114 | + print('读取成功,authCode:{}'.format(auth_code)) | ||
115 | + except Exception as e: | ||
116 | + print('读取失败', e) | ||
117 | + auth_code = str(auth_code) | ||
118 | + return auth_code | ||
119 | + | ||
83 | def get_accesstoken(): | 120 | def get_accesstoken(): |
84 | try: | 121 | try: |
85 | # 保存token到文件 | 122 | # 保存token到文件 |
@@ -91,6 +128,17 @@ def get_accesstoken(): | @@ -91,6 +128,17 @@ def get_accesstoken(): | ||
91 | accesstoken = str(accesstoken) | 128 | accesstoken = str(accesstoken) |
92 | return accesstoken | 129 | return accesstoken |
93 | 130 | ||
131 | +def get_task_accesstoken(): | ||
132 | + try: | ||
133 | + # 保存token到文件 | ||
134 | + with open(path + "config/task_accessToken.csv", 'r') as f: | ||
135 | + accesstoken = f.read() | ||
136 | + print('读取成功,accesstoken:{}'.format(accesstoken)) | ||
137 | + except Exception as e: | ||
138 | + print('读取失败', e) | ||
139 | + accesstoken = str(accesstoken) | ||
140 | + return accesstoken | ||
141 | + | ||
94 | def get_serialNo(): | 142 | def get_serialNo(): |
95 | try: | 143 | try: |
96 | with open(path + "config/serialNo.csv", 'r') as f: | 144 | with open(path + "config/serialNo.csv", 'r') as f: |
@@ -11,7 +11,7 @@ teststeps: | @@ -11,7 +11,7 @@ teststeps: | ||
11 | - ${teardown_hook_get_muid($response)} | 11 | - ${teardown_hook_get_muid($response)} |
12 | - ${teardown_hook_get_cid($response)} | 12 | - ${teardown_hook_get_cid($response)} |
13 | variables: | 13 | variables: |
14 | - phone: ${ENV(pfphone)} | 14 | + phone: ${ENV(appphone)} |
15 | varidate: | 15 | varidate: |
16 | validate: | 16 | validate: |
17 | - eq: | 17 | - eq: |
@@ -36,35 +36,4 @@ teststeps: | @@ -36,35 +36,4 @@ teststeps: | ||
36 | - content.msg | 36 | - content.msg |
37 | - 获取成功 | 37 | - 获取成功 |
38 | 38 | ||
39 | -#- name: 获取用户信息 | ||
40 | -# api: api/app_api/user_api/userInfo_api.yml | ||
41 | -# varidate: | ||
42 | -# validate: | ||
43 | -# - eq: | ||
44 | -# - content.msg | ||
45 | -# - 获取用户信息 | ||
46 | -# | ||
47 | -#- name: 获取BOSS足迹 | ||
48 | -# api: api/app_api/question_api/bossFootprints_api.yml | ||
49 | -# varidate: | ||
50 | -# validate: | ||
51 | -# - eq: | ||
52 | -# - content.msg | ||
53 | -# - 获取BOSS足迹成功 | ||
54 | -# | ||
55 | -#- name: 消息数量统计(首页、个人中心) | ||
56 | -# api: api/app_api/message_api/msgstatistics_api.yml | ||
57 | -# varidate: | ||
58 | -# validate: | ||
59 | -# - eq: | ||
60 | -# - content.msg | ||
61 | -# - 获取统计信息成功 | ||
62 | -# | ||
63 | -#- name: 公告列表 | ||
64 | -# api: api/app_api/message_api/msgannouncements_api.yml | ||
65 | -# varidate: | ||
66 | -# validate: | ||
67 | -# - eq: | ||
68 | -# - content.msg | ||
69 | -# - 获取公告信息成功 | ||
70 | -# | 39 | + |
@@ -6,7 +6,7 @@ teststeps: | @@ -6,7 +6,7 @@ teststeps: | ||
6 | - name: 登录企业平台 | 6 | - name: 登录企业平台 |
7 | api: api/m_api/login_api/auth/pwdLogin_api.yml | 7 | api: api/m_api/login_api/auth/pwdLogin_api.yml |
8 | variables: | 8 | variables: |
9 | - phone: ${ENV(adminphone)} | 9 | + phone: ${ENV(wpftwphone)} |
10 | teardown_hooks: | 10 | teardown_hooks: |
11 | - ${teardown_hook_get_Authorization($response)} | 11 | - ${teardown_hook_get_Authorization($response)} |
12 | varidate: | 12 | varidate: |
@@ -55,5 +55,4 @@ teststeps: | @@ -55,5 +55,4 @@ teststeps: | ||
55 | validate: | 55 | validate: |
56 | - eq: | 56 | - eq: |
57 | - content.msg | 57 | - content.msg |
58 | - - ok | ||
59 | - | 58 | + - ok |
@@ -17,26 +17,26 @@ teststeps: | @@ -17,26 +17,26 @@ teststeps: | ||
17 | - qid | 17 | - qid |
18 | api: api/app_api/question_api/audits_ireview_api.yml | 18 | api: api/app_api/question_api/audits_ireview_api.yml |
19 | extract: | 19 | extract: |
20 | - qid: content.data.questions.-1.id | 20 | + qid: content.data.questions.0.id |
21 | validate: | 21 | validate: |
22 | - eq: | 22 | - eq: |
23 | - - content.data.questions.-1.id | ||
24 | - - $qid | 23 | + - content.data.questions.0.id |
24 | + - $qid | ||
25 | 25 | ||
26 | -- name: 19990000011审核问题 | ||
27 | - api: api/app_api/question_api/auditquestion_api.yml | ||
28 | - | ||
29 | -- name: 19990000011查看问题详情 | ||
30 | - api: api/app_api/question_api/questiondetail_api.yml | ||
31 | - teardown_hooks: | ||
32 | - - ${teardown_hook_get_serialNo($response)} | ||
33 | -# validate: | ||
34 | -# - eq: | ||
35 | -# - content.data.question.serialNo | ||
36 | -# - $serialno | ||
37 | - | ||
38 | -- name: 19990000011申请解决问题 | ||
39 | - api: api/app_api/question_api/applyForQuestions_api.yml | 26 | +#- name: 19990000011审核问题 |
27 | +# api: api/app_api/question_api/auditquestion_api.yml | ||
28 | +# | ||
29 | +#- name: 19990000011查看问题详情 | ||
30 | +# api: api/app_api/question_api/questiondetail_api.yml | ||
31 | +# teardown_hooks: | ||
32 | +# - ${teardown_hook_get_serialNo($response)} | ||
33 | +## validate: | ||
34 | +## - eq: | ||
35 | +## - content.data.question.serialNo | ||
36 | +## - $serialno | ||
37 | +# | ||
38 | +#- name: 19990000011申请解决问题 | ||
39 | +# api: api/app_api/question_api/applyForQuestions_api.yml | ||
40 | # | 40 | # |
41 | #- name: 19990000011查看问题详情 | 41 | #- name: 19990000011查看问题详情 |
42 | # api: api/app_api/question_api/questiondetail_api.yml | 42 | # api: api/app_api/question_api/questiondetail_api.yml |
1 | -config: | ||
2 | - name: QX003:高级别评分权限人员-查看问题-权限校验42 | ||
3 | -# #清理数据 | ||
4 | -# teardown_hooks: | ||
5 | -# - ${teardown_hook_clean_db()} | ||
6 | -# - ${teardown_hook_sleep_N_secs($response,2)} | ||
7 | - | ||
8 | -teststeps: | ||
9 | - | ||
10 | -- name: 18100000004提出问题 | ||
11 | - testcase: testcases/question/add_question.yml | ||
12 | - | ||
13 | -- name: 有评分权限18200000005登录系统 | ||
14 | - variables: | ||
15 | - currtime: ${make_time()} | ||
16 | - uuid: ${make_uuid()} | ||
17 | - access_token: '' | ||
18 | - sign: ${make_sign($currtime, $uuid,$access_token)} | ||
19 | - phone: ${ENV(pfphone)} | ||
20 | - testcase: testcases/login_testcases.yml | ||
21 | - | ||
22 | -- name: 有评分权限18200000005查看待我审核 | ||
23 | - output: | ||
24 | - - qid | ||
25 | - api: api/question_api/audits_api.yml | ||
26 | - extract: | ||
27 | - qid: content.data.questions.0.id | ||
28 | - validate: | ||
29 | - - eq: | ||
30 | - - content.data.questions.0.id | ||
31 | - - $qid | ||
32 | - | ||
33 | -- name: 有评分权限18200000005审核问题 | ||
34 | - api: api/question_api/auditquestion_api.yml | ||
35 | - | ||
36 | -- name: 高级别有评分权限18200000002登录系统 | ||
37 | - variables: | ||
38 | - currtime: ${make_time()} | ||
39 | - uuid: ${make_uuid()} | ||
40 | - access_token: '' | ||
41 | - sign: ${make_sign($currtime, $uuid,$access_token)} | ||
42 | - phone: ${ENV(pflevelhighphone)} | ||
43 | - testcase: testcases/login_testcases.yml | ||
44 | - | ||
45 | -- name: 高级别评分权限18200000002查看问题详情 | ||
46 | - api: api/question_api/questiondetail_api.yml | ||
47 | - validate: | ||
48 | - - eq: | ||
49 | - - content.data.question.permission | ||
50 | - - 42 | ||
51 | - | ||
52 | - |
1 | -config: | ||
2 | - name: QX004:无评分权限人员-查看问题-权限校验21 | ||
3 | -# #清理数据 | ||
4 | -# teardown_hooks: | ||
5 | -# - ${teardown_hook_clean_db()} | ||
6 | -# - ${teardown_hook_sleep_N_secs($response,2)} | ||
7 | - | ||
8 | -teststeps: | ||
9 | - | ||
10 | -- name: 18100000004提出问题 | ||
11 | - testcase: testcases/question/add_question.yml | ||
12 | - | ||
13 | -- name: 有评分权限18200000005登录系统 | ||
14 | - variables: | ||
15 | - currtime: ${make_time()} | ||
16 | - uuid: ${make_uuid()} | ||
17 | - access_token: '' | ||
18 | - sign: ${make_sign($currtime, $uuid,$access_token)} | ||
19 | - phone: ${ENV(pfphone)} | ||
20 | - testcase: testcases/login_testcases.yml | ||
21 | - | ||
22 | -- name: 18200000005查看待我审核 | ||
23 | - output: | ||
24 | - - qid | ||
25 | - api: api/question_api/audits_api.yml | ||
26 | - extract: | ||
27 | - qid: content.data.questions.0.id | ||
28 | - validate: | ||
29 | - - eq: | ||
30 | - - content.data.questions.0.id | ||
31 | - - $qid | ||
32 | - | ||
33 | -- name: 18200000005审核问题 | ||
34 | - api: api/question_api/auditquestion_api.yml | ||
35 | - | ||
36 | -- name: 无评分权限18200000004登录系统 | ||
37 | - variables: | ||
38 | - currtime: ${make_time()} | ||
39 | - uuid: ${make_uuid()} | ||
40 | - access_token: '' | ||
41 | - sign: ${make_sign($currtime, $uuid,$access_token)} | ||
42 | - phone: ${ENV(ckphone)} | ||
43 | - testcase: testcases/login_testcases.yml | ||
44 | - | ||
45 | -- name: 无评分权限18200000004查看问题详情 | ||
46 | - api: api/question_api/questiondetail_api.yml | ||
47 | - validate: | ||
48 | - - eq: | ||
49 | - - content.data.question.permission | ||
50 | - - 21 | ||
51 | - | ||
52 | - |
1 | -config: | ||
2 | - name: QX005:无评分权限人员-查看方案-权限校验1 | ||
3 | - | ||
4 | -teststeps: | ||
5 | - | ||
6 | -- name: 评分权限人员18200000005查看问题-审核问题 | ||
7 | - output: | ||
8 | - - qid | ||
9 | - testcase: testcases/permission/ques_pf_permission/QX001_pf_permission.yml | ||
10 | - extract: | ||
11 | - qid: content.data.questions.0.id | ||
12 | - | ||
13 | -- name: 评分权限人员18200000005我来分析 | ||
14 | - api: api/question_api/solution_api.yml | ||
15 | - extract: | ||
16 | - sid: content.data.solution.id | ||
17 | - | ||
18 | -- name: 无评分权限18200000004登录系统 | ||
19 | - variables: | ||
20 | - currtime: ${make_time()} | ||
21 | - uuid: ${make_uuid()} | ||
22 | - access_token: '' | ||
23 | - sign: ${make_sign($currtime, $uuid,$access_token)} | ||
24 | - phone: ${ENV(ckphone)} | ||
25 | - testcase: testcases/login_testcases.yml | ||
26 | - | ||
27 | -- name: 无评分权限人员18200000004查看方案权限 | ||
28 | - api: api/question_api/solutiondetails_api.yml | ||
29 | - validate: | ||
30 | - - eq: | ||
31 | - - content.data.solution.permission | ||
32 | - - 1 | ||
33 | - | ||
34 | - | ||
35 | - |
1 | -config: | ||
2 | - name: QX006:评分权限人员不能给自己提出的备选方案评分-权限校验1 | ||
3 | -# #清理数据 | ||
4 | -# teardown_hooks: | ||
5 | -# - ${teardown_hook_clean_db()} | ||
6 | -# - ${teardown_hook_sleep_N_secs($response,2)} | ||
7 | - | ||
8 | -teststeps: | ||
9 | - | ||
10 | -- name: 评分权限人员18200000005查看问题-审核问题 | ||
11 | - output: | ||
12 | - - qid | ||
13 | - testcase: testcases/permission/ques_pf_permission/QX001_pf_permission.yml | ||
14 | - extract: | ||
15 | - qid: content.data.questions.0.id | ||
16 | - | ||
17 | -- name: 评分权限人员18200000005我来分析 | ||
18 | - api: api/question_api/solution_api.yml | ||
19 | - extract: | ||
20 | - sid: content.data.solution.id | ||
21 | - | ||
22 | -- name: 评分权限人员18200000005查看方案权限 | ||
23 | - api: api/question_api/solutiondetails_api.yml | ||
24 | - validate: | ||
25 | - - eq: | ||
26 | - - content.data.solution.permission | ||
27 | - - 1 | ||
28 | - | ||
29 | - | ||
30 | - |
testcases/permission/solution_pf_permission/QX007_bx_solution_pf_levelequal_permission.yml
已删除
100644 → 0
1 | -config: | ||
2 | - name: QX007:已评分过的备选方案,同级别评分权限人员-查看方案-权限校验1 | ||
3 | - | ||
4 | -teststeps: | ||
5 | - | ||
6 | -- name: 评分权限人员18200000005查看问题-审核问题 | ||
7 | - output: | ||
8 | - - qid | ||
9 | - testcase: testcases/permission/ques_pf_permission/QX001_pf_permission.yml | ||
10 | - extract: | ||
11 | - qid: content.data.questions.0.id | ||
12 | - | ||
13 | -- name: 评分权限人员18200000005我来分析 | ||
14 | - api: api/question_api/solution_api.yml | ||
15 | - extract: | ||
16 | - sid: content.data.solution.id | ||
17 | - | ||
18 | -- name: 有评分权限18200000002登录系统 | ||
19 | - variables: | ||
20 | - currtime: ${make_time()} | ||
21 | - uuid: ${make_uuid()} | ||
22 | - access_token: '' | ||
23 | - sign: ${make_sign($currtime, $uuid,$access_token)} | ||
24 | - phone: ${ENV(pflevelhighphone)} | ||
25 | - testcase: testcases/login_testcases.yml | ||
26 | - | ||
27 | -- name: 有评分权限18200000002查看问题详情 | ||
28 | - api: api/question_api/questiondetail_api.yml | ||
29 | - | ||
30 | -- name: 有评分权限18200000002查看备选方案详情 | ||
31 | - output: | ||
32 | - - sid | ||
33 | - api: api/question_api/alternatives_api.yml | ||
34 | - extract: | ||
35 | - sid: content.data.solutions.0.id | ||
36 | - | ||
37 | -#- name: 有评分权限18200000002查看方案权限 | ||
38 | -# api: api/question_api/solutiondetails_api.yml | ||
39 | - | ||
40 | -- name: 有评分权限18200000002评分 | ||
41 | - api: api/question_api/scoreanalyze_api.yml | ||
42 | - | ||
43 | -- name: 同级别有评分权限18200001002登录系统 | ||
44 | - variables: | ||
45 | - currtime: ${make_time()} | ||
46 | - uuid: ${make_uuid()} | ||
47 | - access_token: '' | ||
48 | - sign: ${make_sign($currtime, $uuid,$access_token)} | ||
49 | - phone: ${ENV(pflevelhighphone1)} | ||
50 | - testcase: testcases/login_testcases.yml | ||
51 | - | ||
52 | -- name: 同级别有评分权限18200001002查看方案权限 | ||
53 | - api: api/question_api/solutiondetails_api.yml | ||
54 | - validate: | ||
55 | - - eq: | ||
56 | - - content.data.solution.permission | ||
57 | - - 1 | ||
58 | - | ||
59 | - |
testcases/permission/solution_pf_permission/QX008_bx_solution_pf_levelhigh_permission.yml
已删除
100644 → 0
1 | -config: | ||
2 | - name: QX008:已评分过的备选方案,高级别评分权限人员-查看方案-权限校验2 | ||
3 | - | ||
4 | -teststeps: | ||
5 | - | ||
6 | -- name: 评分权限人员18200000005查看问题-审核问题 | ||
7 | - output: | ||
8 | - - qid | ||
9 | - testcase: testcases/permission/ques_pf_permission/QX001_pf_permission.yml | ||
10 | - extract: | ||
11 | - qid: content.data.questions.0.id | ||
12 | - | ||
13 | -- name: 评分权限人员18200000005我来分析 | ||
14 | - api: api/question_api/solution_api.yml | ||
15 | - extract: | ||
16 | - sid: content.data.solution.id | ||
17 | - | ||
18 | -- name: 有评分权限18200000007登录系统 | ||
19 | - variables: | ||
20 | - currtime: ${make_time()} | ||
21 | - uuid: ${make_uuid()} | ||
22 | - access_token: '' | ||
23 | - sign: ${make_sign($currtime, $uuid,$access_token)} | ||
24 | - phone: ${ENV(pfphone1)} | ||
25 | - testcase: testcases/login_testcases.yml | ||
26 | - | ||
27 | -- name: 有评分权限18200000007查看问题详情 | ||
28 | - api: api/question_api/questiondetail_api.yml | ||
29 | - | ||
30 | -- name: 有评分权限18200000007查看备选方案详情 | ||
31 | - output: | ||
32 | - - sid | ||
33 | - api: api/question_api/alternatives_api.yml | ||
34 | - extract: | ||
35 | - sid: content.data.solutions.0.id | ||
36 | - | ||
37 | -- name: 有评分权限18200000007评分 | ||
38 | - api: api/question_api/scoreanalyze_api.yml | ||
39 | - | ||
40 | -- name: 高级别有评分权限18200000002登录系统 | ||
41 | - variables: | ||
42 | - currtime: ${make_time()} | ||
43 | - uuid: ${make_uuid()} | ||
44 | - access_token: '' | ||
45 | - sign: ${make_sign($currtime, $uuid,$access_token)} | ||
46 | - phone: ${ENV(pflevelhighphone)} | ||
47 | - testcase: testcases/login_testcases.yml | ||
48 | - | ||
49 | -- name: 高级别有评分权限18200000002查看方案权限 | ||
50 | - api: api/question_api/solutiondetails_api.yml | ||
51 | - validate: | ||
52 | - - eq: | ||
53 | - - content.data.solution.permission | ||
54 | - - 2 | ||
55 | - | ||
56 | - |
1 | -config: | ||
2 | - name: QX009:未评分过的备选方案,有评分权限人员-查看方案-权限校验2 | ||
3 | - | ||
4 | -teststeps: | ||
5 | - | ||
6 | -- name: 评分权限人员18200000005查看问题-审核问题 | ||
7 | - output: | ||
8 | - - qid | ||
9 | - testcase: testcases/permission/ques_pf_permission/QX001_pf_permission.yml | ||
10 | - extract: | ||
11 | - qid: content.data.questions.0.id | ||
12 | - | ||
13 | -- name: 评分权限人员18200000005我来分析 | ||
14 | - api: api/question_api/solution_api.yml | ||
15 | - extract: | ||
16 | - sid: content.data.solution.id | ||
17 | - | ||
18 | -- name: 有评分权限18200000007登录系统 | ||
19 | - variables: | ||
20 | - currtime: ${make_time()} | ||
21 | - uuid: ${make_uuid()} | ||
22 | - access_token: '' | ||
23 | - sign: ${make_sign($currtime, $uuid,$access_token)} | ||
24 | - phone: ${ENV(pfphone1)} | ||
25 | - testcase: testcases/login_testcases.yml | ||
26 | - | ||
27 | -- name: 有评分权限人员18200000007查看方案权限 | ||
28 | - api: api/question_api/solutiondetails_api.yml | ||
29 | - validate: | ||
30 | - - eq: | ||
31 | - - content.data.solution.permission | ||
32 | - - 2 | ||
33 | - | ||
34 | - | ||
35 | - |
1 | -config: | ||
2 | - name: QX010:解决权限主导人不能给自己提出的解决方案评分-权限校验1 | ||
3 | - | ||
4 | -teststeps: | ||
5 | - | ||
6 | -- name: 解决权限人员18200000006解决问题,主导人是18200000003 | ||
7 | - testcase: testcases/question/solution_question.yml | ||
8 | - extract: | ||
9 | - qid: content.data.questions.0.id | ||
10 | - | ||
11 | -- name: 解决权限人员18200000003登录系统 | ||
12 | - variables: | ||
13 | - currtime: ${make_time()} | ||
14 | - uuid: ${make_uuid()} | ||
15 | - access_token: '' | ||
16 | - sign: ${make_sign($currtime, $uuid,$access_token)} | ||
17 | - phone: ${ENV(jjlevelhighphone)} | ||
18 | - testcase: testcases/login_testcases.yml | ||
19 | - | ||
20 | -- name: 解决权限人员18200000003查看问题详情 | ||
21 | - output: | ||
22 | - - sid | ||
23 | - api: api/question_api/questiondetail_api.yml | ||
24 | - extract: | ||
25 | - sid: content.data.question.solutions.0.id | ||
26 | - | ||
27 | -- name: 解决权限人员18200000003查看方案权限 | ||
28 | - api: api/question_api/solutiondetails_api.yml | ||
29 | - validate: | ||
30 | - - eq: | ||
31 | - - content.data.solution.permission | ||
32 | - - 1 | ||
33 | - | ||
34 | - | ||
35 | - |
1 | -config: | ||
2 | - name: QX011:解决权限人员可以给自己上传的解决方案评分-权限校验2 | ||
3 | - | ||
4 | -teststeps: | ||
5 | - | ||
6 | -- name: 解决权限人员18200000006解决问题,主导人是18200000003 | ||
7 | - testcase: testcases/question/solution_question.yml | ||
8 | - extract: | ||
9 | - qid: content.data.questions.0.id | ||
10 | - | ||
11 | -- name: 解决权限人员18200000006登录系统 | ||
12 | - variables: | ||
13 | - currtime: ${make_time()} | ||
14 | - uuid: ${make_uuid()} | ||
15 | - access_token: '' | ||
16 | - sign: ${make_sign($currtime, $uuid,$access_token)} | ||
17 | - phone: ${ENV(jjphone)} | ||
18 | - testcase: testcases/login_testcases.yml | ||
19 | - | ||
20 | -- name: 解决权限人员18200000006查看问题详情 | ||
21 | - output: | ||
22 | - - sid | ||
23 | - api: api/question_api/questiondetail_api.yml | ||
24 | - extract: | ||
25 | - sid: content.data.question.solutions.0.id | ||
26 | - | ||
27 | -- name: 解决权限人员18200000006查看方案权限 | ||
28 | - api: api/question_api/solutiondetails_api.yml | ||
29 | - validate: | ||
30 | - - eq: | ||
31 | - - content.data.solution.permission | ||
32 | - - 2 | ||
33 | - | ||
34 | - | ||
35 | - |
testcases/permission/solution_pf_permission/QX012_jj_solution_jj_levelequal_permission.yml
已删除
100644 → 0
1 | -config: | ||
2 | - name: QX012:与解决权限人员同级别的人查看解决方案-权限校验1 | ||
3 | - | ||
4 | -teststeps: | ||
5 | - | ||
6 | -- name: 解决权限人员18200000006解决问题,主导人是18200000003 | ||
7 | - testcase: testcases/question/solution_question.yml | ||
8 | - extract: | ||
9 | - qid: content.data.questions.0.id | ||
10 | - | ||
11 | -- name: 解决权限人员18200001006登录系统 | ||
12 | - variables: | ||
13 | - currtime: ${make_time()} | ||
14 | - uuid: ${make_uuid()} | ||
15 | - access_token: '' | ||
16 | - sign: ${make_sign($currtime, $uuid,$access_token)} | ||
17 | - phone: ${ENV(jjlevelequalphone)} | ||
18 | - testcase: testcases/login_testcases.yml | ||
19 | - | ||
20 | -- name: 解决权限人员18200001006查看问题详情 | ||
21 | - output: | ||
22 | - - sid | ||
23 | - api: api/question_api/questiondetail_api.yml | ||
24 | - extract: | ||
25 | - sid: content.data.question.solutions.0.id | ||
26 | - | ||
27 | -- name: 解决权限人员18200001006查看方案权限 | ||
28 | - api: api/question_api/solutiondetails_api.yml | ||
29 | - validate: | ||
30 | - - eq: | ||
31 | - - content.data.solution.permission | ||
32 | - - 1 | ||
33 | - | ||
34 | - | ||
35 | - |
testcases/permission/solution_pf_permission/QX013_jj_solution_jj_levelhigh_permission.yml
已删除
100644 → 0
1 | -config: | ||
2 | - name: QX013:比解决权限人员高级别的人查看解决方案-权限校验2 | ||
3 | - | ||
4 | -teststeps: | ||
5 | - | ||
6 | -- name: 解决权限人员18200000006解决问题,主导人是18200000003 | ||
7 | - testcase: testcases/question/solution_question.yml | ||
8 | - extract: | ||
9 | - qid: content.data.questions.0.id | ||
10 | - | ||
11 | -- name: 解决权限人员18200001003登录系统 | ||
12 | - variables: | ||
13 | - currtime: ${make_time()} | ||
14 | - uuid: ${make_uuid()} | ||
15 | - access_token: '' | ||
16 | - sign: ${make_sign($currtime, $uuid,$access_token)} | ||
17 | - phone: ${ENV(jjlevelhighphone1)} | ||
18 | - testcase: testcases/login_testcases.yml | ||
19 | - | ||
20 | -- name: 解决权限人员18200001003查看问题详情 | ||
21 | - output: | ||
22 | - - sid | ||
23 | - api: api/question_api/questiondetail_api.yml | ||
24 | - extract: | ||
25 | - sid: content.data.question.solutions.0.id | ||
26 | - | ||
27 | -- name: 解决权限人员18200001003查看方案权限 | ||
28 | - api: api/question_api/solutiondetails_api.yml | ||
29 | - validate: | ||
30 | - - eq: | ||
31 | - - content.data.solution.permission | ||
32 | - - 2 | ||
33 | - | ||
34 | - | ||
35 | - |
1 | +config: | ||
2 | + name: 19990000008保存抢单任务-发布任务-驳回领取人 | ||
3 | + | ||
4 | +teststeps: | ||
5 | + | ||
6 | +- name: 19990000008登录系统 | ||
7 | + testcase: testcases/task/loot/save_loot_update_0_open_testcase.yml | ||
8 | + | ||
9 | +- name: app端点击立即抢单 | ||
10 | + testcase: testcases/task/task_rewards_taskDetails_testcase.yml | ||
11 | + | ||
12 | +- name: 19990000000驳回领取人 | ||
13 | + api: api/m_api/loot/loot_task_reject_api.yml | ||
14 | + varidate: | ||
15 | + validate: | ||
16 | + - eq: | ||
17 | + - content.msg | ||
18 | + - ok |
1 | config: | 1 | config: |
2 | - name: 19990000008保存抢单任务 | 2 | + name: 19990000008保存抢单任务-删除任务 |
3 | 3 | ||
4 | teststeps: | 4 | teststeps: |
5 | 5 | ||
6 | - name: 19990000008登录系统 | 6 | - name: 19990000008登录系统 |
7 | variables: | 7 | variables: |
8 | phone: ${ENV(wpftwphone)} | 8 | phone: ${ENV(wpftwphone)} |
9 | - testcase: testcases/login_testcases.yml | ||
10 | - | 9 | + testcase: testcases/m_login_testcases.yml |
11 | 10 | ||
12 | - name: 19990000008保存任务 | 11 | - name: 19990000008保存任务 |
13 | - api: api/task_api/task/qd_fb_task/taskPublish_0_0_0_api.yml | 12 | + output: |
13 | + - id | ||
14 | + api: api/m_api/loot/loot_update_0_api.yml | ||
15 | + extract: | ||
16 | + id: content.data.id | ||
14 | varidate: | 17 | varidate: |
15 | validate: | 18 | validate: |
16 | - eq: | 19 | - eq: |
17 | - content.msg | 20 | - content.msg |
18 | - - 发布成功 | ||
19 | - | ||
20 | -- name: 获取任务数量统计 | ||
21 | - api: api/task_api/task/taskStatistics.yml | 21 | + - ok |
22 | + - eq: | ||
23 | + - content.data.id | ||
24 | + - $id | ||
25 | +- name: 19990000008删除任务 | ||
26 | + api: api/m_api/task_delete_api.yml | ||
22 | varidate: | 27 | varidate: |
23 | validate: | 28 | validate: |
24 | - eq: | 29 | - eq: |
25 | - content.msg | 30 | - content.msg |
26 | - - 获取成功 | 31 | + - ok |
1 | config: | 1 | config: |
2 | - name: 19990000008保存竞标任务 | 2 | + name: 19990000008保存抢单任务-发布任务 |
3 | 3 | ||
4 | teststeps: | 4 | teststeps: |
5 | 5 | ||
6 | - name: 19990000008登录系统 | 6 | - name: 19990000008登录系统 |
7 | variables: | 7 | variables: |
8 | phone: ${ENV(wpftwphone)} | 8 | phone: ${ENV(wpftwphone)} |
9 | - testcase: testcases/login_testcases.yml | 9 | + testcase: testcases/m_login_testcases.yml |
10 | 10 | ||
11 | - | ||
12 | -- name: 19990000008保存任务 | ||
13 | - api: api/task_api/task/jb_fb_task/taskPublish_0_0_1_api.yml | 11 | +- name: 19990000000保存任务 |
12 | + output: | ||
13 | + - id | ||
14 | + api: api/m_api/loot/loot_update_0_api.yml | ||
15 | + extract: | ||
16 | + id: content.data.id | ||
14 | varidate: | 17 | varidate: |
15 | validate: | 18 | validate: |
16 | - eq: | 19 | - eq: |
17 | - content.msg | 20 | - content.msg |
18 | - - 发布成功 | ||
19 | - | ||
20 | -- name: 获取任务数量统计 | ||
21 | - api: api/task_api/task/taskStatistics.yml | 21 | + - ok |
22 | + - eq: | ||
23 | + - content.data.id | ||
24 | + - $id | ||
25 | +- name: 19990000000发布任务 | ||
26 | + api: api/m_api/task_open_api.yml | ||
22 | varidate: | 27 | varidate: |
23 | validate: | 28 | validate: |
24 | - eq: | 29 | - eq: |
25 | - content.msg | 30 | - content.msg |
26 | - - 获取成功 | 31 | + - ok |
@@ -3,7 +3,7 @@ config: | @@ -3,7 +3,7 @@ config: | ||
3 | base_url: ${ENV(base_manager_url)} | 3 | base_url: ${ENV(base_manager_url)} |
4 | variables: | 4 | variables: |
5 | phone: ${get_employee_account_from_database()} | 5 | phone: ${get_employee_account_from_database()} |
6 | - id: ${convert_to_string(get_uid_from_database())} | 6 | + id: ${get_uid_from_database()} |
7 | teardown_hooks: | 7 | teardown_hooks: |
8 | - ${sleep(2)} | 8 | - ${sleep(2)} |
9 | 9 | ||
@@ -19,4 +19,4 @@ teststeps: | @@ -19,4 +19,4 @@ teststeps: | ||
19 | - ok | 19 | - ok |
20 | - eq: | 20 | - eq: |
21 | - content.data.gridResult.lists.0.id | 21 | - content.data.gridResult.lists.0.id |
22 | - - $id | ||
22 | + - ${convert_to_string($id)} |
1 | +config: | ||
2 | + name: 成员管理设置权限 | ||
3 | + base_url: ${ENV(base_manager_url)} | ||
4 | + variables: | ||
5 | + phone: ${get_employee_account_from_database()} | ||
6 | + id: ${get_uid_from_database()} | ||
7 | + teardown_hooks: | ||
8 | + - ${sleep(2)} | ||
9 | + | ||
10 | +teststeps: | ||
11 | +- name: $phone 登录系统 | ||
12 | + testcase: testcases/m_login_testcases.yml | ||
13 | + | ||
14 | +- name: $phone 成员管理设置权限 | ||
15 | + api: api/m_api/member/member_set_permission_api.yml | ||
16 | + validate: | ||
17 | + - eq: | ||
18 | + - content.msg | ||
19 | + - ok | ||
20 | + - eq: | ||
21 | + - content.data.employeeInfo.uid | ||
22 | + - $id |
testcases/task/taskPublish_0_1_api.yml
已删除
100644 → 0
1 | -config: | ||
2 | - name: 19990000008保存抢单任务 | ||
3 | - | ||
4 | -teststeps: | ||
5 | - | ||
6 | -- name: 19990000008登录系统 | ||
7 | - variables: | ||
8 | - phone: ${ENV(wpftwphone)} | ||
9 | - testcase: testcases/login_testcases.yml | ||
10 | - | ||
11 | -- name: 19990000008搜索引用资源 | ||
12 | - output: | ||
13 | - - refResources_id | ||
14 | - - rType | ||
15 | - - serialNo | ||
16 | - - title | ||
17 | - api: api/task_api/task/qd_fb_task/tasksearchResources_api.yml | ||
18 | - extract: | ||
19 | - refResources_id: content.data.refResources.0.id | ||
20 | - rType: content.data.refResources.0.rType | ||
21 | - serialNo: content.data.refResources.0.serialNo | ||
22 | - title: content.data.refResources.0.title | ||
23 | - validate: | ||
24 | - - eq: | ||
25 | - - content.code | ||
26 | - - 0 | ||
27 | - - eq: | ||
28 | - - content.msg | ||
29 | - - 获取成功 | ||
30 | - | ||
31 | -- name: 19990000008发布任务 | ||
32 | - api: api/task_api/task/qd_fb_task/taskPublish_0_1_0_api.yml | ||
33 | - varidate: | ||
34 | - validate: | ||
35 | - - eq: | ||
36 | - - content.msg | ||
37 | - - 发布成功 |
testcases/task/taskPublish_1_1_api.yml
已删除
100644 → 0
1 | -config: | ||
2 | - name: 19990000008保存抢单任务 | ||
3 | - | ||
4 | -teststeps: | ||
5 | - | ||
6 | -- name: 19990000008登录系统 | ||
7 | - variables: | ||
8 | - phone: ${ENV(wpftwphone)} | ||
9 | - testcase: testcases/login_testcases.yml | ||
10 | - | ||
11 | -- name: 19990000008搜索引用资源 | ||
12 | - output: | ||
13 | - - refResources_id | ||
14 | - - rType | ||
15 | - - serialNo | ||
16 | - - title | ||
17 | - api: api/task_api/task/jb_fb_task/tasksearchResources_api.yml | ||
18 | - extract: | ||
19 | - refResources_id: content.data.refResources.0.id | ||
20 | - rType: content.data.refResources.0.rType | ||
21 | - serialNo: content.data.refResources.0.serialNo | ||
22 | - title: content.data.refResources.0.title | ||
23 | - validate: | ||
24 | - - eq: | ||
25 | - - content.code | ||
26 | - - 0 | ||
27 | - - eq: | ||
28 | - - content.msg | ||
29 | - - 获取成功 | ||
30 | - | ||
31 | -- name: 19990000008发布任务 | ||
32 | - api: api/task_api/task/jb_fb_task/taskPublish_0_1_0_api.yml | ||
33 | - varidate: | ||
34 | - validate: | ||
35 | - - eq: | ||
36 | - - content.msg | ||
37 | - - 发布成功 |
1 | +config: | ||
2 | + name: 首页-立即抢单 | ||
3 | + | ||
4 | +teststeps: | ||
5 | + | ||
6 | +- name: 19990000008登录系统 | ||
7 | + variables: | ||
8 | + phone: ${ENV(appphone)} | ||
9 | + testcase: testcases/login_testcases.yml | ||
10 | + | ||
11 | +- name: 19990000008登录价值系统 | ||
12 | + testcase: testcases/task_login_testcases.yml | ||
13 | + | ||
14 | +- name: 19990000000查看公司悬赏任务列表 | ||
15 | + output: | ||
16 | + - id | ||
17 | + api: api/m_api/task_rewards_api.yml | ||
18 | + extract: | ||
19 | + id: content.data.tasks.0.id | ||
20 | + validate: | ||
21 | + - eq: | ||
22 | + - content.data.tasks.0.id | ||
23 | + - $id | ||
24 | +# | ||
25 | +- name: 19990000008抢单 | ||
26 | + api: api/m_api/loot/submitCompete_loot_api.yml |
testcases/task_login_testcases.yml
0 → 100644
1 | +config: | ||
2 | + name: 价值系统登录 | ||
3 | + base_url: ${ENV(base_url)} | ||
4 | + | ||
5 | +teststeps: | ||
6 | +- name: 价值系统登录 | ||
7 | + api: api/app_api/login_api/task/authorize_api.yml | ||
8 | + teardown_hooks: | ||
9 | + - ${teardown_hook_get_task_authcode($response)} | ||
10 | + varidate: | ||
11 | + validate: | ||
12 | + - eq: | ||
13 | + - content.msg | ||
14 | + - 登录成功accessToken | ||
15 | +- name: 获取accessToken | ||
16 | + api: api/app_api/login_api/task/accessToken_api.yml | ||
17 | + teardown_hooks: | ||
18 | + - ${teardown_hook_get_task_accesstoken($response)} | ||
19 | + varidate: | ||
20 | + validate: | ||
21 | + - eq: | ||
22 | + - content.msg | ||
23 | + - 获取成功 | ||
24 | + | ||
25 | + |
不能预览此文件类型
@@ -7,5 +7,23 @@ testcases: | @@ -7,5 +7,23 @@ testcases: | ||
7 | #- name: start....初始化数据库 | 7 | #- name: start....初始化数据库 |
8 | # testcase: testcases/start_testcases.yml | 8 | # testcase: testcases/start_testcases.yml |
9 | 9 | ||
10 | -- name: member_list 成员管理搜索 | ||
11 | - testcase: testcases/task/member/member_list_testcases.yml | 10 | +#- name: member_list 成员管理搜索 |
11 | +# testcase: testcases/task/member/member_list_testcases.yml | ||
12 | + | ||
13 | +#- name: member_set_permission 成员管理设置权限 | ||
14 | +# testcase: testcases/task/member/member_set_permission_testcases.yml | ||
15 | + | ||
16 | +#- name: member_set_permission 成员管理设置权限 | ||
17 | +# testcase: testcases/permission/ques_pf_permission/QX001_pf_permission.yml | ||
18 | + | ||
19 | +#- name: loot_update_0 抢单任务-保存任务-删除任务 | ||
20 | +# testcase: testcases/task/loot/save_loot_update_0_delete_testcase.yml | ||
21 | + | ||
22 | +#- name: loot_update_open 抢单任务-保存任务-发布任务 | ||
23 | +# testcase: testcases/task/loot/save_loot_update_0_open_testcase.yml | ||
24 | + | ||
25 | +#- name: app端点击立即抢单 | ||
26 | +### testcase: testcases/task/task_rewards_taskDetails_testcase.yml | ||
27 | + | ||
28 | +- name: loot_task_reject:驳回领取人 | ||
29 | + testcase: testcases/task/loot/loot_task_reject_testcase.yml |
-
请 注册 或 登录 后发表评论