Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Boxiang Sun
erp5
Commits
441aa9bc
Commit
441aa9bc
authored
Mar 23, 2021
by
Boxiang Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_user_tutorial_ui_test: Update user login to adapt the new UI
parent
7b9624b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
24 deletions
+6
-24
bt5/erp5_user_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_user_tutorial_ui_test/Zuite_viewTestMacroLibrary.zpt
...erp5_user_tutorial_ui_test/Zuite_viewTestMacroLibrary.zpt
+6
-24
No files found.
bt5/erp5_user_tutorial_ui_test/SkinTemplateItem/portal_skins/erp5_user_tutorial_ui_test/Zuite_viewTestMacroLibrary.zpt
View file @
441aa9bc
...
@@ -212,16 +212,7 @@
...
@@ -212,16 +212,7 @@
<td></td>
<td></td>
</tr>
</tr>
<!-- login with functional test user -->
<!-- login with functional test user -->
<tr>
<span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/logout">Logout</span>
<td>openAndWait</td>
<td>${base_url}/logout</td>
<td></td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/login_form</td>
<td></td>
</tr>
<tr>
<tr>
<td>type</td>
<td>type</td>
<td>//input[@name="__ac_name"]</td>
<td>//input[@name="__ac_name"]</td>
...
@@ -235,21 +226,11 @@
...
@@ -235,21 +226,11 @@
here.Zuite_getHowToInfo()['functional_test_user_password']"></td>
here.Zuite_getHowToInfo()['functional_test_user_password']"></td>
</tr>
</tr>
<tr>
<tr>
<td>clickAndWait</td>
<td>click</td>
<td>//input[@name="logged_in:method"]</td>
<td>//input[@value="Login"]</td>
<td></td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/view</td>
<td></td>
</tr>
<tr>
<td>assertTextPresent</td>
<td tal:content="python:
here.Zuite_getHowToInfo()['functional_another_test_username']"></td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" />
<span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/wait_for_activities"> Wait for activities</span>
<span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/wait_for_activities"> Wait for activities</span>
<tr>
<tr>
<td>openAndWait</td>
<td>openAndWait</td>
...
@@ -273,9 +254,10 @@
...
@@ -273,9 +254,10 @@
</tr>
</tr>
<tr>
<tr>
<td>openAndWait</td>
<td>openAndWait</td>
<td>${base_url}
/view
</td>
<td>${base_url}</td>
<td></td>
<td></td>
</tr>
</tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" />
</tal:block>
</tal:block>
<tal:block metal:define-macro="login_as_user">
<tal:block metal:define-macro="login_as_user">
...
...
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