-
Notifications
You must be signed in to change notification settings - Fork 0
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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(); |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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:
- You don't need all 10 products to test the arrows
- This approach is inefficient
- I am not adding secrets for dozen of different products to the repo
- 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 |
There was a problem hiding this comment.
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
Add tests for using keyboard shortcuts on receiving table: receiving now and comment columns