-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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: System test for comments #7251
Conversation
Nice one @Uzay-G. The test fails on my server, we'll see what Travis says. |
Yeah you are right. There is a problem I hadn't noticed. I will fix it 👍 |
Codecov Report
@@ Coverage Diff @@
## master #7251 +/- ##
=========================================
- Coverage 81.53% 81.4% -0.13%
=========================================
Files 97 97
Lines 5599 5599
=========================================
- Hits 4565 4558 -7
- Misses 1034 1041 +7
|
Alright I fixed it. I also refactored things to a |
Does this work for you @VladimirMikulic? |
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.
Yes, it does!!!
@SidharthBansal it will for sure :) |
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.
This is great, and I'll merge it now -- i wonder if we can make a more complex one, where there are multiple comment fields on the page, and we ensure it enters the comment in the correct one (like, a response vs. a comment). What do you think?
Thank you!!!! |
Yeah that could be interesting. I will think about what we could do 👍 |
5th test here |
* add system test for comments * fixed travis
For part of #5316.
I have added a system test for commenting on a note. The test verifies that the UI reacts properly to the comment and that the preview button works well.
Are there any other comment tests you think would be useful? What do you think @VladimirMikulic @publiclab/reviewers?