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
0
Merge Requests
0
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
Léo-Paul Géneau
erp5
Commits
5de07bf3
Commit
5de07bf3
authored
Mar 03, 2022
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_configurator_standard_ui_test: Use Zuite_CommonTemplate to interact with login form.
Also, to reliably open login_form, log out.
parent
91082bba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
94 deletions
+24
-94
bt5/erp5_configurator_standard_ui_test/PathTemplateItem/test_page_module/user-Howto.Configure.ERP5.for.SMB.With.Configurator.html
.../user-Howto.Configure.ERP5.for.SMB.With.Configurator.html
+7
-34
bt5/erp5_configurator_standard_ui_test/PathTemplateItem/test_page_module/user-Howto.Configure.ERP5.for.SMB.With.Consultant.Configurator.html
....Configure.ERP5.for.SMB.With.Consultant.Configurator.html
+17
-60
No files found.
bt5/erp5_configurator_standard_ui_test/PathTemplateItem/test_page_module/user-Howto.Configure.ERP5.for.SMB.With.Configurator.html
View file @
5de07bf3
...
...
@@ -1561,25 +1561,9 @@
<td>
${base_url}/logout
</td>
<td></td>
</tr>
<tr>
<td>
openAndWait
</td>
<td>
${base_url}/login_form
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
//input[@name="__ac_name"]
</td>
<td>
PERSON_USER_REFERENCE
</td>
</tr>
<tr>
<td>
type
</td>
<td>
//input[@name="__ac_password"]
</td>
<td>
secret
</td>
</tr>
<tr>
<td>
clickAndWait
</td>
<td>
//input[@name="logged_in:method"]
</td>
<td></td>
<tr
metal:use-macro=
"python: context.Zuite_CommonTemplate.macros['login']"
>
<td
tal:omit-tag=
""
metal:fill-slot=
"username"
>
PERSON_USER_REFERENCE
</td>
<td
tal:omit-tag=
""
metal:fill-slot=
"password"
>
secret
</td>
</tr>
<tr>
<td>
openAndWait
</td>
...
...
@@ -1608,23 +1592,12 @@
</tr>
<tr>
<td>
openAndWait
</td>
<td>
${base_url}/login_form
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
//input[@name="__ac_name"]
</td>
<td>
${base_user}
</td>
</tr>
<tr>
<td>
type
</td>
<td>
//input[@name="__ac_password"]
</td>
<td>
${base_url}/logout
</td>
<td></td>
</tr>
<tr>
<td>
clickAndWait
</td>
<td>
//input[@name="logged_in:method"]
</td>
<td></td>
<tr
metal:use-macro=
"python: context.Zuite_CommonTemplate.macros['login']"
>
<td
tal:omit-tag=
""
metal:fill-slot=
"username"
>
${base_user}
</td>
<td
tal:omit-tag=
""
metal:fill-slot=
"password"
></td>
</tr>
</tbody>
</table>
...
...
bt5/erp5_configurator_standard_ui_test/PathTemplateItem/test_page_module/user-Howto.Configure.ERP5.for.SMB.With.Consultant.Configurator.html
View file @
5de07bf3
...
...
@@ -1434,26 +1434,10 @@
<td>
${base_url}/logout
</td>
<td>
</td>
</tr>
<tr>
<td>
openAndWait
</td>
<td>
${base_url}/login_form
</td>
<td>
</td>
</tr>
<tr>
<td>
type
</td>
<td>
//input[@name=
"
__ac_name
"
]
</td>
<td>
${base_user}
</td>
</tr>
<tr>
<td>
type
</td>
<td>
//input[@name=
"
__ac_password
"
]
</td>
<td>
${base_password}
</td>
</tr>
<tr>
<td>
clickAndWait
</td>
<td>
//input[@name=
"
logged_in:method
"
]
</td>
<td>
</td>
</tr>
<tr
metal:use-macro=
"python: context.Zuite_CommonTemplate.macros['login']"
>
<td
tal:omit-tag=
""
metal:fill-slot=
"username"
>
${base_user}
</td>
<td
tal:omit-tag=
""
metal:fill-slot=
"password"
>
${base_password}
</td>
</tr>
<tr>
<td>
openAndWait
</td>
<td>
${base_url}/view
</td>
...
...
@@ -1489,26 +1473,10 @@
<td>
${base_url}/logout
</td>
<td>
</td>
</tr>
<tr>
<td>
openAndWait
</td>
<td>
${base_url}/login_form
</td>
<td>
</td>
</tr>
<tr>
<td>
type
</td>
<td>
//input[@name=
"
__ac_name
"
]
</td>
<td>
PERSON_USER_REFERENCE
</td>
</tr>
<tr>
<td>
type
</td>
<td>
//input[@name=
"
__ac_password
"
]
</td>
<td>
secret
</td>
</tr>
<tr>
<td>
clickAndWait
</td>
<td>
//input[@name=
"
logged_in:method
"
]
</td>
<td>
</td>
</tr>
<tr
metal:use-macro=
"python: context.Zuite_CommonTemplate.macros['login']"
>
<td
tal:omit-tag=
""
metal:fill-slot=
"username"
>
PERSON_USER_REFERENCE
</td>
<td
tal:omit-tag=
""
metal:fill-slot=
"password"
>
secret
</td>
</tr>
<tr>
<td>
openAndWait
</td>
<td>
${base_url}/view
</td>
...
...
@@ -1534,26 +1502,15 @@
<td>
30000
</td>
<td>
</td>
</tr>
<tr>
<td>
openAndWait
</td>
<td>
${base_url}/login_form
</td>
<td>
</td>
</tr>
<tr>
<td>
type
</td>
<td>
//input[@name=
"
__ac_name
"
]
</td>
<td>
${base_user}
</td>
</tr>
<tr>
<td>
type
</td>
<td>
//input[@name=
"
__ac_password
"
]
</td>
<td>
${base_password}
</td>
</tr>
<tr>
<td>
clickAndWait
</td>
<td>
//input[@name=
"
logged_in:method
"
]
</td>
<td>
</td>
</tr>
<tr>
<td>
openAndWait
</td>
<td>
${base_url}/logout
</td>
<td></td>
</tr>
<tr
metal:use-macro=
"python: context.Zuite_CommonTemplate.macros['login']"
>
<td
tal:omit-tag=
""
metal:fill-slot=
"username"
>
${base_user}
</td>
<td
tal:omit-tag=
""
metal:fill-slot=
"password"
>
${base_password}
</td>
</tr>
</tbody>
</table>
</test>
</section><section
class=
"screenshot"
>
<h1>
Login
</h1>
<img
alt=
"Login Form"
title=
"Login Form"
type=
"image/svg+xml"
src=
"user-ERP5.Login.Form.Screenshot?format=png"
/>
<details
open=
"open"
>
...
...
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