Skip to content

Commit ef49665

Browse files
committed
Incorporated review comments and refactored code
1 parent 4c320c6 commit ef49665

File tree

11 files changed

+8
-518
lines changed

11 files changed

+8
-518
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,12 @@ pytest-e2e-automation framework uses built-in driver manager to handle the drive
139139
.
140140
├── / # root directory with project-wide env_configs and folders
141141
├── /mobile_app # directory with all android and ios builds
142-
├── /webdriver # directory contains all the driver binaries / Browserstack local binary
142+
├── /browserstack_local # directory contains all the driver binaries / Browserstack local binary
143143
├── /main # directory contains all the base code (utils, plugins, common steps...) for the framework
144144
├── /env_configs/ # Configurations related to framework & browser specific
145145
├── /e2e/ # Project specific files (locators, page objects, step definitions, feature files... etc)
146-
├── /e2e/features/* # Test cases written in Gherkin language
147-
├── /e2e/locators/* # Web locators for the project
146+
├── /e2e/demo_project/features/* # Test cases written in Gherkin language
147+
├── /e2e/demo_project/locators/* # Web locators for the project
148148
├── /output_data/ # Reports, downloads.... etc)
149149
├── /test_data/ # All project test data for API, WEB, Mobile tests)
150150
│ ├── /conftest.py # Step up and tear down for the tests
File renamed without changes.

e2e/demo_project/step_definitions/shared_steps/api_sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from pytest_bdd import when, parsers
22

3-
from main.api.api_utils.utils import (
3+
from main.api.utils.utils import (
44
post_request,
55
get_request,
66
put_request,
File renamed without changes.
File renamed without changes.

main/api/api_utils/utils.py renamed to main/api/utils/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
import requests
66

7-
from main.api.common.utils.custom_exceptions import InvalidFileFormatException, FileNotFoundException
8-
from main.api.common.utils.logger_config import logger
7+
from main.api.utils.custom_exceptions import InvalidFileFormatException, FileNotFoundException
8+
from main.api.utils.logger_config import logger
99

1010
session = requests.Session()
1111

31.8 MB
Binary file not shown.
7.73 MB
Binary file not shown.

0 commit comments

Comments
 (0)