Skip to content

FAT-24610 Implement e2e for C523775#7124

Merged
usavkov-epam merged 4 commits into
masterfrom
FAT-24610
May 17, 2026
Merged

FAT-24610 Implement e2e for C523775#7124
usavkov-epam merged 4 commits into
masterfrom
FAT-24610

Conversation

@usavkov-epam
Copy link
Copy Markdown
Contributor

@usavkov-epam usavkov-epam self-assigned this May 13, 2026
@usavkov-epam usavkov-epam requested review from a team and Daria-Reznikova May 13, 2026 11:42
SATURDAY: 'SATURDAY',
},
DEFAULT_ORDERS_DIRECTORY: '/ftp/files/orders',
DEFAULT_FTP_PORT: 22,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could it be _SFTP_PORT? Because for FTP we usually use 21 port

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This naming just refers to the field label

FRIDAY: 'FRIDAY',
SATURDAY: 'SATURDAY',
},
DEFAULT_ORDERS_DIRECTORY: '/ftp/files/orders',
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could it be DEFAULT_SFTP_ORDERS_DIRECTORY because for FTP directory is '/files/orders'

assertSegmentExists(segments, 'UNH+');

cy.log('< --- STEP 5: Check currency displaying --- >');
assertCurrencySegments(segments, currencies);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a check to verify that there are three currency segments (CUX+2) are present in the exported EDI file? One for the Order and two for POLs.

Comment on lines +404 to +405
cy.log('< --- STEP 7: Check calculation price --- >');
assertPriceSegments(segments);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a check to ensure that the PRI+AAB segment appears without a currency code?

@usavkov-epam usavkov-epam merged commit 918c7f7 into master May 17, 2026
13 checks passed
@usavkov-epam usavkov-epam deleted the FAT-24610 branch May 17, 2026 18:39
@ostapwd ostapwd added the AI label May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants