User tests: Successful: Unsuccessful:
Fix html5 validation, handle "novalidate" attribute correctly.
Open the form for create a new Article.
In the browser Developer console run next code:
Joomla.submitform('article.apply', document.getElementById('item-form'), true);
Joomla.submitform('article.apply', document.getElementById('item-form'), false);
none
Status | New | ⇒ | Pending |
Category | ⇒ | JavaScript |
@franz-wohlkoenig what is on your screenshot it is normal
need to look at different thing, see "Expected result"
Labels |
Added:
?
|
Category | JavaScript | ⇒ | JavaScript Unit Tests |
Labels |
Added:
?
|
Using Joomla.submitform('article.apply', document.getElementById('item-form'), true);
"Fill this Field" is shown.
Using Joomla.submitform('article.apply', document.getElementById('item-form'), false);
got "Warning_ Field required: Title", which is expected. So a successsfully Test?
@franz-wohlkoenig yes, that is correct
I have tested this item
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
Labels |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-06-21 18:23:18 |
Closed_By | ⇒ | rdeutz | |
Labels |
Added:
?
|
applied PR, got in new and empty Article:
System information
3.7.3-dev (latest nightly build)
Multilanguage Site
macOS Sierra, 10.12.5
Firefox 54 (64-bit)
MAMP 4.1.1