Commit Graph
185 Commits
Author SHA1 Message Date
Paul Kaplan 685b208a0a Do not skip safari 9 browser test because it works now 2018-07-13 09:17:28 -04:00
Paul Kaplan 2257bac707 Fix integration test 2018-07-12 10:53:20 -04:00
Paul Kaplan fc08333898 Change "how-to" messages to "tutorial" and update the icon to lightbulb 2018-07-12 10:08:39 -04:00
chrisgarrity 1083b6241a Added automatic detection of locale from browser langauge
Locale detection function that checks browser setting and lets URL parameter (locale= or lang=) override the browser setting.
2018-06-24 13:07:56 -04:00
chrisgarrity a2e8bd254f Merge pull request #2405 from chrisgarrity/feature/switch-languages
Initial version of loading or switching language.
2018-06-21 22:15:02 -04:00
Andrew Sliwinski 9399d19b66 Merge pull request #2421 from kosiecki17/develop
Updates to How To Lib for ISTE
2018-06-21 18:25:19 -04:00
Connor Hudson f9d5f95c15 Check for step-video in how-tos integration test 2018-06-21 17:27:26 -04:00
chrisgarrity a04554229f Initial version of loading or switching language.
Add `?locale=<localecode>` to load in a new langage.
Add `?enable=language` to enable the language selector
Or combine the two: `?enable=language&locale=<localecode>`
Still accepts a hash, but requires that the hash be a sequence of digits.

Added new locales reducer to gui:
- initializes default  react-intl/localeData
- initializes default locale messages for all locales
- default locale is ‘en’ (can be overridden by URL)

Removed dependency on react-intl-redux, added ConnectedIntlProvider (uses correct locale messages from redux based on current locale)
2018-06-19 15:40:47 -04:00
Paul Kaplan 98b0765051 Make costume and sound tabs sortable 2018-06-13 11:07:25 -04:00
Paul Kaplan bcb32edab0 Skip Safari 9 test, because it was always broken 2018-06-05 12:59:57 -04:00
Paul Kaplan d621dab514 Remove webgl crutch, it works with safari 10 2018-06-05 12:50:18 -04:00
Paul Kaplan 7dca076eff Add IE11 and Safari 9/10 tests to browser smoke test using Sauce 2018-06-04 10:41:11 -04:00
Paul Kaplan 8525b6d848 Fix css to keep backpack bar in view 2018-05-29 16:23:53 -04:00
Paul Kaplan a7c5bf7b32 Toggle backpack when backpack host param is available 2018-05-29 10:30:36 -04:00
Paul Kaplan 70f56d0876 Merge pull request #2144 from SpeakkVisually/develop
Update Learning Activities
2018-05-24 16:21:32 -04:00
Paul Kaplan e0dbcf98b5 Fix integration test 2018-05-24 13:28:25 -04:00
Paul Kaplan daf9af110c Merge pull request #2130 from paulkaplan/draggable-assets
Make costume, sound and sprite tiles draggable.
2018-05-24 13:23:53 -04:00
Paul Kaplan 6ee0a343ac Make costume, sound and sprite tiles draggable. 2018-05-23 11:12:06 -04:00
Paul Kaplan 71012e8e66 Make list test sensitive to "clicking clears the field" bug 2018-05-23 10:45:29 -04:00
Paul Kaplan fa75113351 Add integration test for list monitor.
Tests adding a list through the UI, the add <thing> blocks, the reported value and adding items using the monitor UI
2018-05-23 10:34:24 -04:00
Paul Kaplan 5096f13db3 Test changing monitor mode, prevent a regression we saw last week. 2018-05-23 10:34:18 -04:00
chrisgarrity 44c76e5774 Combine GUI reducers
* Export initial states for each reducer
* combine all gui reducers (excludes scratchPaint and intl)
* combine all initial states to create default guiState for preloading in www
* expect all of the gui state to be accessible at `state.scratchGui`
2018-05-21 16:54:19 -04:00
chrisgarrity 37f98f6099 Fix up comments
- better split of hash-parser/project-loader unit tests.
2018-05-14 17:17:39 -04:00
chrisgarrity 0fa62fc05c Split project-loader-hoc
The project loader that is exported with GUI just expects to be passed projectId as a prop, and it manages loading project data.

The part of the project loader that watches for URL hash changes for the playground is a new HOC that is only used in the various playground examples.
2018-05-10 09:31:50 -04:00
Paul Kaplan 8e12f5dc70 Add an integration test for adding extensions 2018-05-07 14:00:57 -04:00
Paul Kaplan 2ded72b2f8 Add an integration test for surprise sounds 2018-05-07 14:00:57 -04:00
Paul Kaplan 2aa0e8d90f Add an integration test for surprise and empty sprites 2018-05-07 14:00:57 -04:00
Paul Kaplan a3950754a4 Add integration tests for surprise and empty costumes 2018-05-07 14:00:57 -04:00
Paul Kaplan 2d395e3489 Add undo testing to paint editor integration test 2018-05-07 14:00:57 -04:00
Paul Kaplan e501b15bb5 Add an integration test for bitmap vector conversion 2018-05-03 11:22:07 -04:00
Paul Kaplan 6829d8b690 Update selenium helper to continue clicking buttons 2018-05-02 10:09:11 -04:00
chrisgarrity 29f34efe0b Merge pull request #1920 from chrisgarrity/update-l10n
Add translation to missing strings
2018-05-01 08:23:46 -04:00
Andrew Sliwinski 571f40560e Revert "Bring back "Updates to preview modal for release"" 2018-04-30 14:09:12 -04:00
chrisgarrity 45032cc291 Add translation to missing strings
Question, should ‘x’ and ‘y’ be localizable?
2018-04-30 12:22:23 -04:00
Paul Kaplan 99b914e18c Merge pull request #1888 from LLK/revert-1887-revert-preview-update
Bring back "Updates to preview modal for release"
2018-04-27 16:24:30 -04:00
Paul Kaplan def5898c16 Merge pull request #1889 from paulkaplan/integration-tests-for-how-tos
Add a simple smoke test for the how-to library
2018-04-27 16:23:11 -04:00
Paul Kaplan 7eebe9b355 Add a simple smoke test for the how-to library 2018-04-27 14:30:36 -04:00
Paul Kaplan 97a16f1176 Revert "Revert "Updates to preview modal for release (#1864)"" 2018-04-27 11:44:52 -04:00
Paul Kaplan 7caddb90a9 Revert "Updates to preview modal for release (#1864)"
This reverts commit 29d5619d93.
2018-04-27 11:42:27 -04:00
Andrew Sliwinski 29d5619d93 Updates to preview modal for release (#1864)
* Updates to preview modal for release

* Design tweaks and remove import modal

* Resolve issues with tests

* Copy edits HT Eric

* Resolve lint issue with integration test

* One more change to the disclaimer language

* Add line break
2018-04-25 17:47:22 -04:00
Ray Schamp d9a561f3bb Merge pull request #1828 from gnarf/USE_HEADLESS
Add USE_HEADLESS=no npm run test:integration option
2018-04-20 11:38:09 -04:00
Corey Frang 987680d7de Add USE_HEADLESS=no npm run test:integration option 2018-04-20 10:49:12 -04:00
Ray Schamp 342ac4a244 Merge pull request #1824 from rschamp/feature/library-phase-ii
Libraries Phase II
2018-04-20 10:38:25 -04:00
Ray Schamp d1ae67b23b Update search placeholder string for tests 2018-04-19 17:34:14 -04:00
Ray Schamp 1e2de85438 Don't output allowed console messages during tests
They're spammy — happy to put this back but they were unhelpful while fixing tests IMO.
2018-04-19 17:33:52 -04:00
Andrew Sliwinski a18686d5da Merge pull request #1798 from thisandagain/bugfix/1797
Adjustments to string operator default arguments
2018-04-19 14:37:05 -04:00
Paul Kaplan 02762aa330 Quit and restart driver to hit # URL because hashchange behavior changed
Pages no longer reload if you hit the same hash URL twice
2018-04-19 13:41:23 -04:00
Andrew Sliwinski fc87504212 Resolve issue with blocks integration test 2018-04-17 12:03:53 -04:00
Andrew Sliwinski 2b1a66cd8a Adjust language in selectors and libraries. Resolves GH-1759 2018-04-13 10:32:39 -04:00
Paul Kaplan 66347c83a4 Add details to sprite tile and update styling 2018-04-10 09:10:23 -04:00