Rachel Fenichel
0951b5e613
Update eslintrc for eslint v7, and resolve new lint errors
2020-08-10 15:10:48 -07:00
Maribeth Bottorff
9568d3f2cc
Add tests for contextmenu_items ( #4118 )
...
Add tests for context menu items
2020-08-10 11:46:10 -07:00
mfallihee
254fb60481
Use toLocaleString to count decimal places consistently ( #4124 )
2020-08-10 10:47:14 -07:00
Rachel Fenichel
a2f851cda6
Merge pull request #4140 from google/rachel-fenichel-patch-1
...
Increase mocha timeout to 5m30s
2020-08-10 10:43:48 -07:00
Rachel Fenichel
2624026ad6
Update run_mocha_tests_in_browser.js
2020-08-10 10:37:05 -07:00
Rachel Fenichel
8ad78169fb
Merge pull request #4121 from rachel-fenichel/deserialization_tests
...
Add and use helper functions in block_test.js
2020-08-06 12:02:24 -07:00
Rachel Fenichel
a39f688b6b
Merge pull request #4122 from rachel-fenichel/delet_screenshot_tests
...
remove pixel-perfect screenshot tests
2020-08-06 11:54:44 -07:00
Rachel Fenichel
3922bd30c2
Alphabetize
2020-08-06 11:47:20 -07:00
Monica Kozbial
b9b8281c61
Add high precision constraint test case for FieldNumber ( #4115 )
...
* Add test case for high precision setValue
* Fix eslint
2020-08-06 11:35:42 -07:00
Rachel Fenichel
ecb8739c5f
Lint
2020-08-06 10:30:04 -07:00
Rachel Fenichel
6f0dddc2fa
Add createRenderedBlock to eslint globals
2020-08-06 10:20:16 -07:00
Rachel Fenichel
3a7a636d28
Move createRenderedBlock to test helpers, fix setup, use helper in more places
2020-08-05 20:33:34 -07:00
Monica Kozbial
7015607f45
Insertion Marker tests async cleanup ( #4117 )
...
* Add call for shared setup and cleanup
* Skip failing test suite
* Fix TODO formatting
2020-08-05 20:24:57 -07:00
Monica Kozbial
cadc419928
Adding cleanup to theme tests ( #4112 )
2020-08-05 20:24:13 -07:00
Rachel Fenichel
50b2745900
remove pixel-perfect screenshot tests
2020-08-05 20:11:22 -07:00
Rachel Fenichel
6dd5428e5b
Add and use helper functions in block_test.js
2020-08-05 19:58:23 -07:00
Monica Kozbial
ba228ec235
Nav modify test shared cleanup ( #4114 )
...
* Add call for shared setup and cleanup
* skip failing tests
2020-08-05 17:20:21 -07:00
Monica Kozbial
b69f59eae7
Cleanup of chai asserts ( #4100 )
2020-08-05 16:03:06 -07:00
Monica Kozbial
2e92123314
Adding async cleanup to tests ( #4103 )
...
* Adding setup and teardown to more mocha tests.
* Update workspace dispose cleanup calls.
2020-08-05 16:00:00 -07:00
Monica Kozbial
b7305c1eed
Shared events cleanup ( #4092 )
...
* Remove temp fix for event queue cleanup.
* Implementing shared setup and cleanup.
* Remove unecessary restore and add comment.
* Adds helper for workspace teardown
* Remove unecessary restore calls in event tests
2020-08-03 16:50:23 -07:00
Sam El-Husseini
51bbc2d9bb
Move events into the global registry ( #4053 )
...
* Move events into the global registry
2020-08-03 08:11:58 -07:00
Sam El-Husseini
02ff548801
Snap dev tools to 1.1.1 ( #4077 )
2020-07-27 11:33:06 -07:00
Sam El-Husseini
af5b273288
Snap to 1.1.0 ( #4075 )
2020-07-27 10:49:36 -07:00
Monica Kozbial
3868db3221
Refactor shared ( #4066 )
...
* Refactoring event helpers.
* Fix concurrent test failure.
2020-07-24 14:49:39 -07:00
Monica Kozbial
4d8da1cda2
Allow es6 in mocha tests lint check ( #4062 )
...
* Allow es6 in mocha tests.
2020-07-24 14:41:56 -07:00
Sam El-Husseini
5d43d256e2
Move test blocks to dev-tools, refactor advanced playground ( #4057 )
...
* Remove remaining advanced playground actions, and remove test blocks
2020-07-24 13:53:00 -07:00
Monica Kozbial
64488c1402
Add listener for flyout events to playground. ( #4035 )
...
* Update workspace click and add listener for flyout events to playground.
* Fix test.
* Fix typing error
* change variable
* Update variable.
2020-07-20 14:00:03 -07:00
Rachel Fenichel
e1a221de30
Fix tests
2020-07-17 11:23:39 -06:00
Rachel Fenichel
7a515b2caf
Lint
2020-07-17 09:49:37 -06:00
Rachel Fenichel
1700efc77b
Add distance parameter to canConnect
2020-07-16 17:40:13 -06:00
Rachel Fenichel
bc0f54b769
Fix tests
2020-07-16 17:40:13 -06:00
Rachel Fenichel
3322834a9b
Add deprecation warnings and tests
2020-07-16 17:40:13 -06:00
Rachel Fenichel
7288c66294
Rename connectionTypeChecker->connectionChecker
2020-07-16 17:40:13 -06:00
Rachel Fenichel
e24f3cef9b
Add isDragging to canConnectWithReason and delete newly unused code paths.
2020-07-16 17:40:13 -06:00
Rachel Fenichel
450aed0aa2
More work on connection type checks
2020-07-16 17:40:12 -06:00
Rachel Fenichel
bb8348befd
Move to a single canConnect function, and update tests
2020-07-16 17:40:12 -06:00
Rachel Fenichel
8c17e325b5
Update connection tests to directly use the type checker
2020-07-16 17:40:12 -06:00
Rachel Fenichel
c743a92bb9
Start work on connection type checker
2020-07-16 17:40:12 -06:00
Sam El-Husseini
0f3db47fa5
Use generics to derive SVG element type ( #4036 )
...
* Encapsulate type in a generic to automatically derive type of SVG element when using createSvgElement
2020-07-13 10:40:31 -07:00
Monica Kozbial
375e304f7c
Remove debug logs from mocha tests ( #4026 )
2020-07-08 10:22:44 -07:00
Sam El-Husseini
02d5f6e4e9
Deprecated advanced compilation script and add deprecation warning ( #4021 )
2020-07-06 14:09:45 -07:00
Sam El-Husseini
92f0e7533e
Add blockly size metadata snapshot of previous releases ( #4018 )
2020-07-06 14:03:53 -07:00
Sam El-Husseini
66febd7b0e
Update metdata for June 2020 release ( #4010 )
2020-07-01 14:10:51 -07:00
Monica Kozbial
fcc3a09661
Fix python loop ( #4007 )
...
* Fix code generation for python controls_for
* Update python golden file.
2020-06-30 11:35:48 -07:00
Sam El-Husseini
9e7f3b07e9
Advanced compilation fixes ( #3995 )
...
* Advanced compilation fixes
2020-06-25 11:59:03 -07:00
alschmiedt
03f4a3d4e3
Fix spaces ( #3992 )
2020-06-24 13:53:57 -07:00
Monica Kozbial
4ac4332f5e
Update logic for field default values. ( #3953 )
...
* Update logic for field default values.
* Fix bugs
* Use contant for default value.
* Fix FieldColour
* Update field number tests.
* Update field angle test.
* Minor update.
* Update field checkbox test.
* Undo enabling logging
* Remove only.
* Update field colour test.
* Update invalid test cases for field colour
* Update field label tests
* Update field textinput test.
* Minor cleanup
* Make lint happy.
2020-06-12 15:18:28 -07:00
Sam El-Husseini
c9563c1d24
Revert "Add programmatically setting shadows ( #3902 )"
...
This reverts commit 3aa1963be8 .
2020-06-12 08:54:04 -07:00
Sam El-Husseini
f1977fd5e3
No flyout mutator
2020-06-11 09:28:40 -07:00
alschmiedt
a23d2fb9d0
Remove assertArrayEquals ( #3951 )
2020-06-10 10:25:59 -07:00