Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions API/api.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import requests

for i in range(5):
url = "https://dog.ceo/api/breeds/image/random"
response = requests.get(url)
data = response.json()
print(data["message"])
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ A modular, pytest-based **Playwright (Python)** framework for web UI testing.
```bash
python scripts/bootstrap_signup.py --name "Jane Doe" --email "jane@example.com" --password "StrongPass123" --storage "auth/storage_state.json"
```
```bash
python -m scripts.bootstrap_signup --name "Jane Doe" --email "test@example.com" --password "StrongPass123" --storage "auth/storage_state.json"
```

4. **Verify session works (smoke test)**
```bash
Expand Down Expand Up @@ -74,6 +77,8 @@ playwright install
Run the bootstrap script (signup → login → save session):
```bash
python scripts/bootstrap_signup.py --name "Jane Doe" --email "jane@example.com" --password "StrongPass123" --storage "auth/storage_state.json"
```bash
python -m scripts.bootstrap_signup --name "Jane Doe" --email "test@example.com" --password "StrongPass123" --storage "auth/storage_state.json"
```
This will:
- Open the demo **Sign Up** page (`/signup.html`)
Expand Down Expand Up @@ -247,3 +252,5 @@ pytest -vv --html=reports/html/report.html --self-contained-html
---

🎉 You’re all set — the framework signs up, logs in, saves the session, and reuses it for fast, reliable tests.

Watson Testing here :)
1 change: 1 addition & 0 deletions node_modules/.bin/acorn

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/mcr

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/node-which

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/semver

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

282 changes: 282 additions & 0 deletions node_modules/.package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading