Commit graph

419 commits

Author SHA1 Message Date
Christopher Willis-Ford
6a47475cff fix(deps): assume chromedriver is already installed 2024-02-16 17:04:08 -08:00
Andy O'Neill
ffcd546474 feat: add quaternary color for selected dropdowns 2023-03-02 13:46:07 -05:00
Christopher Willis-Ford
074a48c412 ci: remove TravisCI config and related content 2022-11-02 15:17:48 -07:00
Christopher Willis-Ford
09bbaeb39b fix(test): fix tests on Travis by disabling Chrome sandbox on Linux CI
Travis documentation suggests that disabling the sandbox might be
necessary to get Chrome to run.
2021-06-30 19:48:56 -07:00
Christopher Willis-Ford
3c295ffb68 fix(test): quit Selenium session after tests 2021-06-30 19:48:29 -07:00
Christopher Willis-Ford
f60c5195ef fix(test): treat failure to launch tests as a test failure
The previous formulation of the test runner was not catching promise
rejections coming from the webdriver / browser. Node would print
warnings to the console, but the test runner would exit with code 0 and
CI would treat this as a passing build. Now the rejection is caught and
reported, and the test runner exits with code 1.

Existing functionality to look for failed test results has not changed.
2021-06-29 16:55:29 -07:00
Rachel Fenichel
97d36e7617 Add a comment with some context on this test. 2020-05-17 20:06:13 -04:00
Rachel Fenichel
a6cbadc23f Make event filtering stricter for move events
Ported from blockly#1892
2020-05-17 20:06:13 -04:00
Paul Kaplan
a0851adc95
Merge pull request from paulkaplan/more-touch-sizes
Make checkboxes and extension status buttons easier to tap on touch
2019-06-24 09:23:46 -04:00
picklesrus
02c878dc6c
Merge branch 'develop' into feature/webdriver-selenium-tests 2019-06-19 16:12:26 -04:00
Paul Kaplan
24ab566b65 Match scratch-gui default zoom in playground for testing ease 2019-06-10 11:15:57 -04:00
Ken
a47940d11b
Remove 'To JavaScript' button
Resolves 
2019-02-26 10:50:07 +08:00
Rachel Fenichel
77fa7702d0 Improve connection db performance 2019-02-04 10:34:29 -08:00
Ashwin Ramaswami
757ebc1936 Remove selenium and unused test scripts 2018-12-18 20:18:12 -05:00
Ashwin Ramaswami
4ee0776b83 Use webdriver-selenium for tests 2018-12-18 18:45:05 -05:00
Karishma Chadha
54ab2ef1a9 Update varcreate json tests to include cloud variable info. 2018-11-14 14:55:34 -05:00
Eric Rosenbaum
174b1d0df1 Add note field with SVG piano keys 2018-10-26 16:44:47 -04:00
Rachel Fenichel
05b99302d9 Don't allow illegal connections to procedure prototype blocks () 2018-10-24 16:49:30 -04:00
Karishma Chadha
d17f0e07b1 Update tests 2018-10-03 22:19:40 -04:00
Eric Rosenbaum
42abd6ecb5
Merge pull request from khanning/menu-field-matrix
Add new menu type field matrix
2018-07-09 13:39:31 -04:00
Kreg Hanning
5f5af7e40c Merge remote-tracking branch 'upstream/develop' into menu-field-matrix 2018-07-05 21:07:44 -04:00
Karishma Chadha
83af7c0c18 Update VarCreate/VarDelete JSON tests. 2018-07-04 00:13:28 -04:00
Karishma Chadha
72aa683eb1 Add unit tests for ScratchBlockComment. 2018-06-14 09:21:44 -04:00
chrisgarrity
7b0a1d56a8
Merge pull request from chrisgarrity/feature/pull-tx
Switch languages without reloading
2018-06-13 12:27:15 -04:00
Karishma Chadha
5145e662ca Fix comment minimize from xml test. 2018-06-12 15:01:10 -04:00
Karishma Chadha
67e2464968 Fix existing tests, and also two new ones 2018-06-12 14:56:21 -04:00
chrisgarrity
ceacff64be Add flag to not recycle flyout blocks when switching languages
Fixes 
2018-06-08 17:56:47 -04:00
chrisgarrity
013e1ccf28 Switching languages
* pulled locales from transifex for languages that are mostly completely translated
* added option to switch language in playground.
* added missing category labels to `messages.js`
2018-06-08 17:54:54 -04:00
chrisgarrity
aa4ecd7e2e * Added Blockly.ScratchMsgs
* Added script to create combined locales `Blockly.ScratchMsgs.locales`
* Regenerated en.json after changing single quoted strings in messages.js to double quoted strings.
* Include `create_scratch_msgs.js` in `npm run translate`
locale=<locale-string>` to the URL.
* Added assertions so translate fails if `messages.js` has incorrect strings, or if any of the downloaded locale json files have errors in the translations.
* Playground will load different locales.
2018-06-08 13:58:59 -04:00
Rachel Fenichel
b20f6b6f49 Move utility into test_utilities.js 2018-06-07 17:16:53 -07:00
Rachel Fenichel
2b484164da Add workspace comment tests and other event tests 2018-06-07 16:53:09 -07:00
Paul Kaplan
ffe5818a63 Use the most recent chromedriver 2018-06-07 10:41:40 -04:00
Kreg Hanning
da70a48435 Add sample matrix block to the default toolbox 2018-06-06 21:29:06 -04:00
Karishma Chadha
4afc8e5085 Scratch block comments. 2018-05-25 17:21:31 -04:00
Rachel Fenichel
91af54d85a Respond to review feedback 2018-05-15 17:02:35 -07:00
Rachel Fenichel
22be753ea2 Add workspace comment tests 2018-05-11 17:34:26 -07:00
Rachel Fenichel
9773dbe6db More work to pull in workspace comments 2018-05-11 17:18:19 -07:00
Rachel Fenichel
a7a5f41a7a Split events.js into multiple files and update tests 2018-05-09 15:34:36 -07:00
Rachel Fenichel
c632570d8f
Update field_test.js 2018-05-03 14:17:42 -07:00
Rachel Fenichel
f699fad5ee
Merge pull request from rachel-fenichel/feature/field_fromJson
Switch to Blockly.Field.fromJson
2018-04-20 16:35:33 -07:00
Rachel Fenichel
525c5f475a Note difference between blockly and scratch-blocks 2018-04-17 14:31:06 -07:00
Rachel Fenichel
413faaa778 Switch to Blockly.Field.fromJson 2018-04-17 14:15:18 -07:00
Rachel Fenichel
c15eefcde6 Preserve shadows as you edit a custom procedure 2018-04-11 11:54:51 -07:00
Rachel Fenichel
89f420fc50 Add an opt_generateShadows param to procedure mutationToDom where needed 2018-04-09 15:39:11 -07:00
Karishma Chadha
8125c9f5eb Comment cleanup, and noting where tests differ from blockly. 2018-01-23 09:27:39 -05:00
Karishma Chadha
c22f341be3 Updating tests to reflect new variable case sensitivity, and not allowing variables to be renamed to existing names of variables of the same type. 2018-01-22 16:34:33 -05:00
Karishma Chadha
01cd09929d Reverting deletion of procedure_test.js 2018-01-18 15:03:46 -05:00
Karishma Chadha
2aabea010b Fixing errors and making unit tests work. 2018-01-18 15:03:46 -05:00
Rachel Fenichel
855ec2665a Pulling in the latest changes from google/blockly/variables_by_id branch,
starting with commit 6218750 (December 19, 2017) through commit 80b397f (January 10, 2018).
2018-01-18 15:03:46 -05:00
Karishma Chadha
db44603362 Pulling in changes from blockly/variables_by_id. 2018-01-18 15:03:46 -05:00