Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✅ Add selenium-based web tests (#1728)
* ✅ Add selenium-based web tests * 🚧 Add txt2img inpaint test * ✅ Add img2img inpaint test * ✅ Make inpaint area bigger
- Loading branch information
Showing
4 changed files
with
404 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# 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. |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.