From 8a61fa781d1131d54660bc9410873d4dde77c55c Mon Sep 17 00:00:00 2001 From: Krzysztof Bialoglowicz Date: Wed, 16 Oct 2019 14:06:28 +0200 Subject: [PATCH] Update snapshots --- .../__snapshots__/Stories.test.ts.snap | 8254 +++++++++++++---- 1 file changed, 6387 insertions(+), 1867 deletions(-) diff --git a/src/storybook/__snapshots__/Stories.test.ts.snap b/src/storybook/__snapshots__/Stories.test.ts.snap index dc07dd54b..af213721e 100644 --- a/src/storybook/__snapshots__/Stories.test.ts.snap +++ b/src/storybook/__snapshots__/Stories.test.ts.snap @@ -28266,7 +28266,7 @@ exports[`Storyshots Views / Configuration default 1`] = `

- View and update your site settings + View and update your webhook and their settings

@@ -28782,7 +28782,7 @@ exports[`Storyshots Views / Configuration partial access 1`] = `

- View and update your site settings + View and update your webhook and their settings

@@ -103729,7 +103729,7 @@ exports[`Storyshots Views / Services / Create service default 1`] = `
- Create Webhook + Create New Account
- Webhook Information + Service Account Information
-

- General Information -

@@ -103779,7 +103774,7 @@ exports[`Storyshots Views / Services / Create service default 1`] = ` class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-outlined-id" data-shrink="false" > - Webhook Name + Account Name
-
-
-
-
-
-

- Webhook specific information -

-
- -
- -
-
- - ​ - -
- - -
-
-
-
-
- -
- -
-

- This URL will recieve webhook POST requests -

-
-
-
- -
- - -
-

- secret key is used to create a hash signature with each payload. *optional field -

-
+
-
- - Events - -
-
+ Permissions +
-
-
-

- Expand or restrict webhooks permissions to register certain events in Saleor system. -

- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
+
-
- - Webhook Status - -
-
+ Expand or restrict user's permissions to access certain part of saleor system. +

-
-
-

- If you want to disable this webhook please uncheck the box below. -

+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+
+
+ + Account Status + +
+
+
+
+
+

+ If you want to disable this account uncheck the box below +

+ +
@@ -104239,7 +104173,7 @@ exports[`Storyshots Views / Services / Create service form errors 1`] = `
- Create Webhook + Create New Account
- Webhook Information + Service Account Information
-

- General Information -

@@ -104289,7 +104218,7 @@ exports[`Storyshots Views / Services / Create service form errors 1`] = ` class="MuiFormLabel-root-id MuiFormLabel-error-id MuiInputLabel-error-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-outlined-id" data-shrink="false" > - Webhook Name + Account Name

-
-
-
-

- Webhook specific information -

-
- -
- -
-
- - ​ - -
- - -
-
-
-
-
- -
- - -
-

- This URL will recieve webhook POST requests -

-
-
-
- -
- - -
-

- secret key is used to create a hash signature with each payload. *optional field -

-
-
+
-
- - Events - -
-
+ Permissions +
-
-
-

- Expand or restrict webhooks permissions to register certain events in Saleor system. -

- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
+
-
- - Webhook Status - -
-
+ Expand or restrict user's permissions to access certain part of saleor system. +

-
-
-

- If you want to disable this webhook please uncheck the box below. -

+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+
+
+ + Account Status + +
+
+
+
+
+

+ If you want to disable this account uncheck the box below +

+ +
@@ -104754,7 +104622,7 @@ exports[`Storyshots Views / Services / Create service loading 1`] = `
- Create Webhook + Create New Account
- Webhook Information + Service Account Information
-

- General Information -

@@ -104804,7 +104667,7 @@ exports[`Storyshots Views / Services / Create service loading 1`] = ` class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiInputLabel-disabled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-outlined-id" data-shrink="false" > - Webhook Name + Account Name
-
-
-
-
-
-

- Webhook specific information -

-
- -
- -
-
- - ​ - -
- - -
-
-
-
-
- -
- -
-

- This URL will recieve webhook POST requests -

-
-
-
- -
- - -
-

- secret key is used to create a hash signature with each payload. *optional field -

