Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xm-uitest-sow
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiamai-test
xm-uitest-sow
Commits
f1d9af3b
Commit
f1d9af3b
authored
Jun 18, 2021
by
linguangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改回放按钮元素
parent
f87b2d62
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
+13
-5
.idea/workspace.xml
+12
-4
src/testcase/testMainPage.py
+1
-1
No files found.
.idea/workspace.xml
View file @
f1d9af3b
...
...
@@ -4,9 +4,9 @@
<option
name=
"autoReloadType"
value=
"SELECTIVE"
/>
</component>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"f091fe1a-072c-4ac2-a8ca-080be739597a"
name=
"Default Changelist"
comment=
"
登录-开课-结束课程-关闭客户端
"
>
<list
default=
"true"
id=
"f091fe1a-072c-4ac2-a8ca-080be739597a"
name=
"Default Changelist"
comment=
"
修改店铺验证元素
"
>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/
pageobject/loginpage.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/pageobject/loginp
age.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/
testcase/testMainPage.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/testcase/testMainP
age.py"
afterDir=
"false"
/>
</list>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
...
...
@@ -282,7 +282,14 @@
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1624007701385
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"9"
/>
<task
id=
"LOCAL-00009"
summary=
"修改店铺验证元素"
>
<created>
1624009258689
</created>
<option
name=
"number"
value=
"00009"
/>
<option
name=
"presentableId"
value=
"LOCAL-00009"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1624009258689
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"10"
/>
<servers
/>
</component>
<component
name=
"TestHistory"
>
...
...
@@ -352,7 +359,8 @@
<MESSAGE
value=
"rename"
/>
<MESSAGE
value=
"同步"
/>
<MESSAGE
value=
"登录-开课-结束课程-关闭客户端"
/>
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"登录-开课-结束课程-关闭客户端"
/>
<MESSAGE
value=
"修改店铺验证元素"
/>
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"修改店铺验证元素"
/>
</component>
<component
name=
"editorHistoryManager"
>
<entry
file=
"file://$PROJECT_DIR$/server.log"
/>
...
...
src/testcase/testMainPage.py
View file @
f1d9af3b
...
...
@@ -112,7 +112,7 @@ class TestMainPage(unittest.TestCase):
main_page
.
sleep
(
5
)
while
True
:
main_page
.
keys_down
()
ele
=
EC
.
presence_of_element_located
((
By
.
XPATH
,
"""//div[text()={}]/..//button[@class="ant-btn
ant-btn-primary
"]"""
.
format
(
self
.
live_course_name
[
1
])))
ele
=
EC
.
presence_of_element_located
((
By
.
XPATH
,
"""//div[text()={}]/..//button[@class="ant-btn"]"""
.
format
(
self
.
live_course_name
[
1
])))
if
ele
:
break
main_page
.
sleep
(
1
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment