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

New Release 1.30.4 #646

Merged
merged 67 commits into from
Aug 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
639ab06
[VAS-418] feat: Align tos page with design (#579)
svariant Jun 24, 2024
e839daf
Bump to version 1.26.0-1-next
pagopa-github-bot Jun 24, 2024
11830e5
merge
jacopocarlini Jun 24, 2024
084cce1
Merge branch 'next' of https://github.com/pagopa/pagopa-selfcare-fron…
jacopocarlini Jun 24, 2024
3fb8c45
fix: PaymentNoticesDetailPage.tsx posteAuth (#577)
alessio-cialini Jun 24, 2024
cf7c06b
Bump to version 1.26.0-2-next
pagopa-github-bot Jun 24, 2024
80762b8
fix github.head_ref in the action
jacopocarlini Jun 24, 2024
702eac5
Merge branch 'next' of https://github.com/pagopa/pagopa-selfcare-fron…
jacopocarlini Jun 24, 2024
b667c10
feat: Review channel flow (#573)
gioelemella Jun 25, 2024
305195d
Bump to version 1.26.0-3-next
pagopa-github-bot Jun 25, 2024
8cdb629
[VAS-1123] feat: Remove unused Station and Channel API (#574)
gioelemella Jun 25, 2024
b23b17a
Bump to version 1.26.0-4-next
pagopa-github-bot Jun 25, 2024
1012f3c
[VAS-1104] feat: New bundle status for available but expired bundles …
svariant Jun 26, 2024
e65267f
Bump to version 1.26.0-5-next
pagopa-github-bot Jun 26, 2024
a6667b0
[VAS-1103] feat: Add new field pspBusinessName to bundle details (#583)
svariant Jun 26, 2024
f0d30ec
Bump to version 1.26.0-6-next
pagopa-github-bot Jun 26, 2024
ad8b5d5
[VAS-1095] feat: e2e PSP's & CI's actions on private bundle (#570)
svariant Jun 26, 2024
420daf0
Bump to version 1.26.0-7-next
pagopa-github-bot Jun 26, 2024
c36523a
chore: Merge main into next (#585)
svariant Jun 26, 2024
cb5c707
Bump to version 1.26.1-1-next
pagopa-github-bot Jun 26, 2024
ae6d1fd
[VAS-1133] feat: Add new api key for printPaymentsNotice product (#584)
svariant Jun 27, 2024
17a5ff4
Bump to version 1.26.1-2-next
pagopa-github-bot Jun 27, 2024
82ea22b
fix: Updated AddEditCommissionBundleForm.tsx to call brokerDelegation…
alessio-cialini Jul 1, 2024
d4b6c8a
Bump to version 1.26.1-3-next
pagopa-github-bot Jul 1, 2024
a27f297
Merge branch 'refs/heads/main' into next
jacopocarlini Jul 1, 2024
c331f88
[VAS-1070] feat; Change station and channel detail view on pending up…
gioelemella Jul 2, 2024
5753706
Bump to version 1.26.3-1-next
pagopa-github-bot Jul 2, 2024
2e2e0a7
Merge branch 'refs/heads/main' into next
jacopocarlini Jul 2, 2024
37b5a92
notify
jacopocarlini Jul 3, 2024
b6d5e03
fix missing translate (#596)
gioelemella Jul 4, 2024
9e2c2e3
Bump to version 1.26.4-1-next
pagopa-github-bot Jul 4, 2024
517895d
fix: Bugs found before release (#597)
svariant Jul 5, 2024
e318a92
Bump to version 1.26.4-2-next
pagopa-github-bot Jul 5, 2024
1defddd
[VAS-1146] feat: Implement new boolean "cart" for bundles (#605)
svariant Jul 10, 2024
0a8e85f
Bump to version 1.26.4-3-next
pagopa-github-bot Jul 10, 2024
ae6f7b7
Merge branch 'refs/heads/main' into next
jacopocarlini Jul 15, 2024
3fef2d6
build(deps): Bump axios from 0.28.1 to 1.7.2 (#599)
dependabot[bot] Jul 15, 2024
b84a046
Bump to version 1.27.0-1-next
pagopa-github-bot Jul 15, 2024
6355881
build(deps): Bump @types/node from 20.10.1 to 20.14.10 (#600)
dependabot[bot] Jul 15, 2024
07c0740
Bump to version 1.27.0-2-next
pagopa-github-bot Jul 15, 2024
2b4c6f9
build(deps): Bump @mui/icons-material from 5.15.9 to 5.16.1 (#608)
dependabot[bot] Jul 15, 2024
038b7d3
Bump to version 1.27.0-3-next
pagopa-github-bot Jul 15, 2024
a8bef9a
[VAS-1166] feat: add tos and privacy pages (#607)
alessio-cialini Jul 18, 2024
de60128
Bump to version 1.27.0-4-next
pagopa-github-bot Jul 18, 2024
bffd3e7
Merge branch 'refs/heads/main' into next
jacopocarlini Jul 19, 2024
ce966f6
fix: errorBoundary labels (#619)
alessio-cialini Jul 23, 2024
c612110
Bump to version 1.28.1-1-next
pagopa-github-bot Jul 23, 2024
2591b33
[VAS-785] feat: Introduce new flags "standIn" & "aca" for CI-station …
svariant Jul 29, 2024
72768d2
Bump to version 1.28.1-2-next
pagopa-github-bot Jul 29, 2024
2fc5bd6
[VAS-1204] feat: Change "I miei enti" to "Enti gestiti" (#625)
svariant Jul 30, 2024
7c88dc1
Bump to version 1.28.1-3-next
pagopa-github-bot Jul 30, 2024
a6054b6
[PPANTT-41] feat: Station's maintenance list page (#627)
svariant Jul 31, 2024
3a660f5
Bump to version 1.28.1-4-next
pagopa-github-bot Jul 31, 2024
5624fe8
Bump to version 1.28.1-5-next [skip ci]
pagopa-github-bot Jul 31, 2024
c2b9a33
[PPANTT-42] feat: Station maintenances create/edit/details page (#628)
svariant Aug 5, 2024
b1f0066
Bump to version 1.28.1-8-next
pagopa-github-bot Aug 5, 2024
1694399
Merge main next 1.29.3 (#635)
svariant Aug 6, 2024
a28b8f5
Bump to version 1.29.3-1-next
pagopa-github-bot Aug 6, 2024
77efb34
Merge branch 'main' into next
svariant Aug 6, 2024
d4a6904
Merge remote-tracking branch 'origin/main' into next
alessio-cialini Aug 21, 2024
1dab427
[PPANTT-93] feat: Add api key ACA (#645)
svariant Aug 23, 2024
9611ccc
Bump to version 1.30.3-3-next [skip ci]
pagopa-github-bot Aug 23, 2024
99fcce0
[PPANTT-9] feat: e2e delegations' page (#643)
svariant Aug 23, 2024
1b0ba28
Bump to version 1.30.3-4-next
pagopa-github-bot Aug 23, 2024
d0ddc21
[PPANTT-26] feat: Changed bundle's channel list autocomplete from cli…
svariant Aug 23, 2024
631bec3
Bump to version 1.30.3-5-next
pagopa-github-bot Aug 23, 2024
835c3d4
Bump to version 1.30.3-6-next [skip ci]
pagopa-github-bot Aug 23, 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
2 changes: 1 addition & 1 deletion .github/workflows/ci_integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Integration Tests

on:
schedule:
- cron: '00 09 * * *'
- cron: '00 09 * * 1,2,3,4,5'

workflow_call:
inputs:
Expand Down
62 changes: 62 additions & 0 deletions e2e/tests/delegations.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
import { Page, test } from '@playwright/test';
import { changeToEcUser, checkReturnHomepage } from './utils/e2eUtils';

const STATION_ID = '99999000013_02';
const ecName = 'EC Signed Direct';
const segregationCode = '40';

test.setTimeout(100000);
test.describe('Delegations flow', () => {
// eslint-disable-next-line functional/no-let
let page: Page;

test.beforeAll(async ({ browser }) => {
page = await browser.newPage({ storageState: undefined });
await changeToEcUser(page);
});

test.afterAll(async () => {
await page.close();
});

test('Associate station to EC', async () => {
await page.getByTestId('stations-test').click();
await page.getByTestId('search-input').click();
await page.getByTestId('search-input').fill(STATION_ID);
await page.waitForTimeout(2000);
await page.getByLabel('more').click();
await page.getByRole('link', { name: 'Gestisci EC' }).click();
await page.getByRole('link', { name: 'Associa EC' }).click();
await page.getByLabel('Cerca EC').click();
await page.getByTestId('ec-selection-id-test').getByLabel('Cerca EC').fill('EC');
await page.getByRole('option', { name: ecName }).click();
await page.getByRole('combobox', { name: '​', exact: true }).click();
await page.getByRole('option', { name: segregationCode }).click();
await page.getByTestId('confirm-btn-test').click();
await checkReturnHomepage(page);
});

test('Test delegations page & details', async () => {
await page.getByTestId('delegations-test').click();
await page.getByTestId('search-input').click();
await page.getByTestId('search-input').fill(ecName);
await page.getByTestId('button-search').click();
await page.waitForTimeout(2000);
await page.getByTestId('column-go-to-delegation-detail').click();
});

test('Disassociate station', async () => {
await page.getByTestId('search-input').click();
await page.getByTestId('search-input').fill(STATION_ID);
await page.getByTestId('button-search').click();
await page.waitForTimeout(2000);
await page.getByTestId('column-station-detail-button').click();
await page.getByTestId('station-detail-disassociate-station-button').click();
await page.getByTestId('cancel-button-test').click();
await page.getByTestId('column-station-detail-button').click();
await page.getByTestId('station-detail-disassociate-station-button').click();
await page.getByTestId('confirm-button-test').click();
await page.getByTestId('exit-btn-test').click();
await checkReturnHomepage(page);
});
});
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pagopa-selfcare-backoffice-frontend",
"version": "1.30.3",
"version": "1.30.3-6-next",
"homepage": "ui",
"private": true,
"scripts": {
Expand Down Expand Up @@ -28,7 +28,7 @@
"clean:api-portal": "rimraf src/api/generated/portal && rimraf openApi/generated",
"generate:api-portal": "wget https://raw.githubusercontent.com/pagopa/pagopa-selfcare-ms-backoffice-backend/main/openapi/openapi.json -O ./openApi/portal-api-docs.json && npm run generate:client",
"generate:api-portal-next": "wget https://raw.githubusercontent.com/pagopa/pagopa-selfcare-ms-backoffice-backend/next/openapi/openapi.json -O ./openApi/portal-api-docs.json && npm run generate:client",
"generate:api-portal-pr": "wget https://raw.githubusercontent.com/pagopa/pagopa-selfcare-ms-backoffice-backend/PPANTT-48-add-finish-maintenance-api/openapi/openapi.json -O ./openApi/portal-api-docs.json && npm run generate:client",
"generate:api-portal-pr": "wget https://raw.githubusercontent.com/pagopa/pagopa-selfcare-ms-backoffice-backend/PPANTT-93-new-api-key-aca/openapi/openapi.json -O ./openApi/portal-api-docs.json && npm run generate:client",
"generate:api-portal-local": "npm run generate:client",
"generate:client": "jq 'walk(if type == \"object\" and has(\"parameters\") then .parameters |= map(select(.name != \"X-Request-Id\")) else . end)' ./openApi/portal-api-docs.json > ./openApi/portal-api-docs.json.temp && mv ./openApi/portal-api-docs.json.temp ./openApi/portal-api-docs.json && yarn run clean:api-portal && mkdirp openApi/generated && gen-api-models --api-spec openApi/portal-api-docs.json --out-dir src/api/generated/portal --no-strict --request-types --response-decoders --client && node openApi/scripts/api-portal_fixPostGen.js"
},
Expand Down
2 changes: 1 addition & 1 deletion src/api/BackofficeClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ export const BackofficeApi = {
const result = await backofficeClient.getChannels({
status: String(status),
brokerCode,
channelCode,
...(channelCode ? {channelCode} : {}),
limit,
page,
});
Expand Down
3 changes: 2 additions & 1 deletion src/locale/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,8 @@
"FDR_PSP": "FdR - Flussi di Rendicontazione (PSP)",
"BO_EXT_EC": "Backoffice External (EC)",
"BO_EXT_PSP": "Backoffice External (PSP)",
"PRINT_NOTICE": "Stampa Avvisi"
"PRINT_NOTICE": "Stampa Avvisi",
"ACA": "ACA - paCreatePosition"
}
},
"channelsPage": {
Expand Down
2 changes: 2 additions & 0 deletions src/model/ApiKey.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export const API_KEY_PRODUCTS = {
BO_EXT_EC: { id: 'BO_EXT_EC', key: 'selfcareboexternalec-' },
BO_EXT_PSP: { id: 'BO_EXT_PSP', key: 'selfcareboexternalpsp-' },
PRINT_NOTICE: { id: 'PRINT_NOTICE', key: 'printnotice-' },
ACA: {id: "ACA", key:"aca-"}
};

export const getApiKeyProducts = (
Expand All @@ -44,6 +45,7 @@ export const getApiKeyProducts = (
API_KEY_PRODUCTS.GPD_REP,
API_KEY_PRODUCTS.BIZ,
API_KEY_PRODUCTS.BO_EXT_EC,
API_KEY_PRODUCTS.ACA
];

if (ENV.FEATURES.FDR.ENABLED) {
Expand Down
3 changes: 2 additions & 1 deletion src/model/__tests__/ApiKey.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ describe("Test ApiKey model methods", ()=> {
API_KEY_PRODUCTS.BIZ,
API_KEY_PRODUCTS.BO_EXT_EC,
API_KEY_PRODUCTS.FDR_ORG,
API_KEY_PRODUCTS.PRINT_NOTICE
API_KEY_PRODUCTS.PRINT_NOTICE,
API_KEY_PRODUCTS.ACA
])
})
})
Loading