regression on 'getHTML' backend test
See original GitHub issuePR #3268 caused a regression on the ‘getHTML’ backend test.
Expected:
<!doctype html><html><body><ul class="bullet"><li>one</li><li>2</li></ul><br><ul><ul class="bullet"><li>ul2</li></ul></ul></body></html>
Received:
<!doctype html><html><body><ul class="bullet"><li>one</li><li>2</ul><br><ul class="bullet"><li><ul class="bullet"><li>ul2</ul></li></ul></body></html>
The regression bisects to PR 3268, that changes src/node/utils/ExportHtml.js.
Steps to reproduce:
- clean up the installation:
rm -rf node_modules src/node_modules
- update to revision bacc37cf9b3a (the last one before merging the PR)
- start Etherpad with
bin/run.sh
- in another console, start
bin/backendTests.sh
(the whole test suite takes ~2 seconds to run) - the tests will pass
- stop Etherpad
- update to revision fe08d2a1db5b (the one that merged the PR)
- start Etherpad with
bin/run.sh
- in another console, start
bin/backendTests.sh
- the test will not pass
- if you also want to see the wrong output given above, perform the same test on revision f2b5f3bca2bb, which introduces an explicit error message
@ilmartyrk could you have a look?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
What is Regression Testing? Test Cases (Example) - Guru99
Regression Testing means to confirm that a recent program or code change has not adversely affected existing features. In this tutorial ...
Read more >B Testing with Jest | Client-Side Web Development
This chapter introduces automated testing using the Jest framework. By following this tutorial, you will learn how to write and execute simple unit...
Read more >Guide to Python Flask Unit Testing - Code The Change Stanford
Unit Testing: Tests small components of the program (units) in isolation. For example, you might test each individual function. Integration Testing: Tests ......
Read more >Automated Regression Testing for Backend UI
Automated regression testing solution to speed up the regression testing execution time - scalable and fully integrated.
Read more >Autopsy: Regression Testing - The Sleuth Kit
adding an image; configuring ingest; running ingest; generating an HTML report. The tests can be invoked using ant regression-test. There is a python...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@muxator I’ll have to agree with you.
Update: discussion on this is currently taking place in https://github.com/ether/etherpad-lite/pull/3268#issuecomment-410847213 and subsequent comments. It should probably be moved here.