Files
stable-diffusion-webui-forge/extensions-builtin/sd_forge_controlnet/web_tests
lllyasviel ccea2f3305 upload a cn
2024-01-27 10:34:31 -08:00
..
2024-01-27 10:34:31 -08:00
2024-01-27 10:34:31 -08:00
2024-01-27 10:34:31 -08:00

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.