Skip to content

Commit 2ce4b6e

Browse files
Add pytest markers for golden path tests and update test case
1 parent ba1908b commit 2ce4b6e

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

content-gen/tests/e2e-test/pytest.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ log_cli_level = INFO
44
log_file = logs/tests.log
55
log_file_level = INFO
66
addopts = -p no:warnings
7+
markers =
8+
gp: Golden Path tests

content-gen/tests/e2e-test/tests/test_content_gen_gp_tc.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22
import logging
33
import time
44

5+
import pytest
6+
57
from pages.HomePage import HomePage
68
from config.constants import URL
79
from tests.test_utils import log_test_summary, log_test_failure
810

911
logger = logging.getLogger(__name__)
1012

11-
13+
@pytest.mark.gp
1214
def test_validate_gp(login_logout, request):
1315
"""
1416
Test case to validate content generation golden path flow for two quick links.

0 commit comments

Comments
 (0)