Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5_fork
Commits
6ec5b994
Commit
6ec5b994
authored
Feb 22, 2022
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_travel_expense_ui_test: Use Zuite_CommonTemplate to interact with login form.
parent
c8936d77
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
20 deletions
+11
-20
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_tests/officejs_ui_travel_expense_ui_test_zuite/testOfficeJSTravelExpenseSyncExpense.zpt
...se_ui_test_zuite/testOfficeJSTravelExpenseSyncExpense.zpt
+11
-20
No files found.
bt5/erp5_travel_expense_ui_test/PathTemplateItem/portal_tests/officejs_ui_travel_expense_ui_test_zuite/testOfficeJSTravelExpenseSyncExpense.zpt
View file @
6ec5b994
...
...
@@ -43,30 +43,21 @@
<tr>
<td>
waitForElementPresent
</td>
<td>
//input[@name="__ac_name"]
</td>
<td></td>
</tr>
<tr>
<td>
type
</td>
<td>
//input[@name="__ac_name"]
</td>
<td>
test
</td>
</tr>
<tr>
<td>
type
</td>
<td>
//input[@name="__ac_password"]
</td>
<td>
test
</td>
</tr>
<tr>
<td>
click
</td>
<td>
//input[@value='Login']
</td>
<td></td>
</tr>
<tal:block
tal:define=
"
login_form_url python: None;
wait python: False;
submit_name python: '//input[@value=\'Login\']';
"
>
<tal:block
metal:use-macro=
"python: context.Zuite_CommonTemplate.macros['login']"
>
<tal:block
metal:fill-slot=
"username"
>
test
</tal:block>
<tal:block
metal:fill-slot=
"password"
>
test
</tal:block>
</tal:block>
</tal:block>
<tr>
<td>
waitForTextPresent
</td>
<td>
Logged In as
</td>
...
...
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