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
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rafael Monnerat
erp5
Commits
1cbe6e56
Commit
1cbe6e56
authored
2 years ago
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ui_test_core: fix a few typos
parent
0fbc3f6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/user-extensions.js.js
...Item/portal_skins/erp5_ui_test_core/user-extensions.js.js
+3
-3
No files found.
bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/user-extensions.js.js
View file @
1cbe6e56
...
@@ -6,13 +6,13 @@
...
@@ -6,13 +6,13 @@
* Wrap a promise to make it usable by selenium commands.
* Wrap a promise to make it usable by selenium commands.
*
*
* If the promise is rejected, the command will fail with the promise rejection value.
* If the promise is rejected, the command will fail with the promise rejection value.
* If the promise is reso
vl
ed, the resolved value is not used.
* If the promise is reso
lv
ed, the resolved value is not used.
*
*
* The asynchronicity of do* method is as follow Selenium.prototype.doXXX
* The asynchronicity of do* method is as follow Selenium.prototype.doXXX
* returns a function and this function will be called again and again until:
* returns a function and this function will be called again and again until:
* * function returns true, which means step is successful
l
* * function returns true, which means step is successful
* * function returns false, which means step is not finished and function will be called again
* * function returns false, which means step is not finished and function will be called again
* * an ex
ec
ption is raised, in that case the step is failed
* * an ex
ce
ption is raised, in that case the step is failed
* * global timeout is reached.
* * global timeout is reached.
* we implement the state management with similar approach as what's discussed
* we implement the state management with similar approach as what's discussed
* https://stackoverflow.com/questions/30564053/how-can-i-synchronously-determine-a-javascript-promises-state
* https://stackoverflow.com/questions/30564053/how-can-i-synchronously-determine-a-javascript-promises-state
...
...
This diff is collapsed.
Click to expand it.
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