From 7bce40360fd4c6df95295863a462dcbea45d74d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EF=B8=8FYaskur=20Dyas=E2=9A=94=E2=9A=94=EF=B8=8F=E2=9A=94?= Date: Sun, 15 Dec 2024 16:48:53 +0700 Subject: [PATCH] test: fix unit test --- tests/json/vote_card.json | 42 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/tests/json/vote_card.json b/tests/json/vote_card.json index 8d6531d..4d71bc8 100644 --- a/tests/json/vote_card.json +++ b/tests/json/vote_card.json @@ -60,6 +60,27 @@ { "collapsible": true, "uncollapsibleWidgetsCount": 1, + "collapseControl": { + "horizontalAlignment": "CENTER", + "collapseButton": { + "icon": { + "materialIcon": { + "name": "visibility_off" + } + }, + "text": "Hide Voters", + "type": "BORDERLESS" + }, + "expandButton": { + "icon": { + "materialIcon": { + "name": "visibility" + } + }, + "text": "Show Voters", + "type": "BORDERLESS" + } + }, "widgets": [ { "decoratedText": { @@ -92,6 +113,27 @@ { "collapsible": true, "uncollapsibleWidgetsCount": 1, + "collapseControl": { + "horizontalAlignment": "CENTER", + "collapseButton": { + "icon": { + "materialIcon": { + "name": "visibility_off" + } + }, + "text": "Hide Voters", + "type": "BORDERLESS" + }, + "expandButton": { + "icon": { + "materialIcon": { + "name": "visibility" + } + }, + "text": "Show Voters", + "type": "BORDERLESS" + } + }, "widgets": [ { "decoratedText": {