Skip to content

OBPIH-6683 Add tests for validation on delivered on date in receiving #41

Merged
awalkowiak merged 10 commits intomainfrom
OBPIH-6683
Feb 4, 2025
Merged

OBPIH-6683 Add tests for validation on delivered on date in receiving #41
awalkowiak merged 10 commits intomainfrom
OBPIH-6683

Conversation

@kkrawczyk123
Copy link
Collaborator

Add tests for validation on delivered on date in receiving and additionally added tests for save and save and exit after qty input in receiving

);

test.afterEach(async ({ stockMovementShowPage, stockMovementService }) => {
await stockMovementShowPage.goToPage(STOCK_MOVEMENT.id);
Copy link
Collaborator

Choose a reason for hiding this comment

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

don't we need a null safe here, in case the stock movement has not been created successfully in the beforeEach?
I assume the test would fail, but it would not be the test that failed, but the error saying "cannot read property id of undefined"

@awalkowiak awalkowiak merged commit 90c3a99 into main Feb 4, 2025
1 check passed
@awalkowiak awalkowiak deleted the OBPIH-6683 branch February 4, 2025 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants