Monica Kozbial
c740d2781c
Converting json junit test to mocha. ( #3809 )
...
* Converting json_test to mocha.
* Adding exceptions to mocha eslint config.
* Address PR comments.
2020-04-14 18:17:34 -07:00
Beka Westberg
1baf7d1dcf
Added a bunch of connection related tests.
2019-09-27 15:56:29 -07:00
Beka Westberg
9e5df6216a
Fixed comment ownership. ( #2923 )
...
* Moved comment icons to use a model-based system. The block holds the model of the comment, and the comment icon holds a reference to it.
* Reorganized the setVisible function.
* Changed how xml.js serializes and deserializes comments.
2019-09-20 13:16:07 -07:00
Beka Westberg
093467aed1
Added More Procedure Unit Tests ( #2630 )
...
* Added more procedure unit tests.
* Cleanup from rebase.
* Cleanup.
2019-09-18 16:14:06 -07:00
Beka Westberg
e05e26ab45
Fixed insertFieldAt ( #2939 )
...
* Fixed insertFieldAt.
* Updated tests to reflect upcomming config changes.
2019-09-16 11:11:18 -07:00
Sam El-Husseini
705730df0c
Convert connection_db jsunit tests to mocha ( #2872 )
...
* Convert connection_db jsunit tests to mocha
2019-08-21 13:35:20 -07:00
Sam El-Husseini
f15f9ebd13
Convert metrics jsunit test to mocha ( #2871 )
...
* Convert metrics jsunit test to mocha
2019-08-20 20:15:39 -07:00
Sam El-Husseini
eada00a692
Convert theme jsunit test to mocha ( #2874 )
2019-08-20 20:14:38 -07:00
Sam El-Husseini
3d9b8267b5
Convert names_test from jsunit to mocha. ( #2873 )
2019-08-20 13:17:40 -07:00
Sam El-Husseini
419451932a
Convert gesture junit tests to mocha ( #2875 )
2019-08-20 13:17:28 -07:00
Beka Westberg
e92dd6bcd6
Maybe like really fix mocha.
2019-08-16 12:09:47 -07:00
Beka Westberg
e0009e62ce
Remove everything but date tests.
2019-08-16 10:52:48 -07:00
Beka Westberg
f1afb61694
Maybe fix mocha?
2019-08-16 10:26:01 -07:00
Beka Westberg
b300583b6a
Try to Fix Mocha: Remove changed tests.
2019-08-16 09:57:28 -07:00
Beka Westberg
0872d022e1
Changed utils.fields -> fieldRegistry. Also removed useless tooltip requires.
2019-08-16 09:57:28 -07:00
Beka Westberg
16c59d2ffc
Added tests and remove jsunit fields test file.
2019-08-16 09:57:27 -07:00
alschmiedt
9b3e05e3d9
Field accessibility ( #2823 )
...
* Gives fields a chance to handle keyboard events
2019-08-15 15:44:54 -07:00
alschmiedt
74fa3bb71a
Initial commit for changing key mappings ( #2787 )
...
* Added ability to easily change key mappings
2019-08-13 13:37:01 -07:00
Neil Fraser
abc452109e
Fix XML across Blockly. ( #2727 )
...
Also fixes references to createSvgElement
2019-07-30 15:08:47 -07:00
Beka Westberg
c43e001634
Fixed DropDownDiv Rendering On Small Workspaces ( #2641 )
...
* Fixed dropdown div rendering when the workspace is too small.
2019-07-30 13:29:52 -07:00
alschmiedt
826409b01a
Add tests for keyboard navigation ( #2725 )
2019-07-29 13:12:09 -07:00
alschmiedt
7dcc03e791
Fixes mocha tests ( #2723 )
2019-07-29 12:40:20 -07:00
Neil Fraser
52b6ce18a5
Fix unit tests
2019-07-08 13:29:43 -07:00
Beka Westberg
b34ca2f93b
Fixed review comments.
2019-06-25 15:08:01 -07:00
Beka Westberg
347519b2a1
Added all block files to mocha index.
2019-06-25 15:08:01 -07:00
Beka Westberg
2620a5092e
Added message.js to mocha tests file.
2019-06-25 15:08:01 -07:00
Beka Westberg
85c4e4129f
Added procedure tests.
2019-06-25 15:08:01 -07:00
Beka Westberg
d05ce11736
Added trashcan tests.
2019-06-11 15:24:58 -07:00
Beka Westberg
acd96aa2c5
Added Field Value Tests ( #2459 )
...
* Added field value tests.
* Fixed field image src param.
* Fixed falsy values with label fields.
* Fixed falsy values with text input fields.
* Fixed some angle field tests.
* Fixed other text input when editing tests.
* Fixed colour tests.
* Cleaned up some number and variable field tests.
* Added angle field > 360 degrees tests.
* Fixed variable validator tests.
* Split setValue tests into sub-suites.
* Fixed angle >360 tests
* Changed var declarations to property declarations.
2019-05-17 15:19:14 -07:00
Rachel Fenichel
e77efa6c13
Add mocha tests + parsing to npm test
2019-05-01 13:43:19 -07:00
Beka Westberg
e8573bc0db
Added isSerializable function and SERIALIZABLE property to fields.
2019-04-21 08:28:37 -07:00
RoboErikG
ec78eeb39b
Propagate the visible state when blocks connect ( #2003 )
...
* Propagate the visible state when blocks connect
This fixes #1967 .
In rendered connections when connecting:
- If the superior connection is hidden this hides the newly connected block.
- If the superior connection isn't hidden it makes sure the block is visible.
In rendered connections when disconnecting:
- If the superior connection is hidden, make the disconnected block stack visible.
TODO before review:
- write tests.
- update collapsed message
* Add missing overrides
* Add tests for hidden connections and fix a bug while disposing
2019-04-15 16:23:19 -07:00
Rachel Fenichel
ecb8b4fb44
Remove dependenceis and use unpkg
2019-01-08 11:41:57 -08:00
Rachel Fenichel
1c413f0442
More testing with mocha
2019-01-08 11:31:35 -08:00
Rachel Fenichel
e27f58ada7
Add jsunit->chai assert converters, and block tests
2019-01-08 11:30:54 -08:00
Rachel Fenichel
376bed8c46
First pass at creating mocha tests
2019-01-08 11:30:54 -08:00