
* Adding missing test to collections tests * Adding missing test to collections tests * fixing merge issues * fixing merge issues * update to test-env-deploy * update to test-env-deploy * changing test-env-deploy * adding sugestions * fixing what Karolina suggested * pulling from main
11 lines
465 B
JavaScript
11 lines
465 B
JavaScript
export const COLLECTION_SELECTORS = {
|
|
createCollectionButton: "[data-test-id = 'create-collection']",
|
|
nameInput: "[name='name']",
|
|
saveButton: "[data-test='button-bar-confirm']",
|
|
addProductButton: "[data-test-id='add-product']",
|
|
descriptionInput: '[data-test-id="rich-text-editor-description"]'
|
|
};
|
|
|
|
export const collectionRow = collectionId =>
|
|
`[data-test-id*="${collectionId}"]`;
|
|
export const productRow = productId => `[data-test-id*="${productId}"]`;
|