https://github.com/atheeralzhrani/pytest_bdd_web_ui_test
https://github.com/atheeralzhrani/pytest_bdd_web_ui_test
pytest-bdd web-ui-automation web-ui-testing
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/atheeralzhrani/pytest_bdd_web_ui_test
- Owner: AtheerAlzhrani
- Created: 2025-07-05T14:58:38.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-07-05T17:49:04.000Z (6 months ago)
- Last Synced: 2025-07-05T19:00:21.072Z (6 months ago)
- Topics: pytest-bdd, web-ui-automation, web-ui-testing
- Language: Python
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DuckDuckGo Web UI BDD Tests
This project uses `pytest-bdd` and Selenium WebDriver to test the [DuckDuckGo](https://duckduckgo.com) search engine through browser-based behavior-driven development (BDD).
---
### 📁 Structure
- `features/` – Gherkin scenarios describing expected web search behavior
- `tests/` – Step definitions that automate browser actions using Selenium
---
### ✅ What It Tests
Two scenarios verify that DuckDuckGo's web interface returns relevant results for:
- 🔍 `"Koala"`
- 📜 A long historical quote from the Declaration of Independence
Each test checks:
- The DuckDuckGo homepage loads successfully
- Search results appear for the entered phrase
- At least one result contains the expected keyword or phrase
---