Skip to content

Commit

Permalink
test: add tests that datum contains search_on_clear value as defined …
Browse files Browse the repository at this point in the history
…in suite
  • Loading branch information
Jtang-1 authored and github-actions committed Jan 22, 2024
1 parent a118ac7 commit 3ca9cb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ public void testRemoteQueryDatum() throws Exception {
Assert.assertEquals("Description text", description.evaluate());

Assert.assertTrue(((RemoteQueryDatum)datum).getDynamicSearch());

Assert.assertTrue(((RemoteQueryDatum)datum).isSearchOnClear());
}

@Test
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/case_claim_example/suite.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<instance id="casedb" src="jr://instance/casedb"/>
<instance id="my-search-input" src="jr://instance/search-input/patients"/>
<session>
<query url="https://www.fake.com/patient_search/" storage-instance="patients" dynamic_search="true">
<query url="https://www.fake.com/patient_search/" storage-instance="patients" dynamic_search="true" search_on_clear="true">
<title>
<text>
<locale id="query.title"/>
Expand Down

0 comments on commit 3ca9cb5

Please sign in to comment.