-
Notifications
You must be signed in to change notification settings - Fork 734
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
Add cypress tests for shortcut to save comments #10644
base: master
Are you sure you want to change the base?
Conversation
d4fabbc
to
7146cfd
Compare
7146cfd
to
e3724f2
Compare
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.
Thanks, looks good.
Nits:
- good to partition your test code to given (setup), when (here: do the ctrl-enter), then (assert) parts, so when it fails, it's more obvious to the next person if the interesting part of the test failed as intended (to catch badness) or it's something else
- you make my poor live a bit easier if you only request review when CI passed (and not before), so I can also merge after approval :-)
Thanks.
e3724f2
to
a5fcc84
Compare
Sorry, since CI is very slow, this is a better practice indeed.
I followed the test existing construction but indeed, Given, When Then makes things a lot easier to maintain, and show an example to improve the other tests in those files. Thanks |
https://cpci.cbg.collabora.co.uk:8080/job/github_online_master_debug_vs_co-24.04_cypress_desktop/3010/console failed in calc/annotation_spec.js, seems that include your new test, if you search for "Modify and Save using shortcut Ctrl+Enter". Do you have a guess what's the problem there? |
Not yet, I have been investigating. Writer is the same. I have been investigating:
|
2452525
to
1e17aab
Compare
1e17aab
to
a5e125f
Compare
Requires some fixes, cypress faisl seems to be related. |
f2bbe8e
to
6c7f5fe
Compare
Using Ctrl+Enter in calc and writer. See dce4671 Signed-off-by: Méven Car <[email protected]> Change-Id: Ic7e947623aac6345e4ad9c92a9454dfb5b2a4c2e
6c7f5fe
to
7dccdc8
Compare
Using Ctrl+Enter in calc and writer.
See dce4671
Context: #10622 (review)
Change-Id: Ic7e947623aac6345e4ad9c92a9454dfb5b2a4c2e
Summary
TODO
Checklist
make prettier-write
and formatted the code.make check
make run
and manually verified that everything looks okay