Update test_recognize_face.py
Browse files- test_recognize_face.py +2 -2
test_recognize_face.py
CHANGED
|
@@ -2,13 +2,13 @@ import streamlit.testing as stt
|
|
| 2 |
|
| 3 |
def test_recognize_face():
|
| 4 |
with stt.install_test_input():
|
| 5 |
-
stt.test_runner.start("
|
| 6 |
|
| 7 |
# Select the "Recognize Face" option
|
| 8 |
stt.test_input("Select Option", "Recognize Face")
|
| 9 |
|
| 10 |
# Upload an image for face recognition
|
| 11 |
-
stt.test_input("Upload Image", "
|
| 12 |
|
| 13 |
# Click the "Recognize Face" button
|
| 14 |
stt.test_input("Recognize Face")
|
|
|
|
| 2 |
|
| 3 |
def test_recognize_face():
|
| 4 |
with stt.install_test_input():
|
| 5 |
+
stt.test_runner.start("app.py")
|
| 6 |
|
| 7 |
# Select the "Recognize Face" option
|
| 8 |
stt.test_input("Select Option", "Recognize Face")
|
| 9 |
|
| 10 |
# Upload an image for face recognition
|
| 11 |
+
stt.test_input("Upload Image", "random.jpg")
|
| 12 |
|
| 13 |
# Click the "Recognize Face" button
|
| 14 |
stt.test_input("Recognize Face")
|