Skip to content

OBPIH-6701 Add test for receiving through import template#53

Merged
awalkowiak merged 3 commits intomainfrom
OBPIH-6701
Apr 16, 2025
Merged

OBPIH-6701 Add test for receiving through import template#53
awalkowiak merged 3 commits intomainfrom
OBPIH-6701

Conversation

@kkrawczyk123
Copy link
Collaborator

Add test for receiving through import template

@kkrawczyk123 kkrawczyk123 requested a review from awalkowiak March 3, 2025 09:19

get importTemplateButton() {
return this.page
.locator('[class="btn btn-outline-secondary btn-xs mr-3"]')
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we get a better locator here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think that now, we can't as this button differs from others and doesn't have role button:
Screenshot from 2025-04-11 11-01-30

await test.step('Input receiving now qty into template', async () => {
const documentRow = parsedDocumentData[1];
const row = [...documentRow];
(row[11] = '20'), (row[12] = 'e2e-comment');
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we add consts holding these column numbers that would describe what is behind it?

await test.step('Input receiving now qty into template', async () => {
const documentRow = parsedDocumentData[1];
const row = [...documentRow];
(row[4] = 'editlot'), (row[11] = '20'), (row[12] = 'e2e-comment');
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we add consts holding these column numbers that would describe what is behind it?

@awalkowiak awalkowiak merged commit d2d0d40 into main Apr 16, 2025
1 of 2 checks passed
@awalkowiak awalkowiak deleted the OBPIH-6701 branch April 16, 2025 12:29
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.

2 participants