|
1 | 1 | [](https://travis-ci.org/vyahello/python-page-object)
|
2 | 2 | [](https://coveralls.io/github/vyahello/python-page-object?branch=master)
|
| 3 | +[](https://github.com/vyahello/python-page-object/releases) |
3 | 4 | [](https://GitHub.com/vyahello/python-page-object/graphs/watchers/)
|
4 | 5 | [](https://github.com/vyahello/python-page-object/network/members)
|
5 | 6 | [](https://github.com/vyahello/python-page-object/stargazers)
|
6 | 7 | [](https://GitHub.com/vyahello/python-page-object/graphs/contributors/)
|
7 |
| -[](LICENSE.md) |
8 | 8 |
|
9 |
| -[](https://www.elegantobjects.org) |
| 9 | +[](LICENSE.md) |
10 | 10 | [](https://hitsofcode.com/view/github/vyahello/python-page-object)
|
| 11 | +[](https://www.elegantobjects.org) |
| 12 | + |
11 | 13 |
|
12 | 14 | # Python page object model
|
13 | 15 |
10000
> Represent most popular OOD pattern for Web UI automation using python programming language.
|
14 | 16 | >
|
15 |
| -> Automated tests are demonstrated on http://newtours.demoaut.com/mercurywelcome.php web app. Enjoy it! |
| 17 | +> Automated tests are demonstrated on http://newtours.demoaut.com/mercurywelcome.php web app. |
| 18 | +> Enjoy it! |
16 | 19 |
|
17 | 20 | **Tools**
|
18 |
| -> - `python 3.6+` |
19 |
| -> - `selenium` and `pom` |
20 |
| -> - `pytest` |
21 |
| -> - `allure` reporting |
22 |
| -> - `travis CI` |
| 21 | +- python 3.6+ |
| 22 | +- [selenium](https://selenium.dev/) and [pom](https://www.guru99.com/page-object-model-pom-page-factory-in-selenium-ultimate-guide.html) |
| 23 | +- [pytest](https://pypi.org/project/pytest/) |
| 24 | +- [allure](https://docs.qameta.io/allure/) reporting |
| 25 | +- [travis CI](https://travis-ci.org/) |
23 | 26 |
|
24 |
| -In addition code is `fully type annotated` and covered with static code analysis tools (`black`, `flake8` and `mypy`). |
| 27 | +In addition code is **fully** [type annotated](https://docs.python.org/3/library/typing.html) and covered with static code analysis tools ([black](https://pypi.org/project/black/), [flake8](https://pypi.org/project/flake8/) and [mypy](https://pypi.org/project/mypy/)). |
25 | 28 |
|
26 | 29 | ## Usage
|
27 | 30 | From the root directory of your shell run following commands:
|
@@ -49,15 +52,15 @@ Run a bunch of tests (e.g smoke) via following command:
|
49 | 52 |
|
50 | 53 | After please open `test-report.html` file to see detailed testing report:
|
51 | 54 |
|
52 |
| - |
| 55 | + |
53 | 56 |
|
54 | 57 | ### Generate allure report
|
55 | 58 | Please follow next instruction to generate allure report (mac OS example):
|
56 | 59 | 1. Update java via `brew cask install adoptopenjdk`
|
57 | 60 | 2. Install allure via `brew install allure`
|
58 | 61 | 3. Generate allure project via `allure serve report`
|
59 | 62 |
|
60 |
| - |
| 63 | + |
61 | 64 |
|
62 | 65 | ## Development notes
|
63 | 66 |
|
|
0 commit comments