test(resourceexplorer2): scope keyword OR search to its fixtures (#8041)

This commit is contained in:
Andre Kurait authored and GitHub committed 2026-11-11 14:41:30 -04:00
1 parent b8195684e7
commit 0f30a7d1f3
1 file changed
+5 -2
@@ -2148,11 +2148,14 @@ class ResourceExplorer2IntegrationTest {
@Test
void freeFormKeywordsAreOredNotAnded() {
// "s3" and "dynamodb" share no resource, so an AND reading would return nothing.
// The two fixture names share no resource, so an AND reading would return nothing. They
// are this class's own, so the page holds its bucket and table whatever else the shared
// application has indexed: a broad pair such as "s3 dynamodb" also matches other
// classes' resources, which can fill the first page ahead of either.
given()
.header("Authorization", AUTH)
.contentType("application/json")
.body("{\"QueryString\": \"s3 dynamodb\"}")
.body("{\"QueryString\": \"re2-test-bucket re2-test-table\"}")
.when()
.post("/Search")
.then()