Skip to content

Commit

Permalink
Add test case for border sytle
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinRiese committed Nov 24, 2023
1 parent 24a0e30 commit 3a0750a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,13 @@ public void testDetailWithFieldAction() {
assertFalse(endpoint.isRespectRelevancy());
}

@Test
public void testDetailWithBorder() {
Detail detail = mApp.getSession().getPlatform().getDetail("m0_case_short");
DetailField field1 = detail.getFields()[0];
assertTrue(field1.getShowBorder());
}

@Test
public void testDefaultEndpointRelevancy_shouldBeTrue() {
Endpoint endpoint = mApp.getSession().getPlatform().getEndpoint("endpoint_with_no_relevancy");
Expand Down
3 changes: 3 additions & 0 deletions src/test/resources/app_structure/suite.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@
</field>
</lookup>
<field>
<style horz-align="left" vert-align="center" font-size="small" show-border="true">
<grid grid-height="2" grid-width="3" grid-x="3" grid-y="5"/>
</style>
<header>
<text>Name</text>
</header>
Expand Down

0 comments on commit 3a0750a

Please sign in to comment.