-
-
Notifications
You must be signed in to change notification settings - Fork 130
test(web): add baseline tests for .js keyboards 🧪 🎼 #15341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: epic/web-core
Are you sure you want to change the base?
Conversation
User Test ResultsTest specification and instructions User tests are not required Test Artifacts
|
295bb5d to
8927ee2
Compare
Test-bot: skip
8927ee2 to
80c1f88
Compare
This change groups similar tests together. Also update `build.sh` to compile .js files. Follow-up-of: #15341 Test-bot: skip
This change groups similar tests together. Also update `build.sh` to compile .js files. Follow-up-of: #15341 Test-bot: skip
This change groups similar tests together. Also update `build.sh` to compile .js files. Follow-up-of: #15341 Test-bot: skip
This change groups similar tests together. Also update `build.sh` to compile .js files. Follow-up-of: #15341 Test-bot: skip
This change groups similar tests together. Also update `build.sh` to compile .js files. Follow-up-of: #15341 Test-bot: skip
jahorton
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm curious how some of the "failing" tests are failing here. Some of those listed had other unit tests built to target the same functionality - I specifically recall k_025 being one of them.
There's a strong chance that this linked test (and some following it!) are designed to test the same thing as the fixture mentioned above:
| it('Backing up and restoring (loadStore/saveStore)', function() { |
Refer to #2884. It does appear that one directly used k_023's keyboard (see header of web/unit_tests/resources/keyboards/options_with_save.js), though I believe the linked test above aimed to cover k_025's focus.
| 'k_037___options___double_reset.kmn', | ||
| 'k_039___generic_ctrlalt.kmn', | ||
| 'k_049___enter_invalidates_context.kmn', | ||
| 'k_055___deadkey_cancelled_by_arrow.kmn', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 'k_055___deadkey_cancelled_by_arrow.kmn', | |
| 'k_055___deadkey_cancelled_by_arrow.kmn', // Keyman Engine for Web does not interpret arrow keys |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deadkeys should be cancelled by caret movement. So we need to fix this at some point.
| 'k_049___enter_invalidates_context.kmn', | ||
| 'k_050___nul_and_context.kmn', // js only | ||
| 'k_052___nul_and_index.kmn', // js only | ||
| 'k_055___deadkey_cancelled_by_arrow.kmn', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 'k_055___deadkey_cancelled_by_arrow.kmn', | |
| 'k_055___deadkey_cancelled_by_arrow.kmn', // Keyman Engine for Web does not interpret arrow keys |
mcdurdin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we could rebuild those .js fixtures with debug, then this looks like a good step forward
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be good for the fixtures to be generated with debug so we get source line numbers and readable code.
This change adds baseline tests for .js keyboards. Several of those tests fail and so are skipped for now (#15342).
This test also includes the .js files of the baseline keyboards because they can't easily be generated on non-Windows platforms. This is similar to the .kmx files that are also included in the repo for the same reason.
Test-bot: skip