Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Romain Courteaud
erp5_rtl_support
Commits
1ebd038f
Commit
1ebd038f
authored
Jan 23, 2012
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modify TestTool_getResults to return last result and not first
parent
bf817573
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/TestTool_getResults.xml
...em/portal_skins/erp5_ui_test_core/TestTool_getResults.xml
+1
-1
bt5/erp5_ui_test_core/bt/revision
bt5/erp5_ui_test_core/bt/revision
+1
-1
No files found.
bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/TestTool_getResults.xml
View file @
1ebd038f
...
...
@@ -64,7 +64,7 @@ if not results:\n
\n
# Selenium results tests are just named "testTable.1", "testTable.2" and so forth.\n
# We replace this by the path of the test, this way we can easily see which test has failed.\n
html = results[
0
].index_html()\n
html = results[
len(results) - 1
].index_html()\n
for idx, test_case in enumerate(portal_tests.listTestCases()):\n
html = html.replace(\'>
testTable.%s
</a>
\' % (idx + 1), \'>%s
</a>
\' % test_case[\'path\'])\n
\n
...
...
bt5/erp5_ui_test_core/bt/revision
View file @
1ebd038f
47
\ No newline at end of file
48
\ No newline at end of file
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