Monica Kozbial
57749e6eb8
Updating bump logic to support single-direction scrollbars ( #4652 )
...
* Updating bump logic to support single-direction scrollbars
2021-03-01 12:20:12 -08:00
Rachel Fenichel
485e4cd505
Fix test
2021-02-26 11:25:10 -08:00
Rachel Fenichel
4e31deca2b
Align constants -> Blockly.constants.ALIGN enum
2021-02-26 11:12:53 -08:00
alschmiedt
7b30cc76a4
Adds tests for metrics manager ( #4635 )
2021-02-18 13:45:53 -08:00
alschmiedt
a8f28c6b11
Metrics refactor ( #4627 )
2021-02-10 16:19:56 -08:00
Beka Westberg
87f4799be7
Remove last FieldLabel call and fix adding dummy inputs to json ( #4601 )
...
* Change insertFieldAt to use registry
* Fix adding dummy input for non field_ prefixed fields
* Remove bad new keyword
* Add type cast
2021-02-05 16:03:32 -08:00
alschmiedt
26beff4b2c
Migrate our tests to use github actions ( #4614 )
2021-02-02 10:08:51 -08:00
Beka Westberg
75f118b4f9
Refactor interpolate_ into multiple functions & remove direct new Field call ( #4585 )
...
* Refactor interpolation
* Added docs
* Add tests
* Add test for dummy input after field not prefixed with field_
* Fix typings
* Pr comments
2021-01-22 12:44:50 -08:00
alschmiedt
a3adc42e8a
Remove keyboard navigation from core ( #4593 )
2021-01-19 11:50:51 -08:00
Monica Kozbial
540ab16842
Fix serialization of workspace comment events and add tests ( #4578 )
...
* Fix serialization of workspace comment events and add tests
2021-01-11 16:14:34 -08:00
alschmiedt
fe0f401977
Fix collapsing bug and add tests ( #4568 )
2021-01-11 09:05:59 -08:00
Fishuke
16979f7458
Fix misplaced percent sign in css, close iframe html tag ( #4560 )
2021-01-05 11:09:37 -08:00
alschmiedt
be317617f9
Updates the metadata information ( #4550 )
2020-12-17 16:29:42 -08:00
alschmiedt
1043257f87
Fix ios12 bug ( #4517 )
...
* Changes mousedown to click event
2020-12-11 09:47:35 -08:00
Monica Kozbial
b5e045fd2b
Unskip test that is now passing ( #4493 )
2020-12-03 11:04:18 -08:00
alschmiedt
520aa600a6
Remove deprecated field functions ( #4489 )
2020-12-02 14:54:28 -08:00
Monica Kozbial
5153a32424
Remove debugging console log from test ( #4482 )
2020-11-30 14:22:43 -08:00
alschmiedt
97117bdb12
Update method names in shortcut registry ( #4479 )
2020-11-30 10:52:09 -08:00
Maribeth Bottorff
b5c77137bd
factor out getX and getY methods for flyouts ( #4463 )
2020-11-19 10:12:06 -08:00
Monica Kozbial
7a048bdb47
Add tests to logic ternary block ( #4427 )
...
* Add tests to logic ternary block
* Fix lint
2020-11-18 14:21:56 -08:00
Sam El-Husseini
67a6bfd0cf
Fix travis
2020-11-17 14:15:51 -08:00
Monica Kozbial
dd0d5aee53
Adding procedure tests and handling procedures instantiated without name ( #4428 )
...
* Expand procedure tests and fix bug with default ids
* Add tests
* Remove xml_procedures_test.js and add non-overlapping test cases into procedures_test.js
2020-11-06 11:48:48 -08:00
Monica Kozbial
8361268c63
Refactor field_variable_tests to use dev-tools ( #4417 )
...
* Refactor field_variable_tests to use dev-tools
2020-11-06 11:35:00 -08:00
Monica Kozbial
637497148d
Renaming ui event properties and updating documentation for consistency ( #4432 )
...
* Renaming properties and updating documentation for consistency
* Update more properties
* fix tests
2020-11-05 11:40:17 -08:00
Monica Kozbial
40ef586260
Refactoring Ui events in core ( #4418 )
...
* Ui events base (#4370 )
* Add constants for new ui event types
* Add property to indicate an event as UI event
* Click events (#4372 )
* Creating new ui base class.
* Refactor theme event (#4391 )
* Add themeName property to theme event
* Refactor marker move events. (#4389 )
* Refactor trashcan open event (#4392 )
* Refactor selected event (#4387 )
* Refactor toolbox item change event (#4394 )
* Refactor bubble open events (#4390 )
* Refactor block drag event (#4388 )
* Viewport events (#4395 )
* Fix event filtering for ui events (#4401 )
* Move events to new directory and rename Ui events base (#4400 )
* Move events to new directory and rename Ui events base
* Add missing fromJson implementation for click event (#4410 )
* Adding serialization tests for events
* Zoom controls event (#4407 )
* Refactor zoom event
* Rename IS_UI_EVENT to isUiEvent
2020-11-04 14:43:54 -08:00
Monica Kozbial
9bcfa60e86
Add missing cleanup to multiline field test ( #4416 )
2020-11-02 16:37:17 -08:00
alschmiedt
f1498e7f07
Keyboard shortcuts ( #4421 )
...
* Adds shortcut registry and removes action and key map (#4398 )
* Adds Shortcut tests and refactored navigation tests (#4412 )
* Adds shortcut items (#4408 )
* Add shortcuts for navigation (#4409 )
* Add final keyboard shortcut cleanup (#4413 )
2020-11-02 13:30:05 -08:00
alschmiedt
7eb9c498e6
Test Blockly.onKeyDown method ( #4373 )
2020-10-16 11:26:32 -07:00
Halit Anil Donmez
9bafa7e40d
do value update if the value is valid again ( #4351 )
...
* do value update if the value is valid again
* update the logic at set value
* fix tests
* update logging
2020-10-07 11:05:02 -07:00
Monica Kozbial
3b1643f221
Refactor FieldImage tests to use dev-tools helpers ( #4315 )
...
* Refactor FieldImage tests to use dev-tools helpers
2020-10-07 10:43:44 -07:00
Monica Kozbial
e67e49ad9b
Update FieldDropdown to use dev-tools helpers ( #4316 )
2020-10-02 14:15:20 -07:00
Sam El-Husseini
70f71af933
Add test-blocks into the basic playground ( #4333 )
...
* Use local node_modules files instead of unkpkg for advanced playground, get test blocks in the basic playground from npm
* Also move theme-modern
* Update package-lock
2020-10-02 09:48:01 -07:00
Monica Kozbial
6ec002e3d4
Adding tests for multiline block ( #4317 )
...
* Adding tests for multiline input
2020-09-30 15:20:35 -07:00
Monica Kozbial
81d355f5fa
Fix order errors in text generators ( #4329 )
...
* Fix dart text generator logic
* Fix Javascript text generator logic.
* Fix Lua text generator logic
* Fix php text generator logic
* Fix python text generator logic
* Fix error in substring logic
* Fix unit test block generators
* Update from ORDER_COMMA to ORDER_NONE
* Update golden files
2020-09-30 14:08:45 -07:00
Monica Kozbial
dec7463a49
Update FieldCheckbox and FieldColour setValue tests ( #4332 )
...
* update FieldCheckbox setValue tests
* update FieldColout setValue tests
2020-09-29 10:09:05 -07:00
Monica Kozbial
76fabc91f7
Capture deprecation warnings in tests that have associated bugs ( #4314 )
2020-09-29 09:57:17 -07:00
Monica Kozbial
3b364976aa
Procedures test workspace cleanup ( #4311 )
...
* Add basic cleanup.
* Refactor to ensure proper workspace cleanup
* Remove unecessary variable cleanup
* Uncomment out logic
2020-09-28 10:49:32 -07:00
alschmiedt
3d698f4bcc
Block factory fix ( #4327 )
2020-09-28 10:42:45 -07:00
Maribeth Bottorff
4ea112fcd3
Don't undo the change events from disableOrphans ( #4304 )
2020-09-25 11:46:29 -07:00
Monica Kozbial
81ee330eb9
Update metadata sizes for new release ( #4323 )
2020-09-24 15:31:02 -07:00
Rachel Fenichel
f840bec037
Reorder more
2020-09-24 12:41:47 -07:00
Rachel Fenichel
122f97c7ed
Change order of tests to avoid timing issues
2020-09-24 12:33:41 -07:00
Rachel Fenichel
c5d761dc8a
lint
2020-09-21 17:43:35 -07:00
Rachel Fenichel
70f518985a
Upgrade webdriverio to v6
2020-09-21 17:42:26 -07:00
Monica Kozbial
876ab33dbf
Updated navigation test blocks position so they aren't bumped out of … ( #4242 )
...
* Updated navigation test blocks position so they aren't bumped out of bounds during test.
* Added comment
2020-09-17 16:26:58 -07:00
Sam El-Husseini
db40e44b7c
Move Blockly.utils.dom.SvgElementType to Blockly.utils.Svg ( #4285 )
...
* Move SVGElementType to its own file shaving off 2.7KB
2020-09-16 14:42:58 -07:00
Maribeth Bottorff
6017a953d1
Fix bugs related to events firing during block create ( #4278 )
...
Fix bugs related to events firing during block create and add test for expected block init behavior
2020-09-15 20:02:07 -07:00
alschmiedt
38d37d7c7a
Updates dev tools script to new version ( #4273 )
2020-09-11 10:11:43 -07:00
Sam El-Husseini
701eecd5e1
Revert google-closure-deps package to avoid regression, add test to catch this in the future ( #4269 )
2020-09-10 17:31:01 -07:00
alschmiedt
5bca960628
Fix advanced playground ( #4266 )
2020-09-10 15:57:53 -07:00