sd-webui-controlnet/web_tests
Chenlei Hu 386adaa87e
🔧 Disable ControlNet input in img2img inpaint (#1763)
* 🎨 rename functions

* 🔧 Disallow controlnet input in img2img inpaint

*  Update img2img inpaint test
2023-07-04 22:24:31 -04:00
..
images Add selenium-based web tests (#1728) 2023-07-02 01:20:52 -04:00
README.md Add selenium-based web tests (#1728) 2023-07-02 01:20:52 -04:00
main.py 🔧 Disable ControlNet input in img2img inpaint (#1763) 2023-07-04 22:24:31 -04:00

README.md

Web Tests

Web tests are selenium-based browser interaction tests, that fully simulate actual user's behaviours.

Preparation

  • Have Google Chrome (Any version) installed.
  • Install following python packages with pip:
    • selenium
    • webdriver-manager

Run Tests

  • Have WebUI with ControlNet installed running on localhost:7860
  • Run python main.py --overwrite_expectation for the first run to set a baseline.
  • Run python main.py later to verify the baseline still holds.