3rd Meeting: GSoC 17 JS tests for Joomla 4!
By Private Profile 0ba00c4f on 2017-05-26 21:00 in GSoC 17 JS tests for Joomla 4
Friday, 26th May 2017 on Glip
Time: 10.00p.m (Colombo Sri Lanka), 6:30 p.m (Munich Germany)
Report: Supun
Previous meeting report
List of Attendees Overview
Mentor |
|
A |
Student |
|
A |
Ruchiranga Wickramsinghe |
RW |
x |
Supun Wanniarachchi |
SW |
x |
Ashan Fernando |
AF |
x |
|
|
|
Dimitris Grammatiko |
DG |
x |
|
|
|
Yves Hoppe |
YH |
x |
|
|
|
Tobias Zulauf |
TZ |
x |
|
|
|
David Neukirchen |
DN |
|
|
|
|
Topics
1. Update on the work done during the previous week
Supun created a first blog post describing about the project details [1]. He’s currently working with caption.js and multiselect.js implementation. Asked for merge caption.js and multiselect.js implementation related 2 PRs sent by Dimitris [2], [3].
Discussed about removing parts in caption.js and identified what’re the advantages of the refactoring code for Joomla 4!. Suggest to remove Joomla.optionsStorage part. Since we’re calling this [4] and it doesn’t really matter what's set in Joomla.optionsStorage.
2. Tests plan for next week and implementation details
For next week mainly target with caption.js since it’s already done the work with VanillaJS conversion and only need to add more tests. Since the shift+click might become a blocker point in multiselect.js, suggested for we keep it aside for a while during this first phase.
3. Jasmine-vue
As the first step we need to integrate the vue testing Tools into the current js testing System. Then we can add unit tests for New Media Manager (NMM). It’s like Karma, Jasmine we can simply add it to the package.json dependencies list.
4. New Media Manager Changes
Need to do test implementation using Jasmine-vue and take a update from David later on.
5. Tasks for next week
-
Adding more tests to caption.js as a start
-
Try to configure the jasmine vue node module and writing a sample test case with it
-
Find a simple library for vanilla js conversion and try to do the conversion - start with tabs state
[1] http://blog.supun.me/2017/05/26/gsoc-2017-javascript-tests-joomla-4
[2] https://github.com/joomla/joomla-cms/pull/15955
[3] https://github.com/joomla/joomla-cms/pull/15956
[4] https://github.com/joomla/joomla-cms/pull/15956/files#diff-8a962e650ff31a0846cdbb52efe90911R77