From e9d429d360f467d9433c7a5cf9c5ae69fc4dfc62 Mon Sep 17 00:00:00 2001 From: Niraj Date: Fri, 14 Feb 2025 14:49:08 +0545 Subject: [PATCH 1/7] fix: test 8D by removing unecessary intercept and testid updates --- .../playwright/lib/_mock/infoProposedGAs.json | 1110 -------------- .../lib/_mock/treasuryProposedGAs.json | 1362 ----------------- .../proposalDiscussion.spec.ts | 31 +- 3 files changed, 6 insertions(+), 2497 deletions(-) delete mode 100644 tests/govtool-frontend/playwright/lib/_mock/infoProposedGAs.json delete mode 100644 tests/govtool-frontend/playwright/lib/_mock/treasuryProposedGAs.json diff --git a/tests/govtool-frontend/playwright/lib/_mock/infoProposedGAs.json b/tests/govtool-frontend/playwright/lib/_mock/infoProposedGAs.json deleted file mode 100644 index f5fe2f80f..000000000 --- a/tests/govtool-frontend/playwright/lib/_mock/infoProposedGAs.json +++ /dev/null @@ -1,1110 +0,0 @@ -{ - "data": [ - { - "id": 339, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "137", - "createdAt": "2024-07-01T10:19:22.617Z", - "updatedAt": "2024-07-01T10:19:22.617Z", - "user_govtool_username": "No name", - "content": { - "id": 338, - "attributes": { - "proposal_id": "339", - "prop_rev_active": true, - "prop_abstract": " ", - "prop_motivation": " ", - "prop_rationale": " ", - "gov_action_type_id": "1", - "prop_name": "First Draft", - "prop_receiving_address": null, - "prop_amount": null, - "createdAt": "2024-07-01T10:19:22.617Z", - "updatedAt": "2024-07-01T10:19:22.617Z", - "is_draft": false, - "user_id": "137", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "proposal_links": [], - "gov_action_type": { - "id": 1, - "attributes": { - "gov_action_type_name": "Info", - "createdAt": "2024-05-27T15:06:15.640Z", - "updatedAt": "2024-05-27T15:06:15.640Z" - } - } - } - } - } - }, - { - "id": 329, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "20", - "createdAt": "2024-07-01T06:18:34.760Z", - "updatedAt": "2024-07-01T06:18:34.760Z", - "user_govtool_username": "Anonymous", - "content": { - "id": 328, - "attributes": { - "proposal_id": "329", - "prop_rev_active": true, - "prop_abstract": " ", - "prop_motivation": " ", - "prop_rationale": " ", - "gov_action_type_id": "1", - "prop_name": "dQuad draft", - "prop_receiving_address": null, - "prop_amount": null, - "createdAt": "2024-07-01T06:18:34.760Z", - "updatedAt": "2024-07-01T06:18:34.760Z", - "is_draft": false, - "user_id": "20", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "proposal_links": [], - "gov_action_type": { - "id": 1, - "attributes": { - "gov_action_type_name": "Info", - "createdAt": "2024-05-27T15:06:15.640Z", - "updatedAt": "2024-05-27T15:06:15.640Z" - } - } - } - } - } - }, - { - "id": 323, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "20", - "createdAt": "2024-07-01T06:05:41.221Z", - "updatedAt": "2024-07-01T06:05:41.221Z", - "user_govtool_username": "Anonymous", - "content": { - "id": 322, - "attributes": { - "proposal_id": "323", - "prop_rev_active": true, - "prop_abstract": " ", - "prop_motivation": " ", - "prop_rationale": " ", - "gov_action_type_id": "1", - "prop_name": " ", - "prop_receiving_address": null, - "prop_amount": null, - "createdAt": "2024-07-01T06:05:41.235Z", - "updatedAt": "2024-07-01T06:05:41.235Z", - "is_draft": false, - "user_id": "20", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "proposal_links": [], - "gov_action_type": { - "id": 1, - "attributes": { - "gov_action_type_name": "Info", - "createdAt": "2024-05-27T15:06:15.640Z", - "updatedAt": "2024-05-27T15:06:15.640Z" - } - } - } - } - } - }, - { - "id": 319, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "127", - "createdAt": "2024-06-27T10:10:47.816Z", - "updatedAt": "2024-06-27T10:10:47.816Z", - "user_govtool_username": "Val", - "content": { - "id": 318, - "attributes": { - "proposal_id": "319", - "prop_rev_active": true, - "prop_abstract": "Summary", - "prop_motivation": "Motivation", - "prop_rationale": "Rationale", - "gov_action_type_id": "1", - "prop_name": "New proposal", - "prop_receiving_address": null, - "prop_amount": null, - "createdAt": "2024-06-27T10:10:47.838Z", - "updatedAt": "2024-06-27T10:10:47.838Z", - "is_draft": false, - "user_id": "127", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "proposal_links": [ - { - "id": 62, - "prop_link": "https://docs.intersectmbo.org/intersect-community-grants/closed-grants/proposal-discussion-forum", - "prop_link_text": null - } - ], - "gov_action_type": { - "id": 1, - "attributes": { - "gov_action_type_name": "Info", - "createdAt": "2024-05-27T15:06:15.640Z", - "updatedAt": "2024-05-27T15:06:15.640Z" - } - } - } - } - } - }, - { - "id": 305, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 1, - "user_id": "127", - "createdAt": "2024-06-24T13:09:54.524Z", - "updatedAt": "2024-06-27T09:55:44.508Z", - "user_govtool_username": "Val", - "content": { - "id": 317, - "attributes": { - "proposal_id": "305", - "prop_rev_active": true, - "prop_abstract": "na", - "prop_motivation": "na", - "prop_rationale": "na", - "gov_action_type_id": "1", - "prop_name": "New Title", - "prop_receiving_address": null, - "prop_amount": null, - "createdAt": "2024-06-27T09:55:14.956Z", - "updatedAt": "2024-06-27T09:55:14.956Z", - "is_draft": false, - "user_id": "127", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "proposal_links": [], - "gov_action_type": { - "id": 1, - "attributes": { - "gov_action_type_name": "Info", - "createdAt": "2024-05-27T15:06:15.640Z", - "updatedAt": "2024-05-27T15:06:15.640Z" - } - } - } - } - } - }, - { - "id": 318, - "attributes": { - "prop_likes": 1, - "prop_dislikes": 0, - "prop_comments_number": 4, - "user_id": "137", - "createdAt": "2024-06-27T02:33:45.412Z", - "updatedAt": "2024-06-27T10:04:12.908Z", - "user_govtool_username": "No name", - "content": { - "id": 316, - "attributes": { - "proposal_id": "318", - "prop_rev_active": true, - "prop_abstract": " ", - "prop_motivation": " ", - "prop_rationale": " ", - "gov_action_type_id": "1", - "prop_name": " ", - "prop_receiving_address": null, - "prop_amount": null, - "createdAt": "2024-06-27T02:33:45.426Z", - "updatedAt": "2024-06-27T02:33:45.426Z", - "is_draft": false, - "user_id": "137", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "proposal_links": [], - "gov_action_type": { - "id": 1, - "attributes": { - "gov_action_type_name": "Info", - "createdAt": "2024-05-27T15:06:15.640Z", - "updatedAt": "2024-05-27T15:06:15.640Z" - } - } - } - } - } - }, - { - "id": 317, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 1, - "user_id": "124", - "createdAt": "2024-06-27T01:39:54.268Z", - "updatedAt": "2024-06-27T02:07:24.503Z", - "user_govtool_username": "Test", - "content": { - "id": 315, - "attributes": { - "proposal_id": "317", - "prop_rev_active": true, - "prop_abstract": " ", - "prop_motivation": " ", - "prop_rationale": " ", - "gov_action_type_id": "1", - "prop_name": " ", - "prop_receiving_address": null, - "prop_amount": null, - "createdAt": "2024-06-27T01:39:54.283Z", - "updatedAt": "2024-06-27T01:39:54.283Z", - "is_draft": false, - "user_id": "124", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "proposal_links": [], - "gov_action_type": { - "id": 1, - "attributes": { - "gov_action_type_name": "Info", - "createdAt": "2024-05-27T15:06:15.640Z", - "updatedAt": "2024-05-27T15:06:15.640Z" - } - } - } - } - } - }, - { - "id": 313, - "attributes": { - "prop_likes": 1, - "prop_dislikes": 0, - "prop_comments_number": 2, - "user_id": "19", - "createdAt": "2024-06-26T04:00:01.483Z", - "updatedAt": "2024-06-26T13:02:23.814Z", - "user_govtool_username": "pm00", - "content": { - "id": 309, - "attributes": { - "proposal_id": "313", - "prop_rev_active": true, - "prop_abstract": "test", - "prop_motivation": "test", - "prop_rationale": "test", - "gov_action_type_id": "1", - "prop_name": "test", - "prop_receiving_address": null, - "prop_amount": null, - "createdAt": "2024-06-26T04:00:01.497Z", - "updatedAt": "2024-06-26T04:00:01.497Z", - "is_draft": false, - "user_id": "19", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "proposal_links": [], - "gov_action_type": { - "id": 1, - "attributes": { - "gov_action_type_name": "Info", - "createdAt": "2024-05-27T15:06:15.640Z", - "updatedAt": "2024-05-27T15:06:15.640Z" - } - } - } - } - } - }, - { - "id": 312, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "19", - "createdAt": "2024-06-26T02:55:19.093Z", - "updatedAt": "2024-06-26T02:55:19.093Z", - "user_govtool_username": "pm00", - "content": { - "id": 308, - "attributes": { - "proposal_id": "312", - "prop_rev_active": true, - "prop_abstract": "test", - "prop_motivation": "test", - "prop_rationale": "test", - "gov_action_type_id": "1", - "prop_name": "test", - "prop_receiving_address": null, - "prop_amount": null, - "createdAt": "2024-06-26T02:55:19.113Z", - "updatedAt": "2024-06-26T02:55:19.113Z", - "is_draft": false, - "user_id": "19", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "proposal_links": [ - { - "id": 56, - "prop_link": "https://test.com", - "prop_link_text": null - } - ], - "gov_action_type": { - "id": 1, - "attributes": { - "gov_action_type_name": "Info", - "createdAt": "2024-05-27T15:06:15.640Z", - "updatedAt": "2024-05-27T15:06:15.640Z" - } - } - } - } - } - }, - { - "id": 311, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "19", - "createdAt": "2024-06-26T01:35:26.674Z", - "updatedAt": "2024-06-26T01:35:26.674Z", - "user_govtool_username": "pm00", - "content": { - "id": 307, - "attributes": { - "proposal_id": "311", - "prop_rev_active": true, - "prop_abstract": "test", - "prop_motivation": "test", - "prop_rationale": "test", - "gov_action_type_id": "1", - "prop_name": "test", - "prop_receiving_address": null, - "prop_amount": null, - "createdAt": "2024-06-26T01:35:26.697Z", - "updatedAt": "2024-06-26T01:35:26.697Z", - "is_draft": false, - "user_id": "19", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "proposal_links": [ - { - "id": 55, - "prop_link": "https://test.com", - "prop_link_text": null - } - ], - "gov_action_type": { - "id": 1, - "attributes": { - "gov_action_type_name": "Info", - "createdAt": "2024-05-27T15:06:15.640Z", - "updatedAt": "2024-05-27T15:06:15.640Z" - } - } - } - } - } - }, - { - "id": 310, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "19", - "createdAt": "2024-06-26T01:28:56.923Z", - "updatedAt": "2024-06-26T01:28:56.923Z", - "user_govtool_username": "pm00", - "content": { - "id": 306, - "attributes": { - "proposal_id": "310", - "prop_rev_active": true, - "prop_abstract": "test", - "prop_motivation": "test", - "prop_rationale": "test", - "gov_action_type_id": "1", - "prop_name": "test", - "prop_receiving_address": null, - "prop_amount": null, - "createdAt": "2024-06-26T01:28:56.947Z", - "updatedAt": "2024-06-26T01:28:56.947Z", - "is_draft": false, - "user_id": "19", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "proposal_links": [ - { - "id": 54, - "prop_link": "https://test.com", - "prop_link_text": null - } - ], - "gov_action_type": { - "id": 1, - "attributes": { - "gov_action_type_name": "Info", - "createdAt": "2024-05-27T15:06:15.640Z", - "updatedAt": "2024-05-27T15:06:15.640Z" - } - } - } - } - } - }, - { - "id": 309, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "19", - "createdAt": "2024-06-25T22:55:52.976Z", - "updatedAt": "2024-06-25T22:55:52.976Z", - "user_govtool_username": "pm00", - "content": { - "id": 305, - "attributes": { - "proposal_id": "309", - "prop_rev_active": true, - "prop_abstract": "test", - "prop_motivation": "test", - "prop_rationale": "test", - "gov_action_type_id": "1", - "prop_name": "test", - "prop_receiving_address": null, - "prop_amount": null, - "createdAt": "2024-06-25T22:55:53.005Z", - "updatedAt": "2024-06-25T22:55:53.005Z", - "is_draft": false, - "user_id": "19", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "proposal_links": [ - { - "id": 53, - "prop_link": "dfsd", - "prop_link_text": null - } - ], - "gov_action_type": { - "id": 1, - "attributes": { - "gov_action_type_name": "Info", - "createdAt": "2024-05-27T15:06:15.640Z", - "updatedAt": "2024-05-27T15:06:15.640Z" - } - } - } - } - } - }, - { - "id": 303, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "135", - "createdAt": "2024-06-24T10:20:19.799Z", - "updatedAt": "2024-06-24T10:20:19.799Z", - "user_govtool_username": "TestingUser", - "content": { - "id": 299, - "attributes": { - "proposal_id": "303", - "prop_rev_active": true, - "prop_abstract": "Test", - "prop_motivation": "Test", - "prop_rationale": "Test", - "gov_action_type_id": "1", - "prop_name": "Test", - "prop_receiving_address": null, - "prop_amount": null, - "createdAt": "2024-06-24T10:20:19.810Z", - "updatedAt": "2024-06-24T10:20:19.810Z", - "is_draft": false, - "user_id": "135", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "proposal_links": [], - "gov_action_type": { - "id": 1, - "attributes": { - "gov_action_type_name": "Info", - "createdAt": "2024-05-27T15:06:15.640Z", - "updatedAt": "2024-05-27T15:06:15.640Z" - } - } - } - } - } - }, - { - "id": 302, - "attributes": { - "prop_likes": 1, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "19", - "createdAt": "2024-06-20T15:50:40.146Z", - "updatedAt": "2024-06-20T18:29:28.590Z", - "user_govtool_username": "pm00", - "content": { - "id": 298, - "attributes": { - "proposal_id": "302", - "prop_rev_active": true, - "prop_abstract": "test", - "prop_motivation": "test", - "prop_rationale": "test", - "gov_action_type_id": "1", - "prop_name": "test", - "prop_receiving_address": null, - "prop_amount": null, - "createdAt": "2024-06-20T16:02:33.770Z", - "updatedAt": "2024-06-20T16:02:33.770Z", - "is_draft": false, - "user_id": "19", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "proposal_links": [ - { - "id": 49, - "prop_link": "https://test.com/", - "prop_link_text": null - } - ], - "gov_action_type": { - "id": 1, - "attributes": { - "gov_action_type_name": "Info", - "createdAt": "2024-05-27T15:06:15.640Z", - "updatedAt": "2024-05-27T15:06:15.640Z" - } - } - } - } - } - }, - { - "id": 301, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 1, - "prop_comments_number": 13, - "user_id": "6", - "createdAt": "2024-06-20T14:10:41.553Z", - "updatedAt": "2024-06-20T15:39:13.447Z", - "user_govtool_username": "lorenzo.bruno@intersectmbo.org", - "content": { - "id": 296, - "attributes": { - "proposal_id": "301", - "prop_rev_active": true, - "prop_abstract": "ds", - "prop_motivation": "ds", - "prop_rationale": "ds", - "gov_action_type_id": "1", - "prop_name": "ds", - "prop_receiving_address": null, - "prop_amount": null, - "createdAt": "2024-06-20T14:10:41.564Z", - "updatedAt": "2024-06-20T14:10:41.564Z", - "is_draft": false, - "user_id": "6", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "proposal_links": [], - "gov_action_type": { - "id": 1, - "attributes": { - "gov_action_type_name": "Info", - "createdAt": "2024-05-27T15:06:15.640Z", - "updatedAt": "2024-05-27T15:06:15.640Z" - } - } - } - } - } - }, - { - "id": 299, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 5, - "user_id": "32", - "createdAt": "2024-06-20T10:47:43.456Z", - "updatedAt": "2024-06-20T13:46:49.580Z", - "user_govtool_username": "Michal", - "content": { - "id": 294, - "attributes": { - "proposal_id": "299", - "prop_rev_active": true, - "prop_abstract": "Test Abstract", - "prop_motivation": "Test Motivation", - "prop_rationale": "Test Rationale", - "gov_action_type_id": "1", - "prop_name": "Test", - "prop_receiving_address": null, - "prop_amount": null, - "createdAt": "2024-06-20T10:47:43.469Z", - "updatedAt": "2024-06-20T10:47:43.469Z", - "is_draft": false, - "user_id": "32", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "proposal_links": [], - "gov_action_type": { - "id": 1, - "attributes": { - "gov_action_type_name": "Info", - "createdAt": "2024-05-27T15:06:15.640Z", - "updatedAt": "2024-05-27T15:06:15.640Z" - } - } - } - } - } - }, - { - "id": 297, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "19", - "createdAt": "2024-06-19T15:57:47.949Z", - "updatedAt": "2024-06-19T15:57:47.949Z", - "user_govtool_username": "pm00", - "content": { - "id": 292, - "attributes": { - "proposal_id": "297", - "prop_rev_active": true, - "prop_abstract": "test", - "prop_motivation": "test", - "prop_rationale": "test", - "gov_action_type_id": "1", - "prop_name": "test", - "prop_receiving_address": null, - "prop_amount": null, - "createdAt": "2024-06-19T15:57:47.968Z", - "updatedAt": "2024-06-19T15:57:47.968Z", - "is_draft": false, - "user_id": "19", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "proposal_links": [ - { - "id": 47, - "prop_link": "test.com", - "prop_link_text": null - } - ], - "gov_action_type": { - "id": 1, - "attributes": { - "gov_action_type_name": "Info", - "createdAt": "2024-05-27T15:06:15.640Z", - "updatedAt": "2024-05-27T15:06:15.640Z" - } - } - } - } - } - }, - { - "id": 331, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "124", - "createdAt": "2024-06-19T10:28:05.678Z", - "updatedAt": "2024-06-19T10:28:05.678Z", - "user_govtool_username": "Test", - "content": { - "id": 330, - "attributes": { - "proposal_id": "331", - "prop_rev_active": true, - "prop_abstract": " ", - "prop_motivation": " ", - "prop_rationale": " ", - "gov_action_type_id": "1", - "prop_name": " ", - "prop_receiving_address": null, - "prop_amount": null, - "createdAt": "2024-06-19T10:28:05.678Z", - "updatedAt": "2024-06-19T10:28:05.678Z", - "is_draft": false, - "user_id": "124", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "proposal_links": [], - "gov_action_type": { - "id": 1, - "attributes": { - "gov_action_type_name": "Info", - "createdAt": "2024-05-27T15:06:15.640Z", - "updatedAt": "2024-05-27T15:06:15.640Z" - } - } - } - } - } - }, - { - "id": 292, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 5, - "user_id": "124", - "createdAt": "2024-06-19T09:41:12.144Z", - "updatedAt": "2024-06-19T15:57:16.935Z", - "user_govtool_username": "Test", - "content": { - "id": 287, - "attributes": { - "proposal_id": "292", - "prop_rev_active": true, - "prop_abstract": "Fake abstract", - "prop_motivation": " Fake Motivation", - "prop_rationale": " Fake Rationale", - "gov_action_type_id": "1", - "prop_name": "fake title", - "prop_receiving_address": null, - "prop_amount": null, - "createdAt": "2024-06-19T10:13:32.814Z", - "updatedAt": "2024-06-19T10:13:32.814Z", - "is_draft": false, - "user_id": "124", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "proposal_links": [ - { - "id": 45, - "prop_link": "google.com", - "prop_link_text": "Google" - } - ], - "gov_action_type": { - "id": 1, - "attributes": { - "gov_action_type_name": "Info", - "createdAt": "2024-05-27T15:06:15.640Z", - "updatedAt": "2024-05-27T15:06:15.640Z" - } - } - } - } - } - }, - { - "id": 291, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "129", - "createdAt": "2024-06-19T08:00:31.668Z", - "updatedAt": "2024-06-19T08:00:31.668Z", - "user_govtool_username": "Niraj3", - "content": { - "id": 285, - "attributes": { - "proposal_id": "291", - "prop_rev_active": true, - "prop_abstract": " ", - "prop_motivation": " ", - "prop_rationale": " ", - "gov_action_type_id": "1", - "prop_name": " ", - "prop_receiving_address": null, - "prop_amount": null, - "createdAt": "2024-06-19T08:00:31.668Z", - "updatedAt": "2024-06-19T08:00:31.668Z", - "is_draft": false, - "user_id": "129", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "proposal_links": [], - "gov_action_type": { - "id": 1, - "attributes": { - "gov_action_type_name": "Info", - "createdAt": "2024-05-27T15:06:15.640Z", - "updatedAt": "2024-05-27T15:06:15.640Z" - } - } - } - } - } - }, - { - "id": 286, - "attributes": { - "prop_likes": 1, - "prop_dislikes": 0, - "prop_comments_number": 2, - "user_id": "127", - "createdAt": "2024-06-18T14:50:58.504Z", - "updatedAt": "2024-06-19T12:30:16.464Z", - "user_govtool_username": "Val", - "content": { - "id": 280, - "attributes": { - "proposal_id": "286", - "prop_rev_active": true, - "prop_abstract": "na", - "prop_motivation": "na", - "prop_rationale": "na", - "gov_action_type_id": "1", - "prop_name": "Test 4", - "prop_receiving_address": null, - "prop_amount": null, - "createdAt": "2024-06-18T14:50:58.516Z", - "updatedAt": "2024-06-18T14:50:58.516Z", - "is_draft": false, - "user_id": "127", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "proposal_links": [], - "gov_action_type": { - "id": 1, - "attributes": { - "gov_action_type_name": "Info", - "createdAt": "2024-05-27T15:06:15.640Z", - "updatedAt": "2024-05-27T15:06:15.640Z" - } - } - } - } - } - }, - { - "id": 333, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "126", - "createdAt": "2024-06-18T08:18:26.508Z", - "updatedAt": "2024-06-18T08:18:26.508Z", - "user_govtool_username": "Kneerose", - "content": { - "id": 332, - "attributes": { - "proposal_id": "333", - "prop_rev_active": true, - "prop_abstract": " ", - "prop_motivation": " ", - "prop_rationale": " ", - "gov_action_type_id": "1", - "prop_name": " test", - "prop_receiving_address": null, - "prop_amount": null, - "createdAt": "2024-06-18T08:18:26.508Z", - "updatedAt": "2024-06-18T08:18:26.508Z", - "is_draft": false, - "user_id": "126", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "proposal_links": [], - "gov_action_type": { - "id": 1, - "attributes": { - "gov_action_type_name": "Info", - "createdAt": "2024-05-27T15:06:15.640Z", - "updatedAt": "2024-05-27T15:06:15.640Z" - } - } - } - } - } - }, - { - "id": 288, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 1, - "user_id": "126", - "createdAt": "2024-06-18T08:18:26.508Z", - "updatedAt": "2024-06-19T04:42:25.687Z", - "user_govtool_username": "Kneerose", - "content": { - "id": 282, - "attributes": { - "proposal_id": "288", - "prop_rev_active": true, - "prop_abstract": " ", - "prop_motivation": " ", - "prop_rationale": " ", - "gov_action_type_id": "1", - "prop_name": " ", - "prop_receiving_address": null, - "prop_amount": null, - "createdAt": "2024-06-18T08:18:26.508Z", - "updatedAt": "2024-06-18T08:18:26.508Z", - "is_draft": false, - "user_id": "126", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "proposal_links": [], - "gov_action_type": { - "id": 1, - "attributes": { - "gov_action_type_name": "Info", - "createdAt": "2024-05-27T15:06:15.640Z", - "updatedAt": "2024-05-27T15:06:15.640Z" - } - } - } - } - } - }, - { - "id": 280, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 1, - "prop_comments_number": 4, - "user_id": "121", - "createdAt": "2024-06-17T08:30:36.868Z", - "updatedAt": "2024-06-18T09:26:15.103Z", - "user_govtool_username": "Brock.Kilback", - "content": { - "id": 274, - "attributes": { - "proposal_id": "280", - "prop_rev_active": true, - "prop_abstract": "Conicio cubo amet. Vorago totidem quod in patior explicabo delicate.", - "prop_motivation": "Vel tot audio cilicium uredo. Occaecati crepusculum cuppedia deporto valeo illum.", - "prop_rationale": "Vulgo quod denuo admitto. Aspicio tersus uredo depromo caelum apud pectus vitae commemoro.", - "gov_action_type_id": "1", - "prop_name": "Baumbach, Hauck and Bartell", - "prop_receiving_address": "addr_test1qqqqqqqqqqa4kpmh", - "prop_amount": 520, - "createdAt": "2024-06-17T08:30:36.893Z", - "updatedAt": "2024-06-17T08:30:36.893Z", - "is_draft": false, - "user_id": "121", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "proposal_links": [], - "gov_action_type": { - "id": 1, - "attributes": { - "gov_action_type_name": "Info", - "createdAt": "2024-05-27T15:06:15.640Z", - "updatedAt": "2024-05-27T15:06:15.640Z" - } - } - } - } - } - }, - { - "id": 277, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "121", - "createdAt": "2024-06-17T08:27:52.316Z", - "updatedAt": "2024-06-17T08:27:52.316Z", - "user_govtool_username": "Brock.Kilback", - "content": { - "id": 271, - "attributes": { - "proposal_id": "277", - "prop_rev_active": true, - "prop_abstract": "Terror commodi terebro arma torrens caterva vivo alias decumbo. Ubi volup aufero adficio audax.", - "prop_motivation": "Terror thermae delibero cinis crux somniculosus. Suscipit conspergo administratio tutamen cursim combibo.", - "prop_rationale": "Conculco ater amor beneficium cunabula qui vespillo tempora textilis allatus. Admiratio cuppedia repudiandae voluptatem anser calculus attonbitus.", - "gov_action_type_id": "1", - "prop_name": "Orn - Crist", - "prop_receiving_address": "addr_test1qqqqqqqqqqa4kpmh", - "prop_amount": 591, - "createdAt": "2024-06-17T08:27:52.329Z", - "updatedAt": "2024-06-17T08:27:52.329Z", - "is_draft": false, - "user_id": "121", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "proposal_links": [], - "gov_action_type": { - "id": 1, - "attributes": { - "gov_action_type_name": "Info", - "createdAt": "2024-05-27T15:06:15.640Z", - "updatedAt": "2024-05-27T15:06:15.640Z" - } - } - } - } - } - } - ], - "meta": { - "pagination": { - "page": 1, - "pageSize": 25, - "pageCount": 8, - "total": 194 - } - } -} diff --git a/tests/govtool-frontend/playwright/lib/_mock/treasuryProposedGAs.json b/tests/govtool-frontend/playwright/lib/_mock/treasuryProposedGAs.json deleted file mode 100644 index 29c84a6c3..000000000 --- a/tests/govtool-frontend/playwright/lib/_mock/treasuryProposedGAs.json +++ /dev/null @@ -1,1362 +0,0 @@ -{ - "data": [ - { - "id": 17204, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "3316", - "createdAt": "2025-01-30T11:29:33.731Z", - "updatedAt": "2025-01-30T11:29:33.731Z", - "user_govtool_username": "korbin46_1738235936720", - "content": { - "id": 17183, - "attributes": { - "proposal_id": "17204", - "prop_rev_active": true, - "prop_abstract": "cura amoveo dedico complectus crastinus", - "prop_motivation": "tergeo amor volva aqua arma", - "prop_rationale": "pel ocer desidero blandior cultura", - "gov_action_type_id": "2", - "prop_name": "Statua cimentarius depraedor advenio alveus corrupti.", - "is_draft": false, - "user_id": "3316", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "createdAt": "2025-01-30T11:29:33.760Z", - "updatedAt": "2025-01-30T11:29:33.760Z", - "proposal_links": [ - { - "id": 17030, - "prop_link": "https://slight-clarity.org/", - "prop_link_text": "euphoric-barium" - } - ], - "proposal_withdrawals": [ - { - "id": 15358, - "prop_receiving_address": "stake1uqqv758up00900wk9k7xlud8ljtj5zjw4hczht34034kyrgwcsvsk", - "prop_amount": 621 - } - ], - "gov_action_type": { - "id": 2, - "attributes": { - "gov_action_type_name": "Treasury", - "createdAt": "2024-08-21T21:40:32.586Z", - "updatedAt": "2024-08-21T21:40:33.850Z", - "publishedAt": "2024-08-21T21:40:33.843Z" - } - } - } - } - } - }, - { - "id": 17183, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "3306", - "createdAt": "2025-01-30T09:52:59.102Z", - "updatedAt": "2025-01-30T09:52:59.102Z", - "user_govtool_username": "myah43_1738230167776", - "content": { - "id": 17162, - "attributes": { - "proposal_id": "17183", - "prop_rev_active": true, - "prop_abstract": "copia venia voluptates accusator varius", - "prop_motivation": "currus paulatim canto veritas cognatus", - "prop_rationale": "volutabrum comburo vitium cogito coniuratio", - "gov_action_type_id": "2", - "prop_name": "Verbera cubicularis acer argentum benevolentia laudantium.", - "is_draft": false, - "user_id": "3306", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "createdAt": "2025-01-30T09:52:59.130Z", - "updatedAt": "2025-01-30T09:52:59.130Z", - "proposal_links": [ - { - "id": 17009, - "prop_link": "https://playful-size.name/", - "prop_link_text": "bare-spiderling" - } - ], - "proposal_withdrawals": [ - { - "id": 15337, - "prop_receiving_address": "stake1up6c3kuuf9ccy6nq5qr7j2k52m8csg54yhm50d5r5x8lg4q2vvhnc", - "prop_amount": 879 - } - ], - "gov_action_type": { - "id": 2, - "attributes": { - "gov_action_type_name": "Treasury", - "createdAt": "2024-08-21T21:40:32.586Z", - "updatedAt": "2024-08-21T21:40:33.850Z", - "publishedAt": "2024-08-21T21:40:33.843Z" - } - } - } - } - } - }, - { - "id": 17181, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "1876", - "createdAt": "2025-01-30T09:43:38.887Z", - "updatedAt": "2025-01-30T09:43:38.887Z", - "user_govtool_username": "cordie_stark_1732618876964", - "content": { - "id": 17160, - "attributes": { - "proposal_id": "17181", - "prop_rev_active": true, - "prop_abstract": "desparatus arma speculum ver admoneo", - "prop_motivation": "adstringo ultio capto cado tertius", - "prop_rationale": "tergum stella depraedor tamen vigilo", - "gov_action_type_id": "2", - "prop_name": "Patruus articulus atqui temporibus curtus cernuus.", - "is_draft": false, - "user_id": "1876", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "createdAt": "2025-01-30T09:43:38.914Z", - "updatedAt": "2025-01-30T09:43:38.914Z", - "proposal_links": [ - { - "id": 17007, - "prop_link": "https://sore-channel.org/", - "prop_link_text": "enormous-summary" - } - ], - "proposal_withdrawals": [ - { - "id": 15335, - "prop_receiving_address": "stake1up8xg8ur80nsymvefrlk4dshjyfrze4pep843l289f4n8fgynegq0", - "prop_amount": 883 - } - ], - "gov_action_type": { - "id": 2, - "attributes": { - "gov_action_type_name": "Treasury", - "createdAt": "2024-08-21T21:40:32.586Z", - "updatedAt": "2024-08-21T21:40:33.850Z", - "publishedAt": "2024-08-21T21:40:33.843Z" - } - } - } - } - } - }, - { - "id": 17162, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "3294", - "createdAt": "2025-01-30T07:33:43.674Z", - "updatedAt": "2025-01-30T07:33:43.674Z", - "user_govtool_username": "albin_cormier42_1738221335719", - "content": { - "id": 17141, - "attributes": { - "proposal_id": "17162", - "prop_rev_active": true, - "prop_abstract": "sonitus decimus succedo aedificium repellendus", - "prop_motivation": "aetas verto capitulus copiose tabgo", - "prop_rationale": "nostrum desidero confero ambulo supellex", - "gov_action_type_id": "2", - "prop_name": "Crebro animadverto pecto trado alo alienus.", - "is_draft": false, - "user_id": "3294", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "createdAt": "2025-01-30T07:33:43.699Z", - "updatedAt": "2025-01-30T07:33:43.699Z", - "proposal_links": [ - { - "id": 16988, - "prop_link": "https://optimistic-bill.biz/", - "prop_link_text": "tedious-regulation" - } - ], - "proposal_withdrawals": [ - { - "id": 15316, - "prop_receiving_address": "stake1uz924cfl9ag6ga4ah0c3mrgrley6pelvxrc30augvmqgwmqenqge9", - "prop_amount": 619 - } - ], - "gov_action_type": { - "id": 2, - "attributes": { - "gov_action_type_name": "Treasury", - "createdAt": "2024-08-21T21:40:32.586Z", - "updatedAt": "2024-08-21T21:40:33.850Z", - "publishedAt": "2024-08-21T21:40:33.843Z" - } - } - } - } - } - }, - { - "id": 17160, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "1876", - "createdAt": "2025-01-30T07:16:26.480Z", - "updatedAt": "2025-01-30T07:16:26.480Z", - "user_govtool_username": "cordie_stark_1732618876964", - "content": { - "id": 17139, - "attributes": { - "proposal_id": "17160", - "prop_rev_active": true, - "prop_abstract": "cimentarius summopere voco natus quod", - "prop_motivation": "corporis solum constans amplus tertius", - "prop_rationale": "illum quasi cilicium debitis avaritia", - "gov_action_type_id": "2", - "prop_name": "Depono distinctio adhuc animi tres cum.", - "is_draft": false, - "user_id": "1876", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "createdAt": "2025-01-30T07:16:26.514Z", - "updatedAt": "2025-01-30T07:16:26.514Z", - "proposal_links": [ - { - "id": 16986, - "prop_link": "https://far-off-leaf.org", - "prop_link_text": "unconscious-plunger" - } - ], - "proposal_withdrawals": [ - { - "id": 15314, - "prop_receiving_address": "stake1up8xg8ur80nsymvefrlk4dshjyfrze4pep843l289f4n8fgynegq0", - "prop_amount": 494 - } - ], - "gov_action_type": { - "id": 2, - "attributes": { - "gov_action_type_name": "Treasury", - "createdAt": "2024-08-21T21:40:32.586Z", - "updatedAt": "2024-08-21T21:40:33.850Z", - "publishedAt": "2024-08-21T21:40:33.843Z" - } - } - } - } - } - }, - { - "id": 17158, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "1876", - "createdAt": "2025-01-30T07:07:07.606Z", - "updatedAt": "2025-01-30T07:07:07.606Z", - "user_govtool_username": "cordie_stark_1732618876964", - "content": { - "id": 17137, - "attributes": { - "proposal_id": "17158", - "prop_rev_active": true, - "prop_abstract": "curriculum in caste alioqui amoveo", - "prop_motivation": "substantia angustus subvenio argentum tum", - "prop_rationale": "acervus reiciendis fuga tenetur aedificium", - "gov_action_type_id": "2", - "prop_name": "Copia comprehendo cognomen quam conspergo absorbeo.", - "is_draft": false, - "user_id": "1876", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "createdAt": "2025-01-30T07:07:07.632Z", - "updatedAt": "2025-01-30T07:07:07.632Z", - "proposal_links": [ - { - "id": 16984, - "prop_link": "https://powerless-theology.net/", - "prop_link_text": "informal-bratwurst" - } - ], - "proposal_withdrawals": [ - { - "id": 15312, - "prop_receiving_address": "stake1up8xg8ur80nsymvefrlk4dshjyfrze4pep843l289f4n8fgynegq0", - "prop_amount": 128 - } - ], - "gov_action_type": { - "id": 2, - "attributes": { - "gov_action_type_name": "Treasury", - "createdAt": "2024-08-21T21:40:32.586Z", - "updatedAt": "2024-08-21T21:40:33.850Z", - "publishedAt": "2024-08-21T21:40:33.843Z" - } - } - } - } - } - }, - { - "id": 17157, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "3293", - "createdAt": "2025-01-30T07:05:45.314Z", - "updatedAt": "2025-01-30T07:05:45.314Z", - "user_govtool_username": "barney.kreiger_1738220473415", - "content": { - "id": 17136, - "attributes": { - "proposal_id": "17157", - "prop_rev_active": true, - "prop_abstract": "sulum charisma astrum tabernus coerceo", - "prop_motivation": "capitulus virgo spectaculum defendo voluntarius", - "prop_rationale": "denego tremo callide traho avaritia", - "gov_action_type_id": "2", - "prop_name": "Tendo ago dolores tandem ultra adaugeo.", - "is_draft": false, - "user_id": "3293", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "createdAt": "2025-01-30T07:05:45.343Z", - "updatedAt": "2025-01-30T07:05:45.343Z", - "proposal_links": [ - { - "id": 16983, - "prop_link": "https://utter-memo.net", - "prop_link_text": "thunderous-cofactor" - } - ], - "proposal_withdrawals": [ - { - "id": 15311, - "prop_receiving_address": "stake1upmqsvunjaczvfyck7zqwptk56z2ty7smfmga5zvcduwz4cc9cq6v", - "prop_amount": 202 - } - ], - "gov_action_type": { - "id": 2, - "attributes": { - "gov_action_type_name": "Treasury", - "createdAt": "2024-08-21T21:40:32.586Z", - "updatedAt": "2024-08-21T21:40:33.850Z", - "publishedAt": "2024-08-21T21:40:33.843Z" - } - } - } - } - } - }, - { - "id": 17147, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "3277", - "createdAt": "2025-01-29T16:43:47.743Z", - "updatedAt": "2025-01-29T16:43:47.743Z", - "user_govtool_username": "jacey45_1738168202436", - "content": { - "id": 17126, - "attributes": { - "proposal_id": "17147", - "prop_rev_active": true, - "prop_abstract": "averto vulariter absque tametsi thermae", - "prop_motivation": "pax aestivus aro causa cariosus", - "prop_rationale": "appositus beneficium avarus certus carpo", - "gov_action_type_id": "2", - "prop_name": "Amo aranea cibo alo vehemens tamquam.", - "is_draft": false, - "user_id": "3277", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "createdAt": "2025-01-29T16:43:47.772Z", - "updatedAt": "2025-01-29T16:43:47.772Z", - "proposal_links": [ - { - "id": 16974, - "prop_link": "https://polished-sideboard.name/", - "prop_link_text": "worthwhile-foodstuffs" - } - ], - "proposal_withdrawals": [ - { - "id": 15301, - "prop_receiving_address": "stake1uqpsyvc8lcxvmt3xzrq09cmgv6hxmezdychhery9ctvt0xsw2zsvg", - "prop_amount": 441 - } - ], - "gov_action_type": { - "id": 2, - "attributes": { - "gov_action_type_name": "Treasury", - "createdAt": "2024-08-21T21:40:32.586Z", - "updatedAt": "2024-08-21T21:40:33.850Z", - "publishedAt": "2024-08-21T21:40:33.843Z" - } - } - } - } - } - }, - { - "id": 17133, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "3277", - "createdAt": "2025-01-29T16:40:10.956Z", - "updatedAt": "2025-01-29T16:40:10.956Z", - "user_govtool_username": "jacey45_1738168202436", - "content": { - "id": 17112, - "attributes": { - "proposal_id": "17133", - "prop_rev_active": true, - "prop_abstract": "aeger cibus acer amaritudo incidunt", - "prop_motivation": "provident maiores quia deorsum suscipio", - "prop_rationale": "conatus culpa sulum alveus cum", - "gov_action_type_id": "2", - "prop_name": "Termes apostolus sonitus sustineo architecto demo.", - "is_draft": false, - "user_id": "3277", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "createdAt": "2025-01-29T16:40:10.982Z", - "updatedAt": "2025-01-29T16:40:10.982Z", - "proposal_links": [ - { - "id": 16960, - "prop_link": "https://functional-chick.net/", - "prop_link_text": "tasty-symbol" - } - ], - "proposal_withdrawals": [ - { - "id": 15287, - "prop_receiving_address": "stake1uqpsyvc8lcxvmt3xzrq09cmgv6hxmezdychhery9ctvt0xsw2zsvg", - "prop_amount": 529 - } - ], - "gov_action_type": { - "id": 2, - "attributes": { - "gov_action_type_name": "Treasury", - "createdAt": "2024-08-21T21:40:32.586Z", - "updatedAt": "2024-08-21T21:40:33.850Z", - "publishedAt": "2024-08-21T21:40:33.843Z" - } - } - } - } - } - }, - { - "id": 17131, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "1876", - "createdAt": "2025-01-29T16:30:52.083Z", - "updatedAt": "2025-01-29T16:30:52.083Z", - "user_govtool_username": "cordie_stark_1732618876964", - "content": { - "id": 17110, - "attributes": { - "proposal_id": "17131", - "prop_rev_active": true, - "prop_abstract": "uxor vulnus defendo dolorem vacuus", - "prop_motivation": "turbo quod eligendi veritas ait", - "prop_rationale": "apparatus ultra stabilis celo sol", - "gov_action_type_id": "2", - "prop_name": "Curriculum inventore patrocinor vaco similique solvo.", - "is_draft": false, - "user_id": "1876", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "createdAt": "2025-01-29T16:30:52.111Z", - "updatedAt": "2025-01-29T16:30:52.111Z", - "proposal_links": [ - { - "id": 16958, - "prop_link": "https://reflecting-gain.name/", - "prop_link_text": "repentant-oregano" - } - ], - "proposal_withdrawals": [ - { - "id": 15285, - "prop_receiving_address": "stake1up8xg8ur80nsymvefrlk4dshjyfrze4pep843l289f4n8fgynegq0", - "prop_amount": 910 - } - ], - "gov_action_type": { - "id": 2, - "attributes": { - "gov_action_type_name": "Treasury", - "createdAt": "2024-08-21T21:40:32.586Z", - "updatedAt": "2024-08-21T21:40:33.850Z", - "publishedAt": "2024-08-21T21:40:33.843Z" - } - } - } - } - } - }, - { - "id": 17112, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "3264", - "createdAt": "2025-01-29T16:17:23.432Z", - "updatedAt": "2025-01-29T16:17:23.432Z", - "user_govtool_username": "gilda26_1738166760447", - "content": { - "id": 17091, - "attributes": { - "proposal_id": "17112", - "prop_rev_active": true, - "prop_abstract": "pax iure carus ocer bellum", - "prop_motivation": "aqua vapulus demens cogo carus", - "prop_rationale": "tamdiu statua accusamus distinctio animus", - "gov_action_type_id": "2", - "prop_name": "Careo terreo careo odio carus temptatio.", - "is_draft": false, - "user_id": "3264", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "createdAt": "2025-01-29T16:17:23.462Z", - "updatedAt": "2025-01-29T16:17:23.462Z", - "proposal_links": [ - { - "id": 16939, - "prop_link": "https://palatable-grand.info", - "prop_link_text": "infinite-deviation" - } - ], - "proposal_withdrawals": [ - { - "id": 15266, - "prop_receiving_address": "stake1uz7vg8mjrh8hnvsdsh4gzw3affghkpexfmzj69yra0mn5hqncy7kh", - "prop_amount": 682 - } - ], - "gov_action_type": { - "id": 2, - "attributes": { - "gov_action_type_name": "Treasury", - "createdAt": "2024-08-21T21:40:32.586Z", - "updatedAt": "2024-08-21T21:40:33.850Z", - "publishedAt": "2024-08-21T21:40:33.843Z" - } - } - } - } - } - }, - { - "id": 17110, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "1876", - "createdAt": "2025-01-29T16:06:48.927Z", - "updatedAt": "2025-01-29T16:06:48.927Z", - "user_govtool_username": "cordie_stark_1732618876964", - "content": { - "id": 17089, - "attributes": { - "proposal_id": "17110", - "prop_rev_active": true, - "prop_abstract": "velum cito sperno adimpleo cruciamentum", - "prop_motivation": "adipisci vicinus eius copia debitis", - "prop_rationale": "illum deduco succedo coniuratio tamen", - "gov_action_type_id": "2", - "prop_name": "Censura vis utor aegrotatio vestrum tactus.", - "is_draft": false, - "user_id": "1876", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "createdAt": "2025-01-29T16:06:48.953Z", - "updatedAt": "2025-01-29T16:06:48.953Z", - "proposal_links": [ - { - "id": 16937, - "prop_link": "https://radiant-donut.name", - "prop_link_text": "chilly-earth" - } - ], - "proposal_withdrawals": [ - { - "id": 15264, - "prop_receiving_address": "stake1up8xg8ur80nsymvefrlk4dshjyfrze4pep843l289f4n8fgynegq0", - "prop_amount": 436 - } - ], - "gov_action_type": { - "id": 2, - "attributes": { - "gov_action_type_name": "Treasury", - "createdAt": "2024-08-21T21:40:32.586Z", - "updatedAt": "2024-08-21T21:40:33.850Z", - "publishedAt": "2024-08-21T21:40:33.843Z" - } - } - } - } - } - }, - { - "id": 17091, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "3249", - "createdAt": "2025-01-29T13:29:34.484Z", - "updatedAt": "2025-01-29T13:29:34.484Z", - "user_govtool_username": "jimmy_deckow21_1738156299677", - "content": { - "id": 17070, - "attributes": { - "proposal_id": "17091", - "prop_rev_active": true, - "prop_abstract": "trucido tolero amplitudo arcesso bellicus", - "prop_motivation": "cauda amita itaque dolorem expedita", - "prop_rationale": "bene denego patrocinor iusto baiulus", - "gov_action_type_id": "2", - "prop_name": "Barba adnuo repellat incidunt quas aufero.", - "is_draft": false, - "user_id": "3249", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "createdAt": "2025-01-29T13:29:34.516Z", - "updatedAt": "2025-01-29T13:29:34.516Z", - "proposal_links": [ - { - "id": 16918, - "prop_link": "https://admirable-prizefight.com", - "prop_link_text": "some-main" - } - ], - "proposal_withdrawals": [ - { - "id": 15245, - "prop_receiving_address": "stake1urqlur423v8w95kle28ftm3mt3jpwg6vx2fmlh4xk0pyntq0t2x03", - "prop_amount": 716 - } - ], - "gov_action_type": { - "id": 2, - "attributes": { - "gov_action_type_name": "Treasury", - "createdAt": "2024-08-21T21:40:32.586Z", - "updatedAt": "2024-08-21T21:40:33.850Z", - "publishedAt": "2024-08-21T21:40:33.843Z" - } - } - } - } - } - }, - { - "id": 17070, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "3242", - "createdAt": "2025-01-29T13:25:44.278Z", - "updatedAt": "2025-01-29T13:25:44.278Z", - "user_govtool_username": "felicity_johns_1738156022811", - "content": { - "id": 17049, - "attributes": { - "proposal_id": "17070", - "prop_rev_active": true, - "prop_abstract": "vis caelestis vir arcus venio", - "prop_motivation": "statua voluptates admoveo concedo turba", - "prop_rationale": "abutor acsi sollers nihil ara", - "gov_action_type_id": "2", - "prop_name": "Currus uxor carpo teres varius testimonium.", - "is_draft": false, - "user_id": "3242", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "createdAt": "2025-01-29T13:25:44.305Z", - "updatedAt": "2025-01-29T13:25:44.305Z", - "proposal_links": [ - { - "id": 16897, - "prop_link": "https://hollow-onset.info/", - "prop_link_text": "used-jacket" - } - ], - "proposal_withdrawals": [ - { - "id": 15224, - "prop_receiving_address": "stake1urvcy7mtk5r509jejxxwz6ha80w646yxaxaeq32a6fm39fs48p22e", - "prop_amount": 649 - } - ], - "gov_action_type": { - "id": 2, - "attributes": { - "gov_action_type_name": "Treasury", - "createdAt": "2024-08-21T21:40:32.586Z", - "updatedAt": "2024-08-21T21:40:33.850Z", - "publishedAt": "2024-08-21T21:40:33.843Z" - } - } - } - } - } - }, - { - "id": 17068, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "1876", - "createdAt": "2025-01-29T13:12:34.653Z", - "updatedAt": "2025-01-29T13:12:34.653Z", - "user_govtool_username": "cordie_stark_1732618876964", - "content": { - "id": 17047, - "attributes": { - "proposal_id": "17068", - "prop_rev_active": true, - "prop_abstract": "utrum debeo callide templum corona", - "prop_motivation": "aranea ventus verto pauci provident", - "prop_rationale": "laudantium placeat deputo vix tabernus", - "gov_action_type_id": "2", - "prop_name": "Repellat magnam conturbo comitatus pecco patior.", - "is_draft": false, - "user_id": "1876", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "createdAt": "2025-01-29T13:12:34.691Z", - "updatedAt": "2025-01-29T13:12:34.691Z", - "proposal_links": [ - { - "id": 16895, - "prop_link": "https://insistent-hypochondria.info/", - "prop_link_text": "raw-tamale" - } - ], - "proposal_withdrawals": [ - { - "id": 15222, - "prop_receiving_address": "stake1up8xg8ur80nsymvefrlk4dshjyfrze4pep843l289f4n8fgynegq0", - "prop_amount": 779 - } - ], - "gov_action_type": { - "id": 2, - "attributes": { - "gov_action_type_name": "Treasury", - "createdAt": "2024-08-21T21:40:32.586Z", - "updatedAt": "2024-08-21T21:40:33.850Z", - "publishedAt": "2024-08-21T21:40:33.843Z" - } - } - } - } - } - }, - { - "id": 17066, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "1876", - "createdAt": "2025-01-29T13:07:52.762Z", - "updatedAt": "2025-01-29T13:07:52.762Z", - "user_govtool_username": "cordie_stark_1732618876964", - "content": { - "id": 17045, - "attributes": { - "proposal_id": "17066", - "prop_rev_active": true, - "prop_abstract": "cernuus quam theologus denique aegre", - "prop_motivation": "admitto odit statua veritatis utilis", - "prop_rationale": "tum sui aurum speculum repellat", - "gov_action_type_id": "2", - "prop_name": "Curis tersus confero stella cerno celebrer.", - "is_draft": false, - "user_id": "1876", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "createdAt": "2025-01-29T13:07:52.792Z", - "updatedAt": "2025-01-29T13:07:52.792Z", - "proposal_links": [ - { - "id": 16893, - "prop_link": "https://previous-fisherman.info/", - "prop_link_text": "leafy-hobby" - } - ], - "proposal_withdrawals": [ - { - "id": 15220, - "prop_receiving_address": "stake1up8xg8ur80nsymvefrlk4dshjyfrze4pep843l289f4n8fgynegq0", - "prop_amount": 807 - } - ], - "gov_action_type": { - "id": 2, - "attributes": { - "gov_action_type_name": "Treasury", - "createdAt": "2024-08-21T21:40:32.586Z", - "updatedAt": "2024-08-21T21:40:33.850Z", - "publishedAt": "2024-08-21T21:40:33.843Z" - } - } - } - } - } - }, - { - "id": 17064, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "1876", - "createdAt": "2025-01-29T12:52:21.000Z", - "updatedAt": "2025-01-29T12:52:21.000Z", - "user_govtool_username": "cordie_stark_1732618876964", - "content": { - "id": 17043, - "attributes": { - "proposal_id": "17064", - "prop_rev_active": true, - "prop_abstract": "anser quibusdam ab conventus creator", - "prop_motivation": "acerbitas atrocitas commodo libero apto", - "prop_rationale": "vilitas nobis desidero trepide certe", - "gov_action_type_id": "2", - "prop_name": "Casso statua ad credo aurum curo.", - "is_draft": false, - "user_id": "1876", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "createdAt": "2025-01-29T12:52:21.027Z", - "updatedAt": "2025-01-29T12:52:21.027Z", - "proposal_links": [ - { - "id": 16891, - "prop_link": "https://mortified-faucet.info", - "prop_link_text": "super-sandbar" - } - ], - "proposal_withdrawals": [ - { - "id": 15218, - "prop_receiving_address": "stake1up8xg8ur80nsymvefrlk4dshjyfrze4pep843l289f4n8fgynegq0", - "prop_amount": 581 - } - ], - "gov_action_type": { - "id": 2, - "attributes": { - "gov_action_type_name": "Treasury", - "createdAt": "2024-08-21T21:40:32.586Z", - "updatedAt": "2024-08-21T21:40:33.850Z", - "publishedAt": "2024-08-21T21:40:33.843Z" - } - } - } - } - } - }, - { - "id": 17062, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "1876", - "createdAt": "2025-01-29T12:52:00.202Z", - "updatedAt": "2025-01-29T12:52:00.202Z", - "user_govtool_username": "cordie_stark_1732618876964", - "content": { - "id": 17041, - "attributes": { - "proposal_id": "17062", - "prop_rev_active": true, - "prop_abstract": "tabella aggredior basium ager summisse", - "prop_motivation": "blanditiis pax venio ter defaeco", - "prop_rationale": "ambitus coniuratio clementia complectus verto", - "gov_action_type_id": "2", - "prop_name": "Cerno tempora accusamus celo curvo iure.", - "is_draft": false, - "user_id": "1876", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "createdAt": "2025-01-29T12:52:00.242Z", - "updatedAt": "2025-01-29T12:52:00.242Z", - "proposal_links": [ - { - "id": 16889, - "prop_link": "https://parched-catalogue.name", - "prop_link_text": "inborn-middleman" - } - ], - "proposal_withdrawals": [ - { - "id": 15216, - "prop_receiving_address": "stake1up8xg8ur80nsymvefrlk4dshjyfrze4pep843l289f4n8fgynegq0", - "prop_amount": 436 - } - ], - "gov_action_type": { - "id": 2, - "attributes": { - "gov_action_type_name": "Treasury", - "createdAt": "2024-08-21T21:40:32.586Z", - "updatedAt": "2024-08-21T21:40:33.850Z", - "publishedAt": "2024-08-21T21:40:33.843Z" - } - } - } - } - } - }, - { - "id": 17043, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "3215", - "createdAt": "2025-01-29T11:48:35.324Z", - "updatedAt": "2025-01-29T11:48:35.324Z", - "user_govtool_username": "carter_padberg53_1738150702304", - "content": { - "id": 17022, - "attributes": { - "proposal_id": "17043", - "prop_rev_active": true, - "prop_abstract": "utique surgo validus consuasor esse", - "prop_motivation": "aetas despecto aiunt avaritia conturbo", - "prop_rationale": "anser labore est uterque comes", - "gov_action_type_id": "2", - "prop_name": "Doloremque vacuus tricesimus id approbo adopto.", - "is_draft": false, - "user_id": "3215", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "createdAt": "2025-01-29T11:48:35.354Z", - "updatedAt": "2025-01-29T11:48:35.354Z", - "proposal_links": [ - { - "id": 16870, - "prop_link": "https://heartfelt-economics.name/", - "prop_link_text": "gloomy-derby" - } - ], - "proposal_withdrawals": [ - { - "id": 15197, - "prop_receiving_address": "stake1uz862u3nh7nldmeakemr3pkxdr8xz6n39xkq3wtu2ptxhcsfghatd", - "prop_amount": 805 - } - ], - "gov_action_type": { - "id": 2, - "attributes": { - "gov_action_type_name": "Treasury", - "createdAt": "2024-08-21T21:40:32.586Z", - "updatedAt": "2024-08-21T21:40:33.850Z", - "publishedAt": "2024-08-21T21:40:33.843Z" - } - } - } - } - } - }, - { - "id": 17024, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "3206", - "createdAt": "2025-01-29T11:42:48.167Z", - "updatedAt": "2025-01-29T11:42:48.167Z", - "user_govtool_username": "ericka.ritchie_1738150365664", - "content": { - "id": 17003, - "attributes": { - "proposal_id": "17024", - "prop_rev_active": true, - "prop_abstract": "cicuta undique verto comparo vespillo", - "prop_motivation": "absorbeo videlicet cenaculum deprecator accusator", - "prop_rationale": "natus voco conicio baiulus condico", - "gov_action_type_id": "2", - "prop_name": "Undique subseco abundans aegre vulnus ambulo.", - "is_draft": false, - "user_id": "3206", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "createdAt": "2025-01-29T11:42:48.193Z", - "updatedAt": "2025-01-29T11:42:48.193Z", - "proposal_links": [ - { - "id": 16851, - "prop_link": "https://meaty-gate.net", - "prop_link_text": "orange-widow" - } - ], - "proposal_withdrawals": [ - { - "id": 15178, - "prop_receiving_address": "stake1urf2xgpkh7u2kjee4uu5as2h24l2tefpc4xsnha8sdsj6uqhtgsyq", - "prop_amount": 722 - } - ], - "gov_action_type": { - "id": 2, - "attributes": { - "gov_action_type_name": "Treasury", - "createdAt": "2024-08-21T21:40:32.586Z", - "updatedAt": "2024-08-21T21:40:33.850Z", - "publishedAt": "2024-08-21T21:40:33.843Z" - } - } - } - } - } - }, - { - "id": 17022, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "1876", - "createdAt": "2025-01-29T11:39:16.069Z", - "updatedAt": "2025-01-29T11:39:16.069Z", - "user_govtool_username": "cordie_stark_1732618876964", - "content": { - "id": 17001, - "attributes": { - "proposal_id": "17022", - "prop_rev_active": true, - "prop_abstract": "amet culpo vicissitudo arca adulatio", - "prop_motivation": "calcar agnitio succurro taedium ipsa", - "prop_rationale": "summa terebro minima bis sordeo", - "gov_action_type_id": "2", - "prop_name": "Beatae anser stillicidium quam aperio vallum.", - "is_draft": false, - "user_id": "1876", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "createdAt": "2025-01-29T11:39:16.105Z", - "updatedAt": "2025-01-29T11:39:16.105Z", - "proposal_links": [ - { - "id": 16849, - "prop_link": "https://good-spark.biz", - "prop_link_text": "surprised-identification" - } - ], - "proposal_withdrawals": [ - { - "id": 15176, - "prop_receiving_address": "stake1up8xg8ur80nsymvefrlk4dshjyfrze4pep843l289f4n8fgynegq0", - "prop_amount": 961 - } - ], - "gov_action_type": { - "id": 2, - "attributes": { - "gov_action_type_name": "Treasury", - "createdAt": "2024-08-21T21:40:32.586Z", - "updatedAt": "2024-08-21T21:40:33.850Z", - "publishedAt": "2024-08-21T21:40:33.843Z" - } - } - } - } - } - }, - { - "id": 17020, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "1876", - "createdAt": "2025-01-29T11:33:35.606Z", - "updatedAt": "2025-01-29T11:33:35.606Z", - "user_govtool_username": "cordie_stark_1732618876964", - "content": { - "id": 16999, - "attributes": { - "proposal_id": "17020", - "prop_rev_active": true, - "prop_abstract": "curtus capitulus tardus brevis vox", - "prop_motivation": "auditor et aduro aperio vulgivagus", - "prop_rationale": "conturbo tersus minus cubo aestivus", - "gov_action_type_id": "2", - "prop_name": "Cursus attonbitus deorsum tollo ciminatio villa.", - "is_draft": false, - "user_id": "1876", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "createdAt": "2025-01-29T11:33:35.634Z", - "updatedAt": "2025-01-29T11:33:35.634Z", - "proposal_links": [ - { - "id": 16847, - "prop_link": "https://silent-container.biz", - "prop_link_text": "tense-facelift" - } - ], - "proposal_withdrawals": [ - { - "id": 15174, - "prop_receiving_address": "stake1up8xg8ur80nsymvefrlk4dshjyfrze4pep843l289f4n8fgynegq0", - "prop_amount": 447 - } - ], - "gov_action_type": { - "id": 2, - "attributes": { - "gov_action_type_name": "Treasury", - "createdAt": "2024-08-21T21:40:32.586Z", - "updatedAt": "2024-08-21T21:40:33.850Z", - "publishedAt": "2024-08-21T21:40:33.843Z" - } - } - } - } - } - }, - { - "id": 16999, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "1876", - "createdAt": "2025-01-29T09:24:17.156Z", - "updatedAt": "2025-01-29T09:24:17.156Z", - "user_govtool_username": "cordie_stark_1732618876964", - "content": { - "id": 16978, - "attributes": { - "proposal_id": "16999", - "prop_rev_active": true, - "prop_abstract": "crustulum versus vapulus aliquam circumvenio", - "prop_motivation": "adhuc thalassinus arx dolores curvo", - "prop_rationale": "valde bene acquiro stabilis officiis", - "gov_action_type_id": "2", - "prop_name": "Curvo adsuesco depereo statua vulticulus thorax.", - "is_draft": false, - "user_id": "1876", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "createdAt": "2025-01-29T09:24:17.191Z", - "updatedAt": "2025-01-29T09:24:17.191Z", - "proposal_links": [ - { - "id": 16826, - "prop_link": "https://traumatic-eagle.org/", - "prop_link_text": "anchored-sake" - } - ], - "proposal_withdrawals": [ - { - "id": 15153, - "prop_receiving_address": "stake1up8xg8ur80nsymvefrlk4dshjyfrze4pep843l289f4n8fgynegq0", - "prop_amount": 261 - } - ], - "gov_action_type": { - "id": 2, - "attributes": { - "gov_action_type_name": "Treasury", - "createdAt": "2024-08-21T21:40:32.586Z", - "updatedAt": "2024-08-21T21:40:33.850Z", - "publishedAt": "2024-08-21T21:40:33.843Z" - } - } - } - } - } - }, - { - "id": 16958, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "1876", - "createdAt": "2025-01-28T17:48:59.554Z", - "updatedAt": "2025-01-28T17:48:59.554Z", - "user_govtool_username": "cordie_stark_1732618876964", - "content": { - "id": 16937, - "attributes": { - "proposal_id": "16958", - "prop_rev_active": true, - "prop_abstract": "complectus adflicto voro adipiscor volubilis", - "prop_motivation": "decimus quis adduco alo trans", - "prop_rationale": "ubi demitto crux trepide contego", - "gov_action_type_id": "2", - "prop_name": "Undique ambulo acerbitas ter tertius titulus.", - "is_draft": false, - "user_id": "1876", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "createdAt": "2025-01-28T17:48:59.585Z", - "updatedAt": "2025-01-28T17:48:59.585Z", - "proposal_links": [ - { - "id": 16785, - "prop_link": "https://testy-neuron.biz/", - "prop_link_text": "exemplary-selling" - } - ], - "proposal_withdrawals": [ - { - "id": 15112, - "prop_receiving_address": "stake1up8xg8ur80nsymvefrlk4dshjyfrze4pep843l289f4n8fgynegq0", - "prop_amount": 563 - } - ], - "gov_action_type": { - "id": 2, - "attributes": { - "gov_action_type_name": "Treasury", - "createdAt": "2024-08-21T21:40:32.586Z", - "updatedAt": "2024-08-21T21:40:33.850Z", - "publishedAt": "2024-08-21T21:40:33.843Z" - } - } - } - } - } - }, - { - "id": 16957, - "attributes": { - "prop_likes": 0, - "prop_dislikes": 0, - "prop_comments_number": 0, - "user_id": "1876", - "createdAt": "2025-01-28T17:45:28.363Z", - "updatedAt": "2025-01-28T17:45:28.363Z", - "user_govtool_username": "cordie_stark_1732618876964", - "content": { - "id": 16936, - "attributes": { - "proposal_id": "16957", - "prop_rev_active": true, - "prop_abstract": "sol deprimo bonus adicio tamdiu", - "prop_motivation": "accusamus creta vir ara aetas", - "prop_rationale": "ultio degero exercitationem adfero vae", - "gov_action_type_id": "2", - "prop_name": "Animus virgo averto suscipio agnosco decerno.", - "is_draft": false, - "user_id": "1876", - "prop_submitted": false, - "prop_submission_tx_hash": null, - "prop_submission_date": null, - "createdAt": "2025-01-28T17:45:28.387Z", - "updatedAt": "2025-01-28T17:45:28.387Z", - "proposal_links": [ - { - "id": 16784, - "prop_link": "https://klutzy-light.biz", - "prop_link_text": "boring-closing" - } - ], - "proposal_withdrawals": [ - { - "id": 15111, - "prop_receiving_address": "stake1up8xg8ur80nsymvefrlk4dshjyfrze4pep843l289f4n8fgynegq0", - "prop_amount": 555 - } - ], - "gov_action_type": { - "id": 2, - "attributes": { - "gov_action_type_name": "Treasury", - "createdAt": "2024-08-21T21:40:32.586Z", - "updatedAt": "2024-08-21T21:40:33.850Z", - "publishedAt": "2024-08-21T21:40:33.843Z" - } - } - } - } - } - } - ], - "meta": { - "pagination": { - "page": 1, - "pageSize": 25, - "pageCount": 138, - "total": 3437 - } - } -} diff --git a/tests/govtool-frontend/playwright/tests/8-proposal-discussion/proposalDiscussion.spec.ts b/tests/govtool-frontend/playwright/tests/8-proposal-discussion/proposalDiscussion.spec.ts index 28688e6ed..220d26c3c 100644 --- a/tests/govtool-frontend/playwright/tests/8-proposal-discussion/proposalDiscussion.spec.ts +++ b/tests/govtool-frontend/playwright/tests/8-proposal-discussion/proposalDiscussion.spec.ts @@ -16,8 +16,6 @@ import { ProposalType } from "@types"; const mockProposal = require("../../lib/_mock/proposal.json"); const mockPoll = require("../../lib/_mock/proposalPoll.json"); const mockComments = require("../../lib/_mock/proposalComments.json"); -const mockInfoProposedGA = require("../../lib/_mock/infoProposedGAs.json"); -const mockTreasuryProposal = require("../../lib/_mock/treasuryProposedGAs.json"); test.beforeEach(async () => { await setAllureEpic("8. Proposal Discussion Forum"); @@ -98,35 +96,18 @@ test("8D. Should show the view-all categorized proposed governance actions.", as browser, }) => { await Promise.all( - Object.entries({ - [ProposalType.info]: mockInfoProposedGA, - [ProposalType.treasury]: mockTreasuryProposal, - }).map(async ([proposalType, mockData]) => { - const requestUrl = `**/api/proposals?**`; - let requestHandled = 0; - + Object.values(ProposalType).map(async (proposalType: string) => { const context = await browser.newContext(); const page = await context.newPage(); - await page.route(requestUrl, async (route) => { - if (requestHandled < 2) { - requestHandled = requestHandled + 1; - return route.fulfill({ - body: JSON.stringify(mockData), - }); - } - return route.continue(); - }); - const proposalDiscussionPage = new ProposalDiscussionPage(page); await proposalDiscussionPage.goto(); - await proposalDiscussionPage.filterBtn.click(); - await proposalDiscussionPage.filterProposalByNames([proposalType]); - // to close the filter menu - await proposalDiscussionPage.filterBtn.click({ force: true }); - - proposalDiscussionPage.showAllBtn.click(); + page + .getByTestId( + proposalType.toLowerCase().replace(/ /g, "-") + "-show-all-button" + ) + .click(); const proposalCards = await proposalDiscussionPage.getAllProposals(); From 30c7603d1676308ac3b31b417daa95ee8535f37a Mon Sep 17 00:00:00 2001 From: Niraj Date: Fri, 14 Feb 2025 14:51:43 +0545 Subject: [PATCH 2/7] chore: update test id of guardrailsScript checkbox --- .../playwright/lib/pages/proposalSubmissionPage.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/govtool-frontend/playwright/lib/pages/proposalSubmissionPage.ts b/tests/govtool-frontend/playwright/lib/pages/proposalSubmissionPage.ts index 78ead7bcb..0ea5f177d 100644 --- a/tests/govtool-frontend/playwright/lib/pages/proposalSubmissionPage.ts +++ b/tests/govtool-frontend/playwright/lib/pages/proposalSubmissionPage.ts @@ -66,9 +66,9 @@ export default class ProposalSubmissionPage { readonly createNewProposalBtn = this.page.getByTestId( "create-new-proposal-button" ); - readonly guardrailsScriptCheckbox = this.page.getByLabel( - "Do you want to provide new" - ); // BUG missing test id + readonly guardrailsScriptCheckbox = this.page.getByTestId( + "chb-prop-have-guardrails-script" + ); // input fields readonly titleInput = this.page.getByTestId("title-input"); From 5299bbd0174e13497f4e49ffa6b8e3f2a68b011a Mon Sep 17 00:00:00 2001 From: Niraj Date: Mon, 17 Feb 2025 12:31:23 +0545 Subject: [PATCH 3/7] feat: add method to calculate total abstain votes for DRep proposals --- .../lib/pages/governanceActionDetailsPage.ts | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/tests/govtool-frontend/playwright/lib/pages/governanceActionDetailsPage.ts b/tests/govtool-frontend/playwright/lib/pages/governanceActionDetailsPage.ts index 4199b7f99..d79a84e51 100644 --- a/tests/govtool-frontend/playwright/lib/pages/governanceActionDetailsPage.ts +++ b/tests/govtool-frontend/playwright/lib/pages/governanceActionDetailsPage.ts @@ -124,6 +124,28 @@ export default class GovernanceActionDetailsPage { } } + async getDRepTotalAbstainVoted( + proposal: IProposal, + metricsResponsePromise: Promise + ): Promise { + const metricsResponses = await Promise.resolve(metricsResponsePromise); + const alwaysAbstainVotingPower = await metricsResponses + .json() + .then((data) => data.alwaysAbstainVotingPower); + + if ( + alwaysAbstainVotingPower && + typeof alwaysAbstainVotingPower === "number" + ) { + const totalAbstainVoted = + alwaysAbstainVotingPower + proposal.dRepAbstainVotes; + + return totalAbstainVoted; + } else { + return proposal.dRepAbstainVotes; + } + } + async downloadVoteMetadata() { const download: Download = await this.page.waitForEvent("download"); return downloadMetadata(download); From a5ad6666dae243449b4c1f2e02fbc6cb708053a4 Mon Sep 17 00:00:00 2001 From: Niraj Date: Mon, 17 Feb 2025 12:32:30 +0545 Subject: [PATCH 4/7] fix: remove dRepNotVoted assertion --- .../proposalVisibility.dRep.spec.ts | 17 ++++++----------- .../proposalVisibility.spec.ts | 11 ----------- 2 files changed, 6 insertions(+), 22 deletions(-) diff --git a/tests/govtool-frontend/playwright/tests/4-proposal-visibility/proposalVisibility.dRep.spec.ts b/tests/govtool-frontend/playwright/tests/4-proposal-visibility/proposalVisibility.dRep.spec.ts index 4036d80ba..c10950fe0 100644 --- a/tests/govtool-frontend/playwright/tests/4-proposal-visibility/proposalVisibility.dRep.spec.ts +++ b/tests/govtool-frontend/playwright/tests/4-proposal-visibility/proposalVisibility.dRep.spec.ts @@ -184,10 +184,11 @@ test.describe("Check vote count", () => { `${proposalToCheck.txHash}#${proposalToCheck.index}` ); - const dRepNotVoted = await govActionDetailsPage.getDRepNotVoted( - proposalToCheck, - metricsResponsePromise - ); + const dRepTotalAbstainVote = + await govActionDetailsPage.getDRepTotalAbstainVoted( + proposalToCheck, + metricsResponsePromise + ); await govActionDetailsPage.showVotesBtn.click(); @@ -197,17 +198,11 @@ test.describe("Check vote count", () => { `₳ ${correctVoteAdaFormat(proposalToCheck.dRepYesVotes)}` ); await expect(govActionDetailsPage.dRepAbstainVotes).toHaveText( - `₳ ${correctVoteAdaFormat(proposalToCheck.dRepAbstainVotes)}` + `₳ ${correctVoteAdaFormat(dRepTotalAbstainVote)}` ); await expect(govActionDetailsPage.dRepNoVotes).toHaveText( `₳ ${correctVoteAdaFormat(proposalToCheck.dRepNoVotes)}` ); - - if (dRepNotVoted) { - await expect(govActionDetailsPage.dRepNotVoted).toHaveText( - `₳ ${correctVoteAdaFormat(dRepNotVoted)}` - ); - } } // check sPos votes diff --git a/tests/govtool-frontend/playwright/tests/4-proposal-visibility/proposalVisibility.spec.ts b/tests/govtool-frontend/playwright/tests/4-proposal-visibility/proposalVisibility.spec.ts index d573eadee..d5d62692b 100644 --- a/tests/govtool-frontend/playwright/tests/4-proposal-visibility/proposalVisibility.spec.ts +++ b/tests/govtool-frontend/playwright/tests/4-proposal-visibility/proposalVisibility.spec.ts @@ -75,11 +75,6 @@ test("4K. Should display correct vote counts on governance details page for disc `${proposalToCheck.txHash}#${proposalToCheck.index}` ); - const dRepNotVoted = await govActionDetailsPage.getDRepNotVoted( - proposalToCheck, - metricsResponsePromise - ); - // check dRep votes if (await areDRepVoteTotalsDisplayed(proposalToCheck)) { await expect(govActionDetailsPage.dRepYesVotes).toHaveText( @@ -91,12 +86,6 @@ test("4K. Should display correct vote counts on governance details page for disc await expect(govActionDetailsPage.dRepNoVotes).toHaveText( `₳ ${correctVoteAdaFormat(proposalToCheck.dRepNoVotes)}` ); - - if (dRepNotVoted) { - await expect(govActionDetailsPage.dRepNotVoted).toHaveText( - `₳ ${correctVoteAdaFormat(dRepNotVoted)}` - ); - } } // check sPos votes if (await areSPOVoteTotalsDisplayed(proposalToCheck)) { From 7b615e3c041b7fb5cb81f6a93002c47ac06e8c3e Mon Sep 17 00:00:00 2001 From: Niraj Date: Mon, 17 Feb 2025 12:36:04 +0545 Subject: [PATCH 5/7] fix: await page interaction in proposal show-all-button --- .../tests/8-proposal-discussion/proposalDiscussion.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/govtool-frontend/playwright/tests/8-proposal-discussion/proposalDiscussion.spec.ts b/tests/govtool-frontend/playwright/tests/8-proposal-discussion/proposalDiscussion.spec.ts index 220d26c3c..32dd3c618 100644 --- a/tests/govtool-frontend/playwright/tests/8-proposal-discussion/proposalDiscussion.spec.ts +++ b/tests/govtool-frontend/playwright/tests/8-proposal-discussion/proposalDiscussion.spec.ts @@ -103,7 +103,7 @@ test("8D. Should show the view-all categorized proposed governance actions.", as const proposalDiscussionPage = new ProposalDiscussionPage(page); await proposalDiscussionPage.goto(); - page + await page .getByTestId( proposalType.toLowerCase().replace(/ /g, "-") + "-show-all-button" ) From adc750accb26007a84b7594b5eac9a6610c4400c Mon Sep 17 00:00:00 2001 From: Niraj Date: Mon, 17 Feb 2025 13:56:03 +0545 Subject: [PATCH 6/7] feat: add guardrails script handling in proposal submission --- .../playwright/lib/constants/index.ts | 9 ++++ .../playwright/lib/helpers/metadata.ts | 9 ++++ .../lib/pages/proposalSubmissionPage.ts | 47 ++++++++++++------- .../govtool-frontend/playwright/lib/types.ts | 1 + .../proposalSubmission.loggedin.spec.ts | 6 +-- 5 files changed, 52 insertions(+), 20 deletions(-) diff --git a/tests/govtool-frontend/playwright/lib/constants/index.ts b/tests/govtool-frontend/playwright/lib/constants/index.ts index fc15d0258..f403d28b8 100644 --- a/tests/govtool-frontend/playwright/lib/constants/index.ts +++ b/tests/govtool-frontend/playwright/lib/constants/index.ts @@ -19,3 +19,12 @@ export const PROPOSAL_TYPE_FILTERS = [ export const BOOTSTRAP_PROPOSAL_TYPE_FILTERS = ["Info Action"]; export const PROPOSAL_STATUS_FILTER = ["Submitted for vote", "Active proposal"]; + +export const guardrailsScript = { + type: "PlutusScriptV3", + description: "", + cborHex: "46450101004981", +}; + +export const guardrailsScriptHash = + "914d97d63e2b7113465739faddd82362b1deaeedbcc4d01016c35c6e"; diff --git a/tests/govtool-frontend/playwright/lib/helpers/metadata.ts b/tests/govtool-frontend/playwright/lib/helpers/metadata.ts index 69e8802f2..267d9e177 100644 --- a/tests/govtool-frontend/playwright/lib/helpers/metadata.ts +++ b/tests/govtool-frontend/playwright/lib/helpers/metadata.ts @@ -62,3 +62,12 @@ export async function uploadMetadataAndGetJsonHash() { ); return { dataHash, url }; } + +export async function uploadScriptAndGenerateUrl(payload: Object) { + const data = JSON.stringify(payload); + const jsonData = JSON.parse(data); + return await metadataBucketService.uploadMetadata( + "guardrail-script", + jsonData + ); +} diff --git a/tests/govtool-frontend/playwright/lib/pages/proposalSubmissionPage.ts b/tests/govtool-frontend/playwright/lib/pages/proposalSubmissionPage.ts index 0ea5f177d..f58c4b349 100644 --- a/tests/govtool-frontend/playwright/lib/pages/proposalSubmissionPage.ts +++ b/tests/govtool-frontend/playwright/lib/pages/proposalSubmissionPage.ts @@ -1,10 +1,14 @@ import environments from "@constants/environments"; +import { guardrailsScript, guardrailsScriptHash } from "@constants/index"; import { proposal04Wallet } from "@constants/staticWallets"; import { faker } from "@faker-js/faker"; import { isBootStrapingPhase } from "@helpers/cardano"; import { ShelleyWallet } from "@helpers/crypto"; import { expectWithInfo } from "@helpers/exceptionHandler"; -import { calculateHash, downloadMetadata } from "@helpers/metadata"; +import { + downloadMetadata, + uploadScriptAndGenerateUrl, +} from "@helpers/metadata"; import { extractProposalIdFromUrl } from "@helpers/string"; import { invalid } from "@mock/index"; import { Download, Locator, Page, expect } from "@playwright/test"; @@ -172,7 +176,9 @@ export default class ProposalSubmissionPage { await this.treasuryBtn.click(); } else { await this.updateTheConstitutionBtn.click(); - await this.guardrailsScriptCheckbox.click(); + if (governanceProposal.has_guardrails) { + await this.guardrailsScriptCheckbox.click(); + } } await this.fillupFormWithTypeSelected(governanceProposal); @@ -199,12 +205,14 @@ export default class ProposalSubmissionPage { governanceProposal.prop_constitution_url ); - await this.guardrailsScriptUrlInput.fill( - governanceProposal.prop_guardrails_script_url - ); - await this.guardrailsScriptHashInput.fill( - governanceProposal.prop_guardrails_script_hash - ); + if (governanceProposal.has_guardrails) { + await this.guardrailsScriptUrlInput.fill( + governanceProposal.prop_guardrails_script_url + ); + await this.guardrailsScriptHashInput.fill( + governanceProposal.prop_guardrails_script_hash + ); + } } async fillProposalLinks(proposal_links: Array) { @@ -358,10 +366,11 @@ export default class ProposalSubmissionPage { await expect(this.continueBtn).toBeDisabled(); } - generateValidProposalFormFields( + async generateValidProposalFormFields( proposalType: ProposalType, is_draft?: boolean, - receivingAddress?: string + receivingAddress?: string, + hasGuardrails: boolean = true ) { const proposal: ProposalCreateRequest = { prop_name: faker.lorem.sentence(6), @@ -376,6 +385,7 @@ export default class ProposalSubmissionPage { }, ], gov_action_type_id: Object.values(ProposalType).indexOf(proposalType), + has_guardrails: hasGuardrails, is_draft: !!is_draft, }; @@ -386,11 +396,14 @@ export default class ProposalSubmissionPage { .toString()); } if (proposalType === ProposalType.updatesToTheConstitution) { - proposal.prop_constitution_url = faker.internet.url(); - proposal.prop_guardrails_script_url = faker.internet.url(); - proposal.prop_guardrails_script_hash = calculateHash( - faker.lorem.paragraph() - ); + proposal.prop_constitution_url = + environments.metadataBucketUrl + "/data.jsonId"; + + if (proposal.has_guardrails) { + const url = await uploadScriptAndGenerateUrl(guardrailsScript); + proposal.prop_guardrails_script_url = url; + proposal.prop_guardrails_script_hash = guardrailsScriptHash; + } } return proposal; } @@ -437,7 +450,7 @@ export default class ProposalSubmissionPage { ); const proposalRequest: ProposalCreateRequest = - this.generateValidProposalFormFields( + await this.generateValidProposalFormFields( (await isBootStrapingPhase()) ? ProposalType.info : proposalType, false, receivingAddr @@ -457,7 +470,7 @@ export default class ProposalSubmissionPage { await this.goto(); await this.addLinkBtn.click(); - const proposalFormValue = this.generateValidProposalFormFields( + const proposalFormValue = await this.generateValidProposalFormFields( proposalType, true, ShelleyWallet.fromJson(proposal04Wallet).rewardAddressBech32( diff --git a/tests/govtool-frontend/playwright/lib/types.ts b/tests/govtool-frontend/playwright/lib/types.ts index 25d233055..71c50c4fb 100644 --- a/tests/govtool-frontend/playwright/lib/types.ts +++ b/tests/govtool-frontend/playwright/lib/types.ts @@ -163,6 +163,7 @@ export type ProposalCreateRequest = { prop_constitution_url?: string; prop_guardrails_script_url?: string; prop_guardrails_script_hash?: string; + has_guardrails?: boolean; is_draft: boolean; }; diff --git a/tests/govtool-frontend/playwright/tests/7-proposal-submission/proposalSubmission.loggedin.spec.ts b/tests/govtool-frontend/playwright/tests/7-proposal-submission/proposalSubmission.loggedin.spec.ts index af5cbeb47..a65f06781 100644 --- a/tests/govtool-frontend/playwright/tests/7-proposal-submission/proposalSubmission.loggedin.spec.ts +++ b/tests/govtool-frontend/playwright/tests/7-proposal-submission/proposalSubmission.loggedin.spec.ts @@ -64,7 +64,7 @@ test.describe("Proposal created logged state", () => { await ShelleyWallet.generate() ).rewardAddressBech32(environments.networkId); const formFields: ProposalCreateRequest = - proposalSubmissionPage.generateValidProposalFormFields( + await proposalSubmissionPage.generateValidProposalFormFields( type, false, rewardAddressBech32 @@ -141,7 +141,7 @@ test.describe("Proposal created logged state", () => { wallet ).rewardAddressBech32(environments.networkId); const proposal: ProposalCreateRequest = - proposalSubmissionPage.generateValidProposalFormFields( + await proposalSubmissionPage.generateValidProposalFormFields( type, false, stakeAddressBech32 @@ -195,7 +195,7 @@ test.describe("Proposal created logged state", () => { proposal01Wallet ).rewardAddressBech32(environments.networkId); const proposal: ProposalCreateRequest = - proposalSubmissionPage.generateValidProposalFormFields( + await proposalSubmissionPage.generateValidProposalFormFields( type, false, rewardAddressBech32 From 549d7a214c35f4b539f0d35b30a39cf488cfcba5 Mon Sep 17 00:00:00 2001 From: Niraj Date: Mon, 17 Feb 2025 16:06:46 +0545 Subject: [PATCH 7/7] refactor: use different url and hash for validation in generateValidProposalFormFields --- .../lib/pages/proposalSubmissionPage.ts | 72 ++++++++++++------- .../proposalSubmission.loggedin.spec.ts | 28 ++++---- 2 files changed, 58 insertions(+), 42 deletions(-) diff --git a/tests/govtool-frontend/playwright/lib/pages/proposalSubmissionPage.ts b/tests/govtool-frontend/playwright/lib/pages/proposalSubmissionPage.ts index f58c4b349..f45f3bbb8 100644 --- a/tests/govtool-frontend/playwright/lib/pages/proposalSubmissionPage.ts +++ b/tests/govtool-frontend/playwright/lib/pages/proposalSubmissionPage.ts @@ -10,7 +10,7 @@ import { uploadScriptAndGenerateUrl, } from "@helpers/metadata"; import { extractProposalIdFromUrl } from "@helpers/string"; -import { invalid } from "@mock/index"; +import { invalid, valid } from "@mock/index"; import { Download, Locator, Page, expect } from "@playwright/test"; import metadataBucketService from "@services/metadataBucketService"; import { @@ -366,12 +366,19 @@ export default class ProposalSubmissionPage { await expect(this.continueBtn).toBeDisabled(); } - async generateValidProposalFormFields( - proposalType: ProposalType, - is_draft?: boolean, - receivingAddress?: string, - hasGuardrails: boolean = true - ) { + async generateValidProposalFormFields({ + proposalType, + is_draft, + receivingAddress, + hasGuardrails = true, + forValidation = false, + }: { + proposalType: ProposalType; + is_draft?: boolean; + receivingAddress?: string; + hasGuardrails?: boolean; + forValidation?: boolean; + }) { const proposal: ProposalCreateRequest = { prop_name: faker.lorem.sentence(6), prop_abstract: faker.lorem.words(5), @@ -396,19 +403,28 @@ export default class ProposalSubmissionPage { .toString()); } if (proposalType === ProposalType.updatesToTheConstitution) { - proposal.prop_constitution_url = - environments.metadataBucketUrl + "/data.jsonId"; - - if (proposal.has_guardrails) { - const url = await uploadScriptAndGenerateUrl(guardrailsScript); - proposal.prop_guardrails_script_url = url; - proposal.prop_guardrails_script_hash = guardrailsScriptHash; + proposal.prop_constitution_url = forValidation + ? valid.url() + : environments.metadataBucketUrl + "/data.jsonId"; + + if (hasGuardrails) { + if (!forValidation) { + const url = await uploadScriptAndGenerateUrl(guardrailsScript); + proposal.prop_guardrails_script_url = url; + proposal.prop_guardrails_script_hash = guardrailsScriptHash; + } else { + proposal.prop_guardrails_script_url = valid.url(); + proposal.prop_guardrails_script_hash = faker.string.alphanumeric(64); + } } } return proposal; } - generateInValidProposalFormFields(proposalType: ProposalType) { + generateInValidProposalFormFields( + proposalType: ProposalType, + hasGuardrails: boolean = true + ) { const proposal: ProposalCreateRequest = { prop_name: invalid.proposalTitle(), prop_abstract: invalid.paragraph(2510), @@ -422,6 +438,7 @@ export default class ProposalSubmissionPage { }, ], gov_action_type_id: Object.values(ProposalType).indexOf(proposalType), + has_guardrails: hasGuardrails, is_draft: false, }; @@ -450,11 +467,12 @@ export default class ProposalSubmissionPage { ); const proposalRequest: ProposalCreateRequest = - await this.generateValidProposalFormFields( - (await isBootStrapingPhase()) ? ProposalType.info : proposalType, - false, - receivingAddr - ); + await this.generateValidProposalFormFields({ + proposalType: (await isBootStrapingPhase()) + ? ProposalType.info + : proposalType, + receivingAddress: receivingAddr, + }); await this.fillupForm(proposalRequest); await this.continueBtn.click(); await this.submitBtn.click(); @@ -470,13 +488,13 @@ export default class ProposalSubmissionPage { await this.goto(); await this.addLinkBtn.click(); - const proposalFormValue = await this.generateValidProposalFormFields( - proposalType, - true, - ShelleyWallet.fromJson(proposal04Wallet).rewardAddressBech32( - environments.networkId - ) - ); + const proposalFormValue = await this.generateValidProposalFormFields({ + proposalType: proposalType, + is_draft: true, + receivingAddress: ShelleyWallet.fromJson( + proposal04Wallet + ).rewardAddressBech32(environments.networkId), + }); await this.fillupForm(proposalFormValue); await this.saveDraftBtn.click(); diff --git a/tests/govtool-frontend/playwright/tests/7-proposal-submission/proposalSubmission.loggedin.spec.ts b/tests/govtool-frontend/playwright/tests/7-proposal-submission/proposalSubmission.loggedin.spec.ts index a65f06781..daa0270c9 100644 --- a/tests/govtool-frontend/playwright/tests/7-proposal-submission/proposalSubmission.loggedin.spec.ts +++ b/tests/govtool-frontend/playwright/tests/7-proposal-submission/proposalSubmission.loggedin.spec.ts @@ -64,11 +64,11 @@ test.describe("Proposal created logged state", () => { await ShelleyWallet.generate() ).rewardAddressBech32(environments.networkId); const formFields: ProposalCreateRequest = - await proposalSubmissionPage.generateValidProposalFormFields( - type, - false, - rewardAddressBech32 - ); + await proposalSubmissionPage.generateValidProposalFormFields({ + proposalType: type, + receivingAddress: rewardAddressBech32, + forValidation: true, + }); await proposalSubmissionPage.validateForm(formFields); } @@ -141,11 +141,10 @@ test.describe("Proposal created logged state", () => { wallet ).rewardAddressBech32(environments.networkId); const proposal: ProposalCreateRequest = - await proposalSubmissionPage.generateValidProposalFormFields( - type, - false, - stakeAddressBech32 - ); + await proposalSubmissionPage.generateValidProposalFormFields({ + proposalType: type, + receivingAddress: stakeAddressBech32, + }); await proposalSubmissionPage.fillupForm(proposal); await proposalSubmissionPage.continueBtn.click(); @@ -195,11 +194,10 @@ test.describe("Proposal created logged state", () => { proposal01Wallet ).rewardAddressBech32(environments.networkId); const proposal: ProposalCreateRequest = - await proposalSubmissionPage.generateValidProposalFormFields( - type, - false, - rewardAddressBech32 - ); + await proposalSubmissionPage.generateValidProposalFormFields({ + proposalType: type, + receivingAddress: rewardAddressBech32, + }); await proposalSubmissionPage.fillupForm(proposal); await proposalSubmissionPage.continueBtn.click();