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
873ed398
Commit
873ed398
authored
Jul 24, 2013
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make user-extensions.js jslint compliant
parent
9f62ad26
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
10 deletions
+9
-10
bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/user-extensions.js.xml
...tem/portal_skins/erp5_ui_test_core/user-extensions.js.xml
+8
-9
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/user-extensions.js.xml
View file @
873ed398
...
...
@@ -8,7 +8,7 @@
<dictionary>
<item>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<value>
<string>
ts
51698417.06
</string>
</value>
<value>
<string>
ts
74657307.73
</string>
</value>
</item>
<item>
<key>
<string>
__name__
</string>
</key>
...
...
@@ -16,7 +16,7 @@
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
application/
x-
javascript
</string>
</value>
<value>
<string>
application/javascript
</string>
</value>
</item>
<item>
<key>
<string>
data
</string>
</key>
...
...
@@ -33,8 +33,7 @@
*/\n
Selenium.prototype.assertFloat = function(locator, text) {\n
var actualValueText = getText(this.page().findElement(locator));\n
var actualValue = parseFloat(actualValueText\n
.replace(/ /g, "").replace(/ /g, ""));\n
var actualValue = parseFloat(actualValueText.replace(/ /g, "").replace(/ /g, ""));\n
var expectedValue = parseFloat(text.replace(/ /g, "").replace(/ /g, ""));\n
\n
if (isNaN(actualValue)) {\n
...
...
@@ -50,8 +49,7 @@ Selenium.prototype.assertFloat = function(locator, text) {\n
*/\n
Selenium.prototype.assertFloatValue = function(locator, text) {\n
var actualValueText = getInputValue(this.page().findElement(locator));\n
var actualValue = parseFloat(actualValueText\n
.replace(/ /g, "").replace(/ /g, ""));\n
var actualValue = parseFloat(actualValueText.replace(/ /g, "").replace(/ /g, ""));\n
var expectedValue = parseFloat(text.replace(/ /g, "").replace(/ /g, ""));\n
\n
if (isNaN(actualValue)) {\n
...
...
@@ -106,8 +104,9 @@ Selenium.prototype.assertElementPositionRangeTop = function(locator, range){\n
var maximumPositionTop = parseFloat(rangeList[1]);\n
if (positionTop < minimumPositionTop || positionTop >
maximumPositionTop ){\n
Assert.fail(positionTop + " is not between " + minimumPositionTop + " and " + maximumPositionTop);\n
};\n
};
}\n
};\n
]]>
</string>
</value>
</item>
...
...
@@ -117,7 +116,7 @@ Selenium.prototype.assertElementPositionRangeTop = function(locator, range){\n
</item>
<item>
<key>
<string>
size
</string>
</key>
<value>
<int>
3
435
</int>
</value>
<value>
<int>
3
379
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
...
...
bt5/erp5_ui_test_core/bt/revision
View file @
873ed398
62
\ No newline at end of file
63
\ 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