-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
screens/deep_traceability: edge case: truncate csv-table:: content co…
…rrectly Closes #1171
- Loading branch information
Showing
7 changed files
with
82 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
from strictdoc.core.environment import SDocRuntimeEnvironment | ||
|
||
__version__ = "0.0.42a1" | ||
__version__ = "0.0.42a2" | ||
|
||
|
||
environment = SDocRuntimeEnvironment(__file__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
...eens/deep_traceability/UC40_view_document/UC40_T03_display_inline_csv_table/document.sdoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[DOCUMENT] | ||
TITLE: Document 1 | ||
|
||
[REQUIREMENT] | ||
STATEMENT: >>> | ||
.. csv-table:: | ||
|
||
a,b,c,d | ||
e,f,g,h | ||
e,f,g,h | ||
a,b,c,d | ||
e,f,g,h | ||
e,f,g,h | ||
a,b,c,d | ||
e,f,g,h | ||
e,f,g,h | ||
a,b,c,d | ||
e,f,g,h | ||
e,f,g,h | ||
a,b,c,d | ||
e,f,g,h | ||
e,f,g,h | ||
a,b,c,d | ||
e,f,g,h | ||
e,f,g,h | ||
a,b,c,d | ||
e,f,g,h | ||
e,f,g,h | ||
a,b,c,d | ||
e,f,g,h | ||
e,f,g,h | ||
<<< |
44 changes: 44 additions & 0 deletions
44
...view_document/UC40_T03_display_inline_csv_table/test_UC40_T03_display_inline_csv_table.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
import os | ||
|
||
from seleniumbase import BaseCase | ||
|
||
from tests.end2end.helpers.components.viewtype_selector import ViewType_Selector | ||
from tests.end2end.helpers.screens.document.screen_document import ( | ||
Screen_Document, | ||
) | ||
from tests.end2end.helpers.screens.project_index.screen_project_index import ( | ||
Screen_ProjectIndex, | ||
) | ||
from tests.end2end.server import SDocTestServer | ||
|
||
path_to_this_test_file_folder = os.path.dirname(os.path.abspath(__file__)) | ||
|
||
|
||
class Test_UC40_T03_DisplayInlineCSVTable(BaseCase): | ||
def test_01(self): | ||
with SDocTestServer( | ||
input_path=path_to_this_test_file_folder | ||
) as test_server: | ||
self.open(test_server.get_host_and_port()) | ||
|
||
screen_document_tree = Screen_ProjectIndex(self) | ||
|
||
screen_document_tree.assert_on_screen() | ||
screen_document_tree.assert_contains_document("Document 1") | ||
|
||
screen_document: Screen_Document = ( | ||
screen_document_tree.do_click_on_first_document() | ||
) | ||
|
||
screen_document.assert_on_screen_document() | ||
screen_document.assert_header_document_title("Document 1") | ||
screen_document.assert_not_empty_document() | ||
|
||
screen_document.assert_no_js_and_404_errors() | ||
|
||
viewtype_selector = ViewType_Selector(self) | ||
screen_deep_traceability = ( | ||
viewtype_selector.do_go_to_deep_traceability() | ||
) | ||
screen_deep_traceability.assert_on_screen_deep_traceability() | ||
screen_deep_traceability.assert_not_empty_view() |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters