tests for variants
This commit is contained in:
parent
30e3fd9320
commit
00e28061bd
2 changed files with 21 additions and 0 deletions
|
@ -32,6 +32,7 @@ describe("creating variants", () => {
|
|||
cy.clearSessionData().loginUserViaRequest();
|
||||
shippingUtils.deleteShipping(startsWith);
|
||||
productUtils.deleteProperProducts(startsWith);
|
||||
channelsUtils.deleteChannels(startsWith);
|
||||
|
||||
const name = `${startsWith}${faker.random.number()}`;
|
||||
channelsUtils
|
||||
|
|
|
@ -160645,6 +160645,7 @@ exports[`Storyshots Views / Products / Create multiple variants / summary defaul
|
|||
<input
|
||||
aria-invalid="false"
|
||||
class="MuiInputBase-input-id MuiOutlinedInput-input-id"
|
||||
name="sku"
|
||||
type="text"
|
||||
value=""
|
||||
/>
|
||||
|
@ -160952,6 +160953,7 @@ exports[`Storyshots Views / Products / Create multiple variants / summary defaul
|
|||
<input
|
||||
aria-invalid="false"
|
||||
class="MuiInputBase-input-id MuiOutlinedInput-input-id"
|
||||
name="sku"
|
||||
type="text"
|
||||
value=""
|
||||
/>
|
||||
|
@ -161259,6 +161261,7 @@ exports[`Storyshots Views / Products / Create multiple variants / summary defaul
|
|||
<input
|
||||
aria-invalid="false"
|
||||
class="MuiInputBase-input-id MuiOutlinedInput-input-id"
|
||||
name="sku"
|
||||
type="text"
|
||||
value=""
|
||||
/>
|
||||
|
@ -161566,6 +161569,7 @@ exports[`Storyshots Views / Products / Create multiple variants / summary defaul
|
|||
<input
|
||||
aria-invalid="false"
|
||||
class="MuiInputBase-input-id MuiOutlinedInput-input-id"
|
||||
name="sku"
|
||||
type="text"
|
||||
value=""
|
||||
/>
|
||||
|
@ -161953,6 +161957,7 @@ exports[`Storyshots Views / Products / Create multiple variants / summary errors
|
|||
<input
|
||||
aria-invalid="false"
|
||||
class="MuiInputBase-input-id MuiOutlinedInput-input-id"
|
||||
name="sku"
|
||||
type="text"
|
||||
value=""
|
||||
/>
|
||||
|
@ -162260,6 +162265,7 @@ exports[`Storyshots Views / Products / Create multiple variants / summary errors
|
|||
<input
|
||||
aria-invalid="false"
|
||||
class="MuiInputBase-input-id MuiOutlinedInput-input-id"
|
||||
name="sku"
|
||||
type="text"
|
||||
value=""
|
||||
/>
|
||||
|
@ -162567,6 +162573,7 @@ exports[`Storyshots Views / Products / Create multiple variants / summary errors
|
|||
<input
|
||||
aria-invalid="false"
|
||||
class="MuiInputBase-input-id MuiOutlinedInput-input-id"
|
||||
name="sku"
|
||||
type="text"
|
||||
value=""
|
||||
/>
|
||||
|
@ -162874,6 +162881,7 @@ exports[`Storyshots Views / Products / Create multiple variants / summary errors
|
|||
<input
|
||||
aria-invalid="true"
|
||||
class="MuiInputBase-input-id MuiOutlinedInput-input-id"
|
||||
name="sku"
|
||||
type="text"
|
||||
value=""
|
||||
/>
|
||||
|
@ -163316,6 +163324,7 @@ exports[`Storyshots Views / Products / Create multiple variants interactive 1`]
|
|||
>
|
||||
<button
|
||||
class="MuiButtonBase-root-id MuiButton-root-id MuiButton-contained-id ProductVariantCreatePage-button-id MuiButton-containedPrimary-id MuiButton-disabled-id MuiButtonBase-disabled-id"
|
||||
data-test-id="next-step"
|
||||
disabled=""
|
||||
tabindex="-1"
|
||||
type="button"
|
||||
|
@ -168011,6 +168020,7 @@ exports[`Storyshots Views / Products / Create product variant add first variant
|
|||
<div>
|
||||
<button
|
||||
class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorPrimary-id"
|
||||
data-test-id="add-warehouse"
|
||||
tabindex="0"
|
||||
type="button"
|
||||
>
|
||||
|
@ -169249,6 +169259,7 @@ exports[`Storyshots Views / Products / Create product variant default 1`] = `
|
|||
<div>
|
||||
<button
|
||||
class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorPrimary-id"
|
||||
data-test-id="add-warehouse"
|
||||
tabindex="0"
|
||||
type="button"
|
||||
>
|
||||
|
@ -171473,6 +171484,7 @@ exports[`Storyshots Views / Products / Create product variant when loading data
|
|||
<div>
|
||||
<button
|
||||
class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorPrimary-id"
|
||||
data-test-id="add-warehouse"
|
||||
tabindex="0"
|
||||
type="button"
|
||||
>
|
||||
|
@ -172721,6 +172733,7 @@ exports[`Storyshots Views / Products / Create product variant with errors 1`] =
|
|||
<div>
|
||||
<button
|
||||
class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorPrimary-id"
|
||||
data-test-id="add-warehouse"
|
||||
tabindex="0"
|
||||
type="button"
|
||||
>
|
||||
|
@ -177087,6 +177100,7 @@ exports[`Storyshots Views / Products / Product edit no stock and no variants 1`]
|
|||
<div>
|
||||
<button
|
||||
class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorPrimary-id"
|
||||
data-test-id="add-warehouse"
|
||||
tabindex="0"
|
||||
type="button"
|
||||
>
|
||||
|
@ -180645,6 +180659,7 @@ exports[`Storyshots Views / Products / Product edit no variants 1`] = `
|
|||
<div>
|
||||
<button
|
||||
class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorPrimary-id"
|
||||
data-test-id="add-warehouse"
|
||||
tabindex="0"
|
||||
type="button"
|
||||
>
|
||||
|
@ -183727,6 +183742,7 @@ exports[`Storyshots Views / Products / Product edit when loading data 1`] = `
|
|||
<div>
|
||||
<button
|
||||
class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorPrimary-id"
|
||||
data-test-id="add-warehouse"
|
||||
tabindex="0"
|
||||
type="button"
|
||||
>
|
||||
|
@ -187018,6 +187034,7 @@ exports[`Storyshots Views / Products / Product edit when product has no variants
|
|||
<div>
|
||||
<button
|
||||
class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorPrimary-id"
|
||||
data-test-id="add-warehouse"
|
||||
tabindex="0"
|
||||
type="button"
|
||||
>
|
||||
|
@ -200077,6 +200094,7 @@ exports[`Storyshots Views / Products / Product variant details attribute errors
|
|||
<div>
|
||||
<button
|
||||
class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorPrimary-id"
|
||||
data-test-id="add-warehouse"
|
||||
tabindex="0"
|
||||
type="button"
|
||||
>
|
||||
|
@ -203489,6 +203507,7 @@ exports[`Storyshots Views / Products / Product variant details when loaded data
|
|||
<div>
|
||||
<button
|
||||
class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorPrimary-id"
|
||||
data-test-id="add-warehouse"
|
||||
tabindex="0"
|
||||
type="button"
|
||||
>
|
||||
|
@ -204731,6 +204750,7 @@ exports[`Storyshots Views / Products / Product variant details when loading data
|
|||
<div>
|
||||
<button
|
||||
class="MuiButtonBase-root-id MuiIconButton-root-id MuiIconButton-colorPrimary-id"
|
||||
data-test-id="add-warehouse"
|
||||
tabindex="0"
|
||||
type="button"
|
||||
>
|
||||
|
|
Loading…
Reference in a new issue