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

OBPIH-6686 Add tests for using keyboard shortcuts on receiving table #43

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

kkrawczyk123
Copy link
Collaborator

Add tests for using keyboard shortcuts on receiving table: receiving now and comment columns

Copy link
Contributor

@awalkowiak awalkowiak left a comment

Choose a reason for hiding this comment

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

Please limit the number of products and create a new ticket to figure out a better approach to having a bigger list of products.

(btw, I will take a look at the pipeline again)

ninthProductService,
}) => {
const supplierLocation = await supplierLocationService.getLocation();
const PRODUCT_ONE = await mainProductService.getProduct();
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this required if you are using just product ids later? Why there is a need to fetch a product through API? Additionally, looking at the .getProduct() it is fetching product demand that seem to be unnecessary here.

PRODUCT_FOUR=productId
PRODUCT_FIVE=productId
PRODUCT_SIX=productId
Copy link
Contributor

Choose a reason for hiding this comment

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

Please just limit this to five products. For these reasons:

  1. You don't need all 10 products to test the arrows
  2. This approach is inefficient
  3. I am not adding secrets for dozen of different products to the repo
  4. we need to have a better approach overall for such scenarios (does not have to be figured out in this ticket/pr)

PRODUCT_EIGHT=productId
PRODUCT_NINE=productId
PRODUCT_TEN=productId
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add a new line at the end of file

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