Skip to content

Commit e988d13

Browse files
committed
fix: make proposal title search case-insensitive
1 parent 5f6bf60 commit e988d13

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/govtool-frontend/playwright/tests/8-proposal-discussion/proposalDiscussion.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,9 @@ test("8C. Should search the list of proposed governance actions.", async ({
156156
const proposalTitle = await proposalCard
157157
.locator('[data-testid^="proposal-"][data-testid$="-title"]')
158158
.innerText();
159-
expect(proposalTitle.trim()).toContain(proposalName.trim());
159+
expect(proposalTitle.toLowerCase().trim()).toContain(
160+
proposalName.toLowerCase().trim()
161+
);
160162
}
161163
},
162164
{

0 commit comments

Comments
 (0)