You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.
If you have a UI-Element definition with test case(s) (as per https://selenium.googlecode.com/git/javascript/selenium-core/scripts/ui-doc.html
> UI-Element Shorthand > testcase*), and the test case(s) fail, and you re-load that
Core extension, then Selenium IDE doesn't re-run the test cases().
What steps will reproduce the problem?
1. Selenium IDE > Options > Options > Selenium Core extensions > select the attached
ui_element_with_brokent_testcase.js
2. Restart Selenium IDE
3. The custom ui element definition is loaded, its test case is run and if it fails
it's reported (side note: the error doesn't currently show up well, see https://code.google.com/p/selenium/issues/detail?id=842)
4. Selenium IDE > Options > Options > click at Reload button right of 'Selenium Core
extensions'
5. The custom ui element definition is re-loaded, but its test case is not run (and
any failures in it are not reported).
Selenium version: 2.8.0
OS: Fedora 20
Browser: Firefox 35
Please, modify UIMap's addElement() in chrome://selenium-ide/content/selenium-core/scripts/ui-element.js,
around line 888, from
// run the element's unit tests only for the IDE, and only when the
// IDE is starting. Make a rough guess as to the latter condition.
if (is_IDE() && !editor.selDebugger && !uiElement.test()) {
to
// run the element's unit tests only for the IDE.
if (is_IDE() && !uiElement.test()) {
To streamline, I suggest you implement it together with https://code.google.com/p/selenium/issues/detail?id=842.
Originally reported on Google Code with ID 8429
Reported by
peter.kehl
on 2015-01-26 23:49:26- _Attachment: [ui_element_with_brokent_testcase.js](https://storage.googleapis.com/google-code-attachments/selenium/issue-8429/comment-0/ui_element_with_brokent_testcase.js)_
The text was updated successfully, but these errors were encountered: