Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GovTool 1.0.15-test #1919

Merged
merged 80 commits into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from 76 commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
6dcdbdc
chore: move allure report scripts from base to tests/scripts
kneerose Aug 16, 2024
98a708c
chore: update report script path on backend and integration test wor…
kneerose Aug 16, 2024
d77ba64
chore: update deprecated set-output command to use GITHUB_OUTPUT envi…
kneerose Aug 16, 2024
1ff534a
chore: move script file from tests to .github
kneerose Aug 16, 2024
812b2ba
Update Proposal to include cc, pool and dRep votes
spannercode Aug 28, 2024
b587b36
fix(#1873): fix missing DRep name whitespace validation
MSzalowski Aug 30, 2024
42631f8
Merge pull request #1881 from IntersectMBO/fix/1873-drep-registration…
MSzalowski Aug 30, 2024
e1366e8
fix(#1866): fix formatting governance action id
MSzalowski Aug 30, 2024
556d6fc
fix(#1866): fix wrong test condition
MSzalowski Aug 30, 2024
2af5579
Merge pull request #1885 from IntersectMBO/fix/1866-copy-governance-a…
MSzalowski Aug 30, 2024
a6bf3db
fix(#1863): add missing DRep Details test IDs
MSzalowski Aug 30, 2024
83b3e9b
Merge pull request #1886 from IntersectMBO/fix/1863-missing-test-ids-…
MSzalowski Aug 30, 2024
30346c8
fix(#1871): make payment address validation optional
MSzalowski Aug 30, 2024
4f2bd3e
Merge pull request #1846 from cardanoapi/fix/backend-proposal-tests
mesudip Sep 2, 2024
43a5fe0
Merge pull request #1884 from IntersectMBO/fix/1871-payment-address-o…
MSzalowski Sep 2, 2024
b6e64bf
fix(#1889): fix displaying on-chain governance action details
MSzalowski Sep 2, 2024
65841d4
Fix frontend PDF_API_URL
mesudip Sep 2, 2024
db8dbec
fix(#1887): replace mocked MrDRep with CIP-119 compliant metadata
MSzalowski Sep 2, 2024
11768a4
fix(#1839): add missing test ids for system banners
MSzalowski Aug 30, 2024
b8c99e3
Merge pull request #1888 from IntersectMBO/fix/1839-missing-test-ids-…
MSzalowski Sep 2, 2024
7fa2053
Merge pull request #1901 from IntersectMBO/fix/1887-replace-mocked-mr…
MSzalowski Sep 2, 2024
5ee7873
Update CHANGELOG.md
MSzalowski Sep 2, 2024
38e237b
Merge pull request #1899 from IntersectMBO/fix/1889-cannot-view-on-ch…
MSzalowski Sep 2, 2024
eb9613b
[#1903] change home page hero copy
j-dyczka Sep 2, 2024
fb99275
chore: update dRep Info type
kneerose Aug 28, 2024
8a29702
fix: dRep registry issue caused by dRep registration field update
kneerose Aug 28, 2024
962c7d5
fix: test 2N due to updated field on dRep registration
kneerose Aug 28, 2024
7041899
fix: test 3A by navigate to info proposal
kneerose Aug 28, 2024
eeb0be9
fix: test 3D verification of dRep registration form by updating field
kneerose Aug 28, 2024
85d8a8e
fix: test 3E_1 accept valid data of dRep from by updating field and a…
kneerose Aug 28, 2024
17d7acb
fix: test 3E_2 reject invalid data in drep form by updating field and…
kneerose Aug 28, 2024
841cef1
fix: tests failed due to update on submit and registre btn test ids
kneerose Aug 28, 2024
da7405c
fix: incorrectly formatted dRep registration
kneerose Aug 28, 2024
5c402f4
fix: test 3H should update dRep data
kneerose Aug 29, 2024
a616337
chore: update in progress assertion with testid
kneerose Aug 29, 2024
d4e0809
chore: update docs urls
kneerose Aug 29, 2024
7db95b0
chore: update test ids of learn more button
kneerose Aug 29, 2024
2ea18e2
fix: test 3L_2 due to incorrect test id of registerBtn
kneerose Aug 29, 2024
975ea94
fix: test 3M_1 and 3M_2 validation of edit dRep
kneerose Aug 30, 2024
2a3bb91
chore: add cc, spo field on IProposal
kneerose Sep 1, 2024
11b329b
feat: add cc and spo corret vote assertion on test 4K and 4G
kneerose Sep 1, 2024
6970c81
fix: 4C2 sort by highest test due to field name change
kneerose Sep 1, 2024
88b7fba
fix: dRep name error text on white space
kneerose Sep 1, 2024
3f7d4da
fix: test 2R and 2E by adding assertion and timeout
kneerose Sep 1, 2024
1780d1b
chore: update in dRep in progress assertion
kneerose Sep 1, 2024
5bf41fc
chore: update testids of dRep information details
kneerose Sep 1, 2024
5e98e22
chore: update assertion timeout of 5K and 3F
kneerose Sep 1, 2024
59e3861
chore: bump cardano test wallet version to 2.1.1
kneerose Sep 2, 2024
fe35d55
chore: extend timeout to load dRep list properly
kneerose Sep 2, 2024
43a1e87
chore: extend timeout for registration-transaction-submitted-modal in…
kneerose Sep 2, 2024
7891c96
fix: usersnap failing test
kneerose Sep 3, 2024
4cd1889
Merge pull request #1749 from IntersectMBO/chore/move-allure-report-s…
mesudip Sep 3, 2024
b23f785
Merge pull request #1900 from IntersectMBO/infra/test-chores
mesudip Sep 3, 2024
c6082d4
Merge pull request #1907 from IntersectMBO/bugfix/protocol-v9-failing…
kneerose Sep 3, 2024
7d69aef
chore: add ipfs link on valid url
kneerose Aug 26, 2024
a07f201
chore: update metedata anchor validation with valid url
kneerose Aug 26, 2024
863a20f
Merge pull request #1909 from IntersectMBO/tests/metadata-anchor-ipfs…
kneerose Sep 3, 2024
07d322a
Merge pull request #1905 from IntersectMBO/feat/1903-update-home-page…
jdyczka Sep 3, 2024
48aa221
chore(#1895): bump cardano-node version to 9.1.1
MSzalowski Sep 2, 2024
16f156e
chore(#1906): bump cardano-db-sync version to 13.5.0.1
MSzalowski Sep 3, 2024
7e35dc2
Merge pull request #1902 from IntersectMBO/chore/1895-bump-node-versi…
MSzalowski Sep 3, 2024
3aeb1ce
[#1850] adjust DRep details to new designs
j-dyczka Aug 30, 2024
0638823
[#1850] extend DRep reference type
j-dyczka Sep 2, 2024
9bdee66
[#1850] add support for dRep references type and label
j-dyczka Sep 2, 2024
5b11033
[#1850] add support for Do not list checkbox for DRep
j-dyczka Sep 2, 2024
d1e7e39
Merge pull request #1904 from IntersectMBO/feat/1850-final-designs-fo…
jdyczka Sep 3, 2024
3440b18
fix(#1894): fix DRep metadata validation
MSzalowski Sep 3, 2024
b986c87
fix(#1894): add custom metadata validation utils
MSzalowski Sep 3, 2024
94f75aa
chore(#1894): adjust frontend to metadata-validation api changes
MSzalowski Sep 3, 2024
eff5ba9
fix(#1894): fix displaying CIP-108 metadata when validation fails
MSzalowski Sep 3, 2024
7fcd7ba
[#1910] fix runtime error when navigating to GA details from Voted on…
j-dyczka Sep 3, 2024
9f11a7b
Merge pull request #1914 from IntersectMBO/fix/1910-runtime-error-in-…
jdyczka Sep 3, 2024
1a36035
Merge pull request #1915 from IntersectMBO/fix/1894-drep-metdata-vali…
MSzalowski Sep 3, 2024
32936ad
chore: bump GovTool version to v1.0.15
MSzalowski Sep 3, 2024
2b462c1
Merge pull request #1917 from IntersectMBO/chore/bump-GovTool-version…
MSzalowski Sep 3, 2024
f0d983a
Merge pull request #1918 from IntersectMBO/develop
MSzalowski Sep 3, 2024
d7e9fa4
fix(#1894): make response of the metadata restricted to be raw text
MSzalowski Sep 3, 2024
3b53f3d
fix(#1894): fix metadata hash generation
MSzalowski Sep 3, 2024
d240a87
Merge pull request #1920 from IntersectMBO/fix/1894-drep-metdata-vali…
MSzalowski Sep 3, 2024
3e82df0
Merge pull request #1921 from IntersectMBO/develop
MSzalowski Sep 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ else
latest_number=$(echo "$gh_pages_content" | grep -Eo '[0-9]+' | sort -nr | head -n 1)
fi

echo "::set-output name=report_number::$((latest_number+1))"
echo "::set-output name=report_url::https://$(dirname "$GH_PAGES").github.io/$(basename "$GH_PAGES")/$REPORT_NAME"
echo "report_number=$((latest_number+1))" >> $GITHUB_OUTPUT
echo "report_url=https://$(dirname "$GH_PAGES").github.io/$(basename "$GH_PAGES")/$REPORT_NAME" >> $GITHUB_OUTPUT

4 changes: 2 additions & 2 deletions register_report.sh → .github/scripts/register_report.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ cp -r gh-pages/* "$PROJECT_DIR" || true

if grep -q "$REPORT_NAME" "$PROJECT_DIR/$PROJECT_FILE"; then
echo "Project already exists"
echo "::set-output name=project_exists::true"
echo "project_exists=true">> $GITHUB_OUTPUT
else
echo "$REPORT_NAME" >> "$PROJECT_DIR/$PROJECT_FILE"
echo "::set-output name=project_exists::false"
echo "project_exists=false">> $GITHUB_OUTPUT
fi
12 changes: 6 additions & 6 deletions .github/workflows/test_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ jobs:
id: register-project
if: ${{success()}}
run: |
chmod +x ./register_report.sh
./register_report.sh
chmod +x .github/scripts/register_report.sh
.github/scripts/register_report.sh
- if: steps.register-project.outputs.project_exists != 'true'
uses: JamesIves/github-pages-deploy-action@v4
with:
Expand All @@ -85,8 +85,8 @@ jobs:
- name: Generate report details
id: report-details
run: |
chmod +x ./generate_report_details.sh
./generate_report_details.sh
chmod +x .github/scripts/generate_report_details.sh
.github/scripts/generate_report_details.sh

- name: Build report
uses: simple-elf/allure-report-action@master
Expand All @@ -102,8 +102,8 @@ jobs:

- name: Generate Latest Report
run: |
chmod +x ./generate_latest_report_redirect.sh
./generate_latest_report_redirect.sh ${{steps.report-details.outputs.report_number}}
chmod +x .github/scripts/generate_latest_report_redirect.sh
.github/scripts/generate_latest_report_redirect.sh ${{steps.report-details.outputs.report_number}}

- name: Deploy report to Github Pages
uses: JamesIves/github-pages-deploy-action@v4
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test_integration_playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ jobs:
id: register-project
if: ${{success()}}
run: |
chmod +x ./register_report.sh
./register_report.sh
chmod +x .github/scripts/register_report.sh
.github/scripts/register_report.sh
- if: steps.register-project.outputs.project_exists != 'true'
uses: JamesIves/github-pages-deploy-action@v4
with:
Expand All @@ -119,8 +119,8 @@ jobs:
- name: Generate report details
id: report-details
run: |
chmod +x ./generate_report_details.sh
./generate_report_details.sh
chmod +x .github/scripts/generate_report_details.sh
.github/scripts/generate_report_details.sh

- name: Build report
uses: simple-elf/allure-report-action@master
Expand All @@ -137,8 +137,8 @@ jobs:

- name: Generate Latest Report
run: |
chmod +x ./generate_latest_report_redirect.sh
./generate_latest_report_redirect.sh ${{steps.report-details.outputs.report_number}}
chmod +x .github/scripts/generate_latest_report_redirect.sh
.github/scripts/generate_latest_report_redirect.sh ${{steps.report-details.outputs.report_number}}

- name: Deploy report to Github Pages
uses: JamesIves/github-pages-deploy-action@v4
Expand Down
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,49 @@ changes.

### Fixed

-

### Changed

-

### Removed

-

## [sancho-v1.0.15](https://github.com/IntersectMBO/govtool/releases/tag/sancho-v1.0.15) 2024-09-03

### Added

- Add missing test DRep Details test IDs [Issue 1863](https://github.com/IntersectMBO/govtool/issues/1863)
- Add missing system banners test IDs [Issue 1839](https://github.com/IntersectMBO/govtool/issues/1839)

### Fixed

- Delete duplicate text on DRep registration form [Issue 1847](https://github.com/IntersectMBO/govtool/issues/1847)
- Fix modal content invisible on ios [Issue 1842](https://github.com/IntersectMBO/govtool/issues/1842)
- Fix counting votes by CC committee members and SPOs [Issue 1838](https://github.com/IntersectMBO/govtool/issues/1838)
- Fix displaying non relevant data in protocol parameter change Governance Action [Issue 1601](https://github.com/IntersectMBO/govtool/issues/1601)
- Fix voting on info actions in bootstrapping phase [Issue 1876](https://github.com/IntersectMBO/govtool/issues/1876)
- Fix missing DRep name whitespace validation [Issue 1873](https://github.com/IntersectMBO/govtool/issues/1873)
- Fix displaying wrongly formatted Governance Action ID [Issue 1866](https://github.com/IntersectMBO/govtool/issues/1866k)
- Make payment address optional in DRep registration and edit form [Issue 1871](https://github.com/IntersectMBO/govtool/issues/1871)
- Fix displaying wrongly formatted Governance Action ID [Issue 1866](https://github.com/IntersectMBO/govtool/issues/1866)
- Fix displaying the proper Governance Action Details on renavigating between pages
- Fix displaying protocol params Governance Action details when metadata validation fails [Issue 1889](https://github.com/IntersectMBO/govtool/issues/1889)
- Fix runtime error when navigating to GA details from Voted on by me tab [Issue 1910](https://github.com/IntersectMBO/govtool/issues/1910)

### Changed

- Replace diff library to avoid usage of `--force` in package installation
- Bump @intersect.mbo/pdf-ui to v0.3.8
- Change logo to Cardano GovTool [Issue 1851](https://github.com/IntersectMBO/govtool/issues/1851)
- Change copy to Cardano GovTool [Issue 1852](https://github.com/IntersectMBO/govtool/issues/1852)
- Replace mocked MrDRep label in DRep retired card with given name if exists, or make the description more neutral if the given name is not provided [Issue 1887](https://github.com/IntersectMBO/govtool/issues/1887)
- Change home page hero copy [Issue 1903](https://github.com/IntersectMBO/govtool/issues/1903)
- Bump cardano-node to 9.1.1 [Issue 1895](https://github.com/IntersectMBO/govtool/issues/1895)
- Bump cardano-db-sync 13.5.0.1 [Issue 1906](https://github.com/IntersectMBO/govtool/issues/1906)
- Adjust CIP119 support to match final designs [Issue 1850](https://github.com/IntersectMBO/govtool/issues/1850)

## [sancho-v1.0.14](https://github.com/IntersectMBO/govtool/releases/tag/sancho-v1.0.14) 2024-08-26

Expand Down
2 changes: 1 addition & 1 deletion govtool/backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ FROM $BASE_IMAGE_REPO:$BASE_IMAGE_TAG
WORKDIR /src
COPY . .
RUN cabal build
RUN cp dist-newstyle/build/x86_64-linux/ghc-9.2.7/vva-be-1.0.14/x/vva-be/build/vva-be/vva-be /usr/local/bin
RUN cp dist-newstyle/build/x86_64-linux/ghc-9.2.7/vva-be-1.0.15/x/vva-be/build/vva-be/vva-be /usr/local/bin
2 changes: 1 addition & 1 deletion govtool/backend/Dockerfile.qovery
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM $BASE_IMAGE_REPO:$BASE_IMAGE_TAG
WORKDIR /src
COPY . .
RUN cabal build
RUN cp dist-newstyle/build/x86_64-linux/ghc-9.2.7/vva-be-1.0.14/x/vva-be/build/vva-be/vva-be /usr/local/bin
RUN cp dist-newstyle/build/x86_64-linux/ghc-9.2.7/vva-be-1.0.15/x/vva-be/build/vva-be/vva-be /usr/local/bin

# Expose the necessary port
EXPOSE 9876
Expand Down
2 changes: 1 addition & 1 deletion govtool/backend/vva-be.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 3.6
name: vva-be
version: 1.0.14
version: 1.0.15

-- A short (one-line) description of the package.
-- synopsis:
Expand Down
Loading
Loading