-
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 tests for wiki edits #7254
Conversation
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.
On my server, the test fails. Let's wait for Travis though.
This is weird. It is working for me... |
Codecov Report
@@ Coverage Diff @@
## master #7254 +/- ##
==========================================
- Coverage 81.53% 76.66% -4.87%
==========================================
Files 97 97
Lines 5599 5705 +106
==========================================
- Hits 4565 4374 -191
- Misses 1034 1331 +297
Continue to review full report at Codecov.
|
There were differences between my fork and this repo. I need to find a way to select the edit button for the wiki. I will work on this tomorrow! |
@Uzay-G this will make your test work: find('.like-buttons a.btn-circle:first-of-type .fa-pencil').click() 100% precision :) |
Thanks! I will try it out 👍 |
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.
Love it!!!
4th test here |
* add system tests for wiki edits * fix selector
* add system tests for wiki edits * fix selector
For part of #5316
I added a test that verifies that users can edit wikis and preview their contents. What do you think @VladimirMikulic?