StrictDoc Documentation
tests/end2end/screens/traceability_matrix/view_traceability_matrix/test_case.py
Source file coverage
Path:
tests/end2end/screens/traceability_matrix/view_traceability_matrix/test_case.py
Lines:
33
Non-empty lines:
26
Non-empty lines covered with requirements:
26 / 26 (100.0%)
Functions:
2
Functions covered by requirements:
2 / 2 (100.0%)
1
"""
2
@relation(SDOC-SRS-112, scope=file)
3
"""
4
 
5
import os
6
 
7
from tests.end2end.e2e_case import E2ECase
8
from tests.end2end.helpers.screens.project_index.screen_project_index import (
9
    Screen_ProjectIndex,
10
)
11
from tests.end2end.helpers.screens.traceability_matrix.screen_requirements_coverage import (
12
    Screen_RequirementsCoverage,
13
)
14
from tests.end2end.server import SDocTestServer
15
 
16
path_to_this_test_file_folder = os.path.dirname(os.path.abspath(__file__))
17
 
18
 
19
class Test(E2ECase):
20
    def test(self):
21
        with SDocTestServer(
22
            input_path=path_to_this_test_file_folder
23
        ) as test_server:
24
            self.open(test_server.get_host_and_port())
25
 
26
            screen_project_index = Screen_ProjectIndex(self)
27
            screen_project_index.assert_on_screen()
28
            screen_project_index.assert_link_to_requirements_coverage_present()
29
 
30
            screen_requirements_coverage: Screen_RequirementsCoverage = (
31
                screen_project_index.do_click_on_requirements_coverage_link()
32
            )
33
            screen_requirements_coverage.assert_on_screen()