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
Labels
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
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
Show 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 @@
...
@@ -1561,25 +1561,9 @@
<td>
${base_url}/logout
</td>
<td>
${base_url}/logout
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr
metal:use-macro=
"python: context.Zuite_CommonTemplate.macros['login']"
>
<td>
openAndWait
</td>
<td
tal:omit-tag=
""
metal:fill-slot=
"username"
>
PERSON_USER_REFERENCE
</td>
<td>
${base_url}/login_form
</td>
<td
tal:omit-tag=
""
metal:fill-slot=
"password"
>
secret
</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>
<tr>
<tr>
<td>
openAndWait
</td>
<td>
openAndWait
</td>
...
@@ -1608,23 +1592,12 @@
...
@@ -1608,23 +1592,12 @@
</tr>
</tr>
<tr>
<tr>
<td>
openAndWait
</td>
<td>
openAndWait
</td>
<td>
${base_url}/login_form
</td>
<td>
${base_url}/logout
</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></td>
<td></td>
</tr>
</tr>
<tr>
<tr
metal:use-macro=
"python: context.Zuite_CommonTemplate.macros['login']"
>
<td>
clickAndWait
</td>
<td
tal:omit-tag=
""
metal:fill-slot=
"username"
>
${base_user}
</td>
<td>
//input[@name="logged_in:method"]
</td>
<td
tal:omit-tag=
""
metal:fill-slot=
"password"
></td>
<td></td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</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,25 +1434,9 @@
...
@@ -1434,25 +1434,9 @@
<td>
${base_url}/logout
</td>
<td>
${base_url}/logout
</td>
<td>
</td>
<td>
</td>
</tr>
</tr>
<tr>
<tr
metal:use-macro=
"python: context.Zuite_CommonTemplate.macros['login']"
>
<td>
openAndWait
</td>
<td
tal:omit-tag=
""
metal:fill-slot=
"username"
>
${base_user}
</td>
<td>
${base_url}/login_form
</td>
<td
tal:omit-tag=
""
metal:fill-slot=
"password"
>
${base_password}
</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>
<tr>
<tr>
<td>
openAndWait
</td>
<td>
openAndWait
</td>
...
@@ -1489,25 +1473,9 @@
...
@@ -1489,25 +1473,9 @@
<td>
${base_url}/logout
</td>
<td>
${base_url}/logout
</td>
<td>
</td>
<td>
</td>
</tr>
</tr>
<tr>
<tr
metal:use-macro=
"python: context.Zuite_CommonTemplate.macros['login']"
>
<td>
openAndWait
</td>
<td
tal:omit-tag=
""
metal:fill-slot=
"username"
>
PERSON_USER_REFERENCE
</td>
<td>
${base_url}/login_form
</td>
<td
tal:omit-tag=
""
metal:fill-slot=
"password"
>
secret
</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>
<tr>
<tr>
<td>
openAndWait
</td>
<td>
openAndWait
</td>
...
@@ -1536,23 +1504,12 @@
...
@@ -1536,23 +1504,12 @@
</tr>
</tr>
<tr>
<tr>
<td>
openAndWait
</td>
<td>
openAndWait
</td>
<td>
${base_url}/login_form
</td>
<td>
${base_url}/logout
</td>
<td>
</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>
<tr>
<tr
metal:use-macro=
"python: context.Zuite_CommonTemplate.macros['login']"
>
<td>
clickAndWait
</td>
<td
tal:omit-tag=
""
metal:fill-slot=
"username"
>
${base_user}
</td>
<td>
//input[@name=
"
logged_in:method
"
]
</td>
<td
tal:omit-tag=
""
metal:fill-slot=
"password"
>
${base_password}
</td>
<td>
</td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</test>
</section><section
class=
"screenshot"
>
</table>
</test>
</section><section
class=
"screenshot"
>
...
...
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