8000 test: update dcc e2e tests by ashleythedeveloper Β· Pull Request #282 Β· uncefact/tests-untp Β· GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

test: update dcc e2e tests #282

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

Merged
merged 1 commit into from
Jun 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions e2e/constant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ export const MOVE_TO_NEXT_FACILITY = 'Move to Next Facility';

export const TRACEABILITY_LINK_TYPE = 'http://localhost:3000/gs1/01/09359502000034/21/123456';
export const DPP_LINK_TYPE = 'http://localhost:3000/gs1/01/09359502000034/10/6789?linkType=gs1:sustainabilityInfo';
export const DCC_LINK_TYPE = 'http://localhost:3000/gs1/01/09359502000034';
export const DFR_LINK_TYPE = 'http://localhost:3000/gs1/gln/1321202290648';
export const DIA_LINK_TYPE = 'http://localhost:3000/gs1/01/09359502000010';
export const DCC_LINK_TYPE = 'http://localhost:3000/gs1/01/09520123456788/10/6789/21/12345678?linkType=gs1:certificationInfo';
export const DFR_LINK_TYPE = 'http://localhost:3000/gs1/gln/1321202290648?linkType=gs1:locationInfo';
export const DIA_LINK_TYPE = 'http://localhost:3000/gs1/01/09359502000010?linkType=gs1:registryEntry';
5 changes: 3 additions & 2 deletions e2e/cypress/e2e/issue_workflow_test/DCC/issueDCC.cy.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { DCC_LINK_TYPE } from 'constant';
import IssuePage from 'cypress/page/issuePage';

class DCCIssueFlow extends IssuePage {
Expand All @@ -11,7 +12,7 @@ class DCCIssueFlow extends IssuePage {
}

testUNTPTestSuite() {
this.runUntpTest('digitalConformityCredential', 'v0.5.0');
this.runUntpTest('digitalConformityCredential', 'v0.6.0');
}
}

Expand All @@ -31,7 +32,7 @@ describe('Issue DCC end-to-end testing flow', () => {
});

it('Verify linkType for DCC', () => {
dccTest.verifyLinkType('http://localhost:3000/gs1/01/09359502000034');
dccTest.verifyLinkType(DCC_LINK_TYPE);
});

it('Runs testing UNTP test suite for DCC', () => {
Expand Down
3 changes: 2 additions & 1 deletion e2e/cypress/e2e/issue_workflow_test/DFR/issueDFR.cy.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { DFR_LINK_TYPE } from 'constant';
import IssuePage from 'cypress/page/issuePage';

class DFRIssueFlow extends IssuePage {
Expand Down Expand Up @@ -31,7 +32,7 @@ describe('Issue DFR end-to-end testing flow', () => {
});

it('Verify linkType for DFR', () => {
dfrTest.verifyLinkType('http://localhost:3000/gs1/gln/1321202290648');
dfrTest.verifyLinkType(DFR_LINK_TYPE);
});

it('Runs testing UNTP test suite for DFR', () => {
Expand Down
3 changes: 2 additions & 1 deletion e2e/cypress/e2e/issue_workflow_test/DIA/issueDIA.cy.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { DIA_LINK_TYPE } from 'constant';
import IssuePage from 'cypress/page/issuePage';

class DIAIssueFlow extends IssuePage {
Expand Down Expand Up @@ -31,7 +32,7 @@ describe('Issue DIA end-to-end testing flow', () => {
});

it('Verify linkType for DIA', () => {
diaTest.verifyLinkType('http://localhost:3000/gs1/01/09359502000010?linkType=gs1:registryEntry');
diaTest.verifyLinkType(DIA_LINK_TYPE);
});

it('Runs testing UNTP test suite for DIA', () => {
Expand Down
534 changes: 122 additions & 412 deletions e2e/cypress/fixtures/app-config.json

Large diffs are not rendered by default.

Loading
0