-
+
-
- - Events - -
-
+ Permissions +
-
-
-

- Expand or restrict webhooks permissions to register certain events in Saleor system. -

- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
+
-
- - Webhook Status - -
-
+ Expand or restrict user's permissions to access certain part of saleor system. +

-
-
-

- If you want to disable this webhook please uncheck the box below. -

+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+
+
+ + Account Status + +
+
+
+
+
+

+ If you want to disable this account uncheck the box below +

+ +
@@ -105289,7 +105097,7 @@ exports[`Storyshots Views / Services / Service details default 1`] = `
- ... Details + Magento Importer
- Webhook Information + Service Account Information
-

- General Information -

​ @@ -105363,172 +105166,126 @@ exports[`Storyshots Views / Services / Service details default 1`] = ` class="MuiInputBase-input-id MuiOutlinedInput-input-id" name="name" type="text" - value="" + value="Magento Importer" />
-
-
-
-

- Webhook specific information -

-
- -
- -
-
- - ​ - -
- - -
-
-
-
-
- -
- - -
-

- This URL will recieve webhook POST requests -

-
-
-
- -
- - -
-

- secret key is used to create a hash signature with each payload. *optional field -

-
+
+
+
+ + Service Account Information + +
+ +
+
+
+
+ + + + + + + + + + + + + + + +
+ Token Note + + Key + + Actions +
+ default + + **** AK05 + + +
+
- Events + Permissions
- Expand or restrict webhooks permissions to register certain events in Saleor system. + Expand or restrict user's permissions to access certain part of saleor system.

- -
+ + + User has full access to the store + + +
+
+
+
@@ -105618,7 +105383,7 @@ exports[`Storyshots Views / Services / Service details default 1`] = ` > @@ -105626,7 +105391,7 @@ exports[`Storyshots Views / Services / Service details default 1`] = ` - ORDER_CANCELLED + Manage sales and vouchers
@@ -105641,7 +105406,7 @@ exports[`Storyshots Views / Services / Service details default 1`] = ` > @@ -105649,7 +105414,7 @@ exports[`Storyshots Views / Services / Service details default 1`] = ` - ORDER_CREATED + Manage navigation
@@ -105664,7 +105429,7 @@ exports[`Storyshots Views / Services / Service details default 1`] = ` > @@ -105672,7 +105437,7 @@ exports[`Storyshots Views / Services / Service details default 1`] = ` - ORDER_FULLY_PAID + Manage orders
@@ -105687,7 +105452,7 @@ exports[`Storyshots Views / Services / Service details default 1`] = ` > @@ -105695,7 +105460,30 @@ exports[`Storyshots Views / Services / Service details default 1`] = ` - ORDER_UPDATED + Manage pages + + +
+
+
@@ -105710,7 +105498,7 @@ exports[`Storyshots Views / Services / Service details default 1`] = ` > @@ -105718,14 +105506,83 @@ exports[`Storyshots Views / Services / Service details default 1`] = ` - PRODUCT_CREATED + Manage settings + + +
+
+ +
+
+ +
+
+
- Webhook Status + Account Status
- If you want to disable this webhook please uncheck the box below. + If you want to disable this account uncheck the box below

@@ -106447,7 +106304,7 @@ exports[`Storyshots Views / Services / Service details form errors 1`] = `
- ... Details + Magento Importer
- Webhook Information + Service Account Information
-

- General Information -

​ @@ -106521,176 +106373,130 @@ exports[`Storyshots Views / Services / Service details form errors 1`] = ` class="MuiInputBase-input-id MuiOutlinedInput-input-id" name="name" type="text" - value="" + value="Magento Importer" />

Generic form error

-
-
-
-

+

+
+
+
+ - Webhook specific information -

+ Service Account Information +
- -
- -
-
- - ​ - -
- - -
-
-
-
-
- -
- - -
-

- This URL will recieve webhook POST requests -

-
-
-
- -
- - -
-

- secret key is used to create a hash signature with each payload. *optional field -

