mirror of
https://gitee.com/dcren/initializr.git
synced 2025-12-26 22:25:51 +08:00
Since Htmlunit does not provide a complete support for Javascript, smoke tests are migrated to Gab (i.e. using Selenium and an actual browser). This present a major challenge: it is not easy to assert the content of a file that the browser downloads when it submits a form. First, the browser should be configured to download the file directly instead of opening a (native) pop-up asking the users where to download it. Then, the tests should be aware of the location of the file in order to assert it. Hopefully, Firefox can be configured to achieve this goal. Closes gh-75
8.9 KiB
8.9 KiB