Skip to content

Commit

Permalink
feat: added allure
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhikharevAl committed Nov 9, 2024
1 parent a36d962 commit 7d27a1c
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions tests/test_open_new_account.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import allure
import pytest

from config.config import BASE_URL, OPEN_NEW_ACCOUNT_URL
Expand All @@ -7,6 +8,29 @@
from tests.base.base_test import BaseTest


@allure.epic("Banking Application")
@allure.feature("Account Management")
@allure.description_html("""
<h2>Testing New Account Creation Functionality</h2>
<p>Test verifies the process of opening new accounts with different types:</p>
<ul>
<li>Savings Account creation</li>
<li>Checking Account creation</li>
</ul>
<p>The test performs the following operations:</p>
<ul>
<li>Navigation to the Open New Account page</li>
<li>Selection of account type (Savings/Checking)</li>
<li>Selection of existing account for linking</li>
<li>Account creation confirmation</li>
</ul>
<p>Expected Results:</p>
<ul>
<li>Successfully navigate to the account creation page</li>
<li>Create new account of specified type</li>
<li>Receive confirmation of account creation</li>
</ul>
""")
class TestOpenNewAccount(BaseTest):
"""The test class for the open new account page."""

Expand Down

0 comments on commit 7d27a1c

Please sign in to comment.