+ Create Token + +
+
+
+ + + + + + + + + + + + + + + +
+ Token Note + + Key + + Actions +
+ default + + **** AK05 + + +
@@ -106703,7 +106509,7 @@ exports[`Storyshots Views / Services / Service details form errors 1`] = ` - Events + Permissions
- Expand or restrict webhooks permissions to register certain events in Saleor system. + Expand or restrict user's permissions to access certain part of saleor system.

- -
+ + + User has full access to the store + + +
+
+
+
@@ -106781,7 +106595,7 @@ exports[`Storyshots Views / Services / Service details form errors 1`] = ` > @@ -106789,7 +106603,7 @@ exports[`Storyshots Views / Services / Service details form errors 1`] = ` - ORDER_CANCELLED + Manage sales and vouchers
@@ -106804,7 +106618,7 @@ exports[`Storyshots Views / Services / Service details form errors 1`] = ` > @@ -106812,7 +106626,7 @@ exports[`Storyshots Views / Services / Service details form errors 1`] = ` - ORDER_CREATED + Manage navigation
@@ -106827,7 +106641,7 @@ exports[`Storyshots Views / Services / Service details form errors 1`] = ` > @@ -106835,7 +106649,7 @@ exports[`Storyshots Views / Services / Service details form errors 1`] = ` - ORDER_FULLY_PAID + Manage orders
@@ -106850,7 +106664,7 @@ exports[`Storyshots Views / Services / Service details form errors 1`] = ` > @@ -106858,7 +106672,30 @@ exports[`Storyshots Views / Services / Service details form errors 1`] = ` - ORDER_UPDATED + Manage pages + + +
+
+
@@ -106873,7 +106710,7 @@ exports[`Storyshots Views / Services / Service details form errors 1`] = ` > @@ -106881,14 +106718,83 @@ exports[`Storyshots Views / Services / Service details form errors 1`] = ` - PRODUCT_CREATED + Manage settings + + +
+
+ +
+
+ +
+
+
- Webhook Status + Account Status
- If you want to disable this webhook please uncheck the box below. + If you want to disable this account uncheck the box below

@@ -106963,7 +106869,12 @@ exports[`Storyshots Views / Services / Service details loading 1`] = `
- ... Details + + ‌ +
- Webhook Information + Service Account Information
-

- General Information -

@@ -107013,7 +106919,7 @@ exports[`Storyshots Views / Services / Service details loading 1`] = ` class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiInputLabel-disabled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-outlined-id" data-shrink="false" > - Webhook Name + Account Name
-
-
-
-

+

+
+
+
+ - Webhook specific information -

+ Service Account Information +
- -
- -
-
- - ​ - -
- - -
-
-
-
-
- -
- - -
-

- This URL will recieve webhook POST requests -

-
-
-
- -
- - -
-

- secret key is used to create a hash signature with each payload. *optional field -

+ Create Token + +
+
+
+ + + + + + + + + + + + + + + +
+ Token Note + + Key + + Actions +
+ + ‌ + + + + ‌ + + + +
@@ -107217,7 +107083,7 @@ exports[`Storyshots Views / Services / Service details loading 1`] = ` - Events + Permissions
- Expand or restrict webhooks permissions to register certain events in Saleor system. + Expand or restrict user's permissions to access certain part of saleor system.

- -
+ tabindex="-1" + type="button" + > + + + + User has full access to the store + + +
+
+
+
@@ -107301,7 +107175,7 @@ exports[`Storyshots Views / Services / Service details loading 1`] = ` @@ -107309,7 +107183,7 @@ exports[`Storyshots Views / Services / Service details loading 1`] = ` - ORDER_CANCELLED + Manage sales and vouchers
@@ -107326,7 +107200,7 @@ exports[`Storyshots Views / Services / Service details loading 1`] = ` @@ -107334,7 +107208,7 @@ exports[`Storyshots Views / Services / Service details loading 1`] = ` - ORDER_CREATED + Manage navigation
@@ -107351,7 +107225,7 @@ exports[`Storyshots Views / Services / Service details loading 1`] = ` @@ -107359,7 +107233,7 @@ exports[`Storyshots Views / Services / Service details loading 1`] = ` - ORDER_FULLY_PAID + Manage orders
@@ -107376,7 +107250,7 @@ exports[`Storyshots Views / Services / Service details loading 1`] = ` @@ -107384,7 +107258,7 @@ exports[`Storyshots Views / Services / Service details loading 1`] = ` - ORDER_UPDATED + Manage pages
@@ -107401,7 +107275,7 @@ exports[`Storyshots Views / Services / Service details loading 1`] = ` @@ -107409,14 +107283,114 @@ exports[`Storyshots Views / Services / Service details loading 1`] = ` - PRODUCT_CREATED + Manage products + + +
+
+ +
+
+ +
+
+ +
+
+
- Webhook Status + Account Status
- If you want to disable this webhook please uncheck the box below. + If you want to disable this account uncheck the box below

@@ -107492,7 +107466,7 @@ exports[`Storyshots Views / Services / Service list default 1`] = `
- Webhooks + Service Accounts
- Create webhook + Create account
@@ -107517,8 +107491,102 @@ exports[`Storyshots Views / Services / Service list default 1`] = `
+
+
+
+
+ + +
+
+
+
+
+
+
+ + +
+
+
+
- + /> - + + +
Name - Service Account - - Action -
+ + Magento Importer + + + inactive + @@ -107847,8 +107990,102 @@ exports[`Storyshots Views / Services / Service list loading 1`] = `
+
+
+
+
+ + +
+
+
+
+
+
+
+ + +
+
+
+
- + /> -
Name - Service Account - - Action -
- ‌ + + ‌ + - - ‌ - + class="MuiTypography-root-id MuiTypography-caption-id" + data-tc="isActive" + /> @@ -108118,8 +108346,102 @@ exports[`Storyshots Views / Services / Service list no data 1`] = `
+
+
+
+
+ + +
+
+
+
+
+
+
+ + +
+
+
+
- + /> @@ -118306,3 +118620,4209 @@ exports[`Storyshots Views / Translations / Language list no data 1`] = ` `; + +exports[`Storyshots Views / Webhook / Create webhook default 1`] = ` +
+
+
+
+
+ Create Webhook +
+
+
+
+
+
+
+
+
+ + Webhook Information + +
+
+
+
+
+

+ General Informations +

+
+ +
+ + +
+
+
+
+
+

+ Webhook specific information +

+
+
+ + +
+
+
+
+ +
+ + +
+

+ This URL will recieve webhook POST requests +

+
+
+
+ +
+ + +
+

+ secret key is used to create a hash signature with each payload. *optional field +

+
+
+
+
+
+
+
+ + Events + +
+
+
+
+
+

+ Expand or restrict webhooks permissions to register certain events in Saleor system. +

+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+
+
+ + Webhook Status + +
+
+
+
+
+

+ If you want to disable this webhook please uncheck the box below. +

+ +
+
+
+
+
+ +
+`; + +exports[`Storyshots Views / Webhook / Create webhook form errors 1`] = ` +
+
+
+
+
+ Create Webhook +
+
+
+
+
+
+
+
+
+ + Webhook Information + +
+
+
+
+
+

+ General Informations +

+
+ +
+ + +
+

+ Generic form error +

+
+
+
+
+

+ Webhook specific information +

+
+
+ + +
+
+
+
+ +
+ + +
+

+ This URL will recieve webhook POST requests +

+
+
+
+ +
+ + +
+

+ secret key is used to create a hash signature with each payload. *optional field +

+
+
+
+
+
+
+
+ + Events + +
+
+
+
+
+

+ Expand or restrict webhooks permissions to register certain events in Saleor system. +

+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+
+
+ + Webhook Status + +
+
+
+
+
+

+ If you want to disable this webhook please uncheck the box below. +

+ +
+
+
+
+
+ +
+`; + +exports[`Storyshots Views / Webhook / Create webhook loading 1`] = ` +
+
+
+
+
+ Create Webhook +
+
+
+
+
+
+
+
+
+ + Webhook Information + +
+
+
+
+
+

+ General Informations +

+
+ +
+ + +
+
+
+
+
+

+ Webhook specific information +

+
+
+ + +
+
+
+
+ +
+ + +
+

+ This URL will recieve webhook POST requests +

+
+
+
+ +
+ + +
+

+ secret key is used to create a hash signature with each payload. *optional field +

+
+
+
+
+
+
+
+ + Events + +
+
+
+
+
+

+ Expand or restrict webhooks permissions to register certain events in Saleor system. +

+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+
+
+ + Webhook Status + +
+
+
+
+
+

+ If you want to disable this webhook please uncheck the box below. +

+ +
+
+
+
+
+ +
+`; + +exports[`Storyshots Views / Webhook / Webhook details default 1`] = ` +
+
+
+
+
+ ... Details +
+
+
+
+
+
+
+
+
+ + Webhook Information + +
+
+
+
+
+

+ General Informations +

+
+ +
+ + +
+
+
+
+
+

+ Webhook specific information +

+
+
+ + +
+
+
+
+ +
+ + +
+

+ This URL will recieve webhook POST requests +

+
+
+
+ +
+ + +
+

+ secret key is used to create a hash signature with each payload. *optional field +

+
+
+
+
+
+
+
+ + Events + +
+
+
+
+
+

+ Expand or restrict webhooks permissions to register certain events in Saleor system. +

+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+
+
+ + Webhook Status + +
+
+
+
+
+

+ If you want to disable this webhook please uncheck the box below. +

+ +
+
+
+
+
+ +
+`; + +exports[`Storyshots Views / Webhook / Webhook details form errors 1`] = ` +
+
+
+
+
+ ... Details +
+
+
+
+
+
+
+
+
+ + Webhook Information + +
+
+
+
+
+

+ General Informations +

+
+ +
+ + +
+

+ Generic form error +

+
+
+
+
+

+ Webhook specific information +

+
+
+ + +
+
+
+
+ +
+ + +
+

+ This URL will recieve webhook POST requests +

+
+
+
+ +
+ + +
+

+ secret key is used to create a hash signature with each payload. *optional field +

+
+
+
+
+
+
+
+ + Events + +
+
+
+
+
+

+ Expand or restrict webhooks permissions to register certain events in Saleor system. +

+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+
+
+ + Webhook Status + +
+
+
+
+
+

+ If you want to disable this webhook please uncheck the box below. +

+ +
+
+
+
+
+ +
+`; + +exports[`Storyshots Views / Webhook / Webhook details loading 1`] = ` +
+
+
+
+
+ ... Details +
+
+
+
+
+
+
+
+
+ + Webhook Information + +
+
+
+
+
+

+ General Informations +

+
+ +
+ + +
+
+
+
+
+

+ Webhook specific information +

+
+
+ + +
+
+
+
+ +
+ + +
+

+ This URL will recieve webhook POST requests +

+
+
+
+ +
+ + +
+

+ secret key is used to create a hash signature with each payload. *optional field +

+
+
+
+
+
+
+
+ + Events + +
+
+
+
+
+

+ Expand or restrict webhooks permissions to register certain events in Saleor system. +

+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+
+
+ + Webhook Status + +
+
+
+
+
+

+ If you want to disable this webhook please uncheck the box below. +

+ +
+
+
+
+
+ +
+`; + +exports[`Storyshots Views / Webhook / Webhook list default 1`] = ` +
+
+
+
+ Webhooks +
+
+
+ +
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+ + +
+
+
+
+
+
Name - Service Account - - Action -
- No webhooks found + No service accounts found
+ + + + + + + + + + + + + + + + + + + + + + + + +
+ Name + + Service Account + + Action +
+ Webhook Test + + Test Account + + + +
+ Webhook Test 2 + + Test Account 2 + + + +
+
+ + + +`; + +exports[`Storyshots Views / Webhook / Webhook list loading 1`] = ` +
+
+
+
+ Webhooks +
+
+
+ +
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+ + +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + +
+ Name + + Service Account + + Action +
+ + ‌ + + + + ‌ + + + + +
+
+
+
+
+`; + +exports[`Storyshots Views / Webhook / Webhook list no data 1`] = ` +
+
+
+
+ Webhooks +
+
+
+ +
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+ + +
+
+
+
+
+ + + + + + + + + + + + + + + + + + +
+ Name + + Service Account + + Action +
+ No webhooks found +
+
+
+
+
+`;