Dominik Żegleń
f8254fd11b
Bump macaw to 0.3 ( #1807 )
...
* Update to new design theme (#1631 )
* Update macaw to 0.3.0 (#1623 )
* Update macaw to 0.3
* Use proper pagination component
* Fix type errors
* Remove leftover import
* Remove variant and color from confirm button
* Remove alias
* Update macaw
* Fix button type
* Random fixes (#1633 )
* Improve layout components
* Use colored svgs
* Minor fixes
* Fix autocomplete loaders
* Fix padding
* Fix button variant
* Remove codegen file
* Fixes after bumping macaw to 0.3 part 2 (#1638 )
* Fix various visual bugs
* Fix type errors
* Bump macaw
* Random fixes part 3 (#1647 )
* wip
* Fix mismatched paddings
* Fix actions container padding
* Put story in the right directory
* Fix shipping zone picker
* Fix minor visual bugs
* Remove unused imports
* Move styles to separate file
* Random fixes part 4 (#1641 )
* Fix various visual bugs
* Fix type errors
* Fix last table item padding
* Add outline on hover
* Fix spaces
* Fix spaces
* Remove dead code
* Fix elevation
* Remove dead code
* Fix shadows
* Add outline to expand button
* Fix spacing
* Fix spacings
* Fix selectable tables hover
* Use proper delete icon
* Fix ConfirmButtonTransitionState imports
* Update src/apps/components/CustomApps/CustomApps.tsx
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
* Rework error page (#1670 )
* Remake error page
* Fix types
* Update error id styles
* Fix types
* Login page rework (#1703 )
* Rework login page
* Remove outline
* Fix logo and footer placement
* Sort imports
* Random fixes part 5 (#1669 )
* Fix text color in dark mode
* Update password reset pages (#1714 )
* Update password reset pages
* Update src/auth/components/ResetPasswordPage/ResetPasswordPage.tsx
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
* Fix collection page
* Update dark mode logo
* Bring back "create app" button
* Fix spacings
* Fix selects
* Fix login e2e test
* Fix not found page displaying
* Update selector
* Add missing package
* Let dropdown overflow through card
* Fix scroll
* Fix scroll
* Fix overflow on grid element
* Fix e2e tests
* Fix data-test-id
* Update snapshots
* Update messages
* Update macaw
* Update snapshots
* Use stable macaw version
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
* Update to new design theme (#1631 )
* Update macaw to 0.3.0 (#1623 )
* Update macaw to 0.3
* Use proper pagination component
* Fix type errors
* Remove leftover import
* Remove variant and color from confirm button
* Remove alias
* Update macaw
* Fix button type
* Random fixes (#1633 )
* Improve layout components
* Use colored svgs
* Minor fixes
* Fix autocomplete loaders
* Fix padding
* Fix button variant
* Remove codegen file
* Fixes after bumping macaw to 0.3 part 2 (#1638 )
* Fix various visual bugs
* Fix type errors
* Bump macaw
* Random fixes part 3 (#1647 )
* wip
* Fix mismatched paddings
* Fix actions container padding
* Put story in the right directory
* Fix shipping zone picker
* Fix minor visual bugs
* Remove unused imports
* Move styles to separate file
* Random fixes part 4 (#1641 )
* Fix various visual bugs
* Fix type errors
* Fix last table item padding
* Add outline on hover
* Fix spaces
* Fix spaces
* Remove dead code
* Fix elevation
* Remove dead code
* Fix shadows
* Add outline to expand button
* Fix spacing
* Fix spacings
* Fix selectable tables hover
* Use proper delete icon
* Fix ConfirmButtonTransitionState imports
* Update src/apps/components/CustomApps/CustomApps.tsx
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
* Rework error page (#1670 )
* Remake error page
* Fix types
* Update error id styles
* Fix types
* Login page rework (#1703 )
* Rework login page
* Remove outline
* Fix logo and footer placement
* Sort imports
* Random fixes part 5 (#1669 )
* Fix text color in dark mode
* Update password reset pages (#1714 )
* Update password reset pages
* Update src/auth/components/ResetPasswordPage/ResetPasswordPage.tsx
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
* Fix collection page
* Update dark mode logo
* Bring back "create app" button
* Fix spacings
* Fix selects
* Fix login e2e test
* Fix not found page displaying
* Update selector
* Add missing package
* Let dropdown overflow through card
* Fix scroll
* Fix scroll
* Fix overflow on grid element
* Fix e2e tests
* Fix data-test-id
* Update snapshots
* Update messages
* Update macaw
* Update snapshots
* Use stable macaw version
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
* Fix visual bugs and artifacts
* Fix dropdown menus being clipped (#1762 )
* wip
* Fix clipped select menus
* Remove unused import
* Fix spacing
* Fix tests
* Fix select content appearing under dialogs (#1777 )
* Fix type errors
* Fix bulk delete button placement
* Fix filter arrow buttons
* Fix messages
* Remove backling from pages list
* Move status above events
* Update messages and snapshots
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2022-01-28 13:34:20 +01:00
Karolina Rakoczy
204dfac29f
Add tests for content attributes fo 3.1 ( #1773 )
2022-01-24 13:09:48 +01:00
Karolina Rakoczy
41e80d71c0
Add tests for attributes for 3.1 ( #1725 )
...
* merge changes
* fix bracket
2022-01-17 11:03:52 +01:00
Karolina Rakoczy
8d20394518
merge ( #1726 )
2022-01-14 11:08:25 +01:00
Karolina Rakoczy
55492aff9a
Saleor 5021 add tests for customers ( #1688 ) ( #1733 )
...
* customers
* all tests for customers
* change data-test attribute name
* add empty lines
2022-01-13 11:21:21 +01:00
Karolina Rakoczy
a01a2b5a30
Update tests for creating variants ( #1718 )
...
* merge
* add data-test-id to sku input
* remove data-test-id from sku input
* update stories
* remove duplicated attribute
2022-01-04 16:13:15 +01:00
Karolina Rakoczy
95c85a72ed
tests for pages ( #1695 )
2021-12-22 14:55:08 +01:00
Karolina Rakoczy
926d481268
Add tests for delete/update warehouse ( #1676 ) ( #1689 )
...
* remove warehouse from shipping
* tests for warehouses
2021-12-22 14:54:09 +01:00
Karolina Rakoczy
ef983cc347
Add tests for updating & deleting collections and categories ( #1662 ) ( #1693 )
...
* tests for updating & deleting collections and categories
* add empty spaces
* fix create category
2021-12-22 12:27:28 +01:00
Karolina Rakoczy
4b05f67b2c
fix login by API ( #1700 )
2021-12-17 14:27:13 +01:00
Karolina Rakoczy
866bb91177
tests for gift cards ( #1677 )
2021-12-17 12:08:13 +01:00
Karolina Rakoczy
5a14884f9d
Fix failing cypress tests ( #1671 )
...
* fix tests
* fix prorders & images
* change base url
* remove comment
2021-12-17 12:07:51 +01:00
Karolina Rakoczy
a8c6379d4e
Add tests for variant selection ( #1627 )
...
* variant selection
* variant selection
* add empty space
2021-12-16 16:16:12 +01:00
Karolina Rakoczy
6f8feebf7c
Fix tests for purchase digital product for 3.1 ( #1684 )
...
* purchase digital product for 3.1
* purchase digital product for 3.1
2021-12-15 13:17:35 +01:00
Karolina Rakoczy
3fd50ee3a7
Add tests for swatch attributes ( #1606 )
...
* always run critical
* tests for swatch attributes
* Update cypress/integration/configuration/attributes/attributes.js
Co-authored-by: Ewa Czerniak <ewa.czerniak@saleor.io>
Co-authored-by: Ewa Czerniak <ewa.czerniak@saleor.io>
2021-12-14 12:14:40 +01:00
Karolina Rakoczy
e2c05e7dd6
Add new tests for login ( #1580 )
...
* always run critical
* tests for login
* tests for login
2021-12-05 16:03:29 +01:00
Karolina Rakoczy
b7da933bf2
Add tests for preorders- threshold and stocks ( #1567 )
...
* tests for preorder, stoks an threshold
* fix tests for ordering products in channel threshold
2021-12-05 16:03:04 +01:00
Karolina Rakoczy
925e723c35
Add tests for creating preorders ( #1563 )
...
* add test for creating preorder variant
* all tests for creating & editing variants in preorder
2021-11-26 12:42:59 +02:00
Karolina Rakoczy
56b48b87ea
Test for creating order with product without sku ( #1559 )
2021-11-22 16:34:21 +04:00
Karolina Rakoczy
2eb7193ce9
tests for updating products sku ( #1555 )
2021-11-22 15:59:50 +04:00
Karolina Rakoczy
a311583647
Add tests for creating products without sku ( #1550 )
...
* create products without sku
* update stories
* update stories
2021-11-22 15:57:20 +04:00
Karolina Rakoczy
a39f729a1f
update tests for vouchers ( #1546 )
2021-11-03 12:29:59 +01:00
Karolina Rakoczy
80809a078a
Fix cypress tests ( #1541 )
...
* fix tests
* fix base url
* fix varinats tests
2021-11-03 12:15:39 +01:00
Karolina Rakoczy
b0369bf5ca
tests for sales ( #1494 )
...
* tests for sales
* fix create sale with assigned products tests and add test for deleting voucher
* remove unused imports
* Update cypress/support/api/utils/discounts/salesUtils.js
Co-authored-by: Dominik Żegleń <flesz3@o2.pl>
* fix async, remove unused imports
Co-authored-by: Dominik Żegleń <flesz3@o2.pl>
2021-10-28 16:43:26 +02:00
Karolina Rakoczy
d618b8e775
Add tests for stripe ( #1529 )
...
* test for stripe
* first test for stripe
* tests for stripe
* remove comment
* fix import
* fix import
* remove todo
2021-10-28 14:14:07 +02:00
Karolina Rakoczy
cc7626be42
Duplicate current test for sales to work on variants instead on products ( #1491 )
...
* Duplicate current test for sales to work on variants instead on products
* remove unecessery imports
* Update cypress/integration/discounts/salesForVariants.js
Co-authored-by: Ewa Czerniak <ewa.czerniak@saleor.io>
Co-authored-by: Ewa Czerniak <ewa.czerniak@saleor.io>
2021-10-21 12:47:18 +02:00
Karolina Rakoczy
29a90f3e3d
test for refresh ( #1497 )
2021-10-21 12:46:17 +02:00
Karolina Rakoczy
39c1e8e208
tests for click & collect ( #1488 )
2021-10-21 12:45:38 +02:00
Karolina Rakoczy
5bee739872
Saleor 4581 tests for products images ( #1450 )
...
* tests for images on product list
* image on product details page should be displayed
* test for upload image
* fix collection utils import
* fix creating test data
* update jest
2021-10-14 13:47:41 +03:00
Karolina Rakoczy
f7b452cb12
tests for warehouses in checkout ( #1379 )
...
* tests for warehouses in checkout
* fix puchase product with type
2021-10-05 13:46:58 +02:00
Karolina Rakoczy
2407ae6f76
gift cards in checkout ( #1376 )
...
* gift cards in checkout
* complete checkout after trying to add gift card
* fix gift cards tests
* fix gift cards
* update snapshots
* fix tests
* fix gift cards in checkout
* delete created channels
2021-09-29 15:24:47 +02:00
Karolina Rakoczy
2c64a966cc
Saleor 4437 refactor tests ( #1389 )
...
* reference type cypress working
* refactor
* remove screenshots
* add reference
* add slash marker
* run tests based on shop version
* fix run tests based on shop version
* fix run tests based on shop version
* change base url to localhost
* fix plugins
* fix plugins
* fix plugins
* fix plugins
* fix plugins
* fix plugins
* fix yml
* fix yml
* chage file names
* fix files names
* fix broken imports add checking for errors in grpah responses
* fix broken imports add checking for errors in grpah responses
* update jest
* fix snapshot
2021-09-27 12:04:21 +02:00
Wojciech Mista
b98f069aab
Add page type and attributes permissions handling ( #1425 )
...
* WIP add new configuration menu
* Add missing permissions
* Changed filtering to one based on arrays of permissions
* Add hasAnyPermissions and hasAllPermissions functions
* Simplify getConfigMenuItemsPermissions function
* Simplify routing logic
2021-09-24 14:01:54 +02:00
Karolina Rakoczy
19e9b0ffc2
Saleor 4033 tests for plugins ( #1317 )
...
* tests for plugins
* tests for plugins
* add default country to create channel mutation
* change data-test-ids
* update snapshots
2021-09-10 11:03:42 +02:00
Karolina Rakoczy
e7a06281f1
fix failing tests ( #1302 )
...
* fix failing tests
* no retries
* add waiting for confirmation msg
* remove unused import
* fix test for staff
* fix test for staff
* fix tests for orders
* fix tests for channels
* fix autocomplete
* fix filters
* fix filters
* fix create shipping method
2021-09-10 10:59:46 +02:00
Karolina Rakoczy
0dc82f5825
tests for gift cards ( #1361 )
2021-09-08 13:32:05 +02:00
Karolina Rakoczy
a1ed5d1348
test for category translations ( #1247 )
2021-09-02 12:36:46 +02:00
Karolina Rakoczy
2c916e6566
tests for filters ( #1250 )
2021-08-18 13:58:07 +02:00
Karolina Rakoczy
283e714202
tests for pages ( #1222 )
...
* tests for pages
* fix tests
* fix imports
* tests for pages
* add wait
* tests for pages
* fix weight recalculate
2021-07-27 10:57:17 +02:00
Karolina Rakoczy
5e7dc8e2a5
fixed all tests ( #1253 )
...
* fixed all tests
* fix shipping weight tests
* fix create product
* delete users created in previous tests
* merge
2021-07-26 11:58:47 +02:00
Karolina Rakoczy
1f01a09e87
add tags ( #1251 )
...
* add tags
* edit e2e.yaml
* fix test for customer registration
* add empty lines
2021-07-23 12:46:44 +03:00
Dawid Tarasiuk
b024a0fde6
Add variant create options dialog ( #1238 )
...
* Add variant create options dialog
* Update e2e tests
* Update option field name
* Refactor
* Use macaw UI in Variant create dialog
* Update messages
2021-07-22 11:56:13 +02:00
Karolina Rakoczy
0ec88cdb1e
all tests for site settings ( #1236 )
2021-07-20 13:59:23 +03:00
Karolina Rakoczy
f1b313ea69
Saleor 3873 tests for navigation ( #1234 )
...
* add test for creating menu
* tests for navigation
* fix imports
2021-07-15 15:31:05 +03:00
Karolina Rakoczy
99507d5bed
test for customer registration ( #1231 )
...
* test for customer registration
* change name
2021-07-15 15:06:30 +03:00
Karolina Rakoczy
0c21788d61
test for create page type ( #1213 )
2021-07-15 14:22:04 +03:00
Karolina Rakoczy
f68410b7cb
Saleor 3711 tests for categories and collections ( #1204 )
...
* tests for collections
* all tests for categories
2021-07-15 14:17:56 +03:00
Karolina Rakoczy
b1e9f499db
add tests for apps ( #1227 )
2021-07-15 13:27:07 +03:00
Karolina Rakoczy
f847c76d67
Saleor 3826 tests for customers ( #1226 )
...
* added test for customers
* add test for customer
2021-07-15 13:25:39 +03:00
Karolina Rakoczy
e6d6621816
tests for metadata ( #1206 )
...
* tests for metadata
* change name of the function
2021-07-15 12:25:31 +03:00
Karolina Rakoczy
2412911a9d
fix test for sales ( #1214 )
...
* fix test for sales
* fix assingElements function
* change name of the function
* add wait to channels in shipping
* add missing imports
2021-07-15 12:20:59 +03:00
Karolina Rakoczy
2eae52d3df
check skeletons visibility ( #1215 )
2021-07-12 16:35:26 +03:00
Karolina Rakoczy
e76c78a23b
tests for shipping ( #1173 )
...
* tests for shipping
* fix typo
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
* add data-test-id
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-07-12 11:50:50 +03:00
Karolina Rakoczy
4faafd2489
Saleor 3626 tests for attributes ( #1198 )
...
* tests for attributes
* add tests for content attribute
2021-07-09 11:43:45 +02:00
Karolina Rakoczy
75d85e66cb
test for product without shipping option ( #1154 )
...
* test for product without shipping option
* fix broken tests
2021-07-06 12:33:04 +02:00
Karolina Rakoczy
5b3465861f
Saleor 2705 tests for warehouse ( #1143 )
...
* tests for warehouses
* tests for warehouses
2021-07-06 12:32:09 +02:00
Karolina Rakoczy
12e9cf0472
fix failing tests ( #1200 )
...
* fix failing tests
* skip test for variant
* skip failing test
* uncomment tests for fixed bugs
* fix test.yaml
2021-07-05 15:05:13 +02:00
Karolina Rakoczy
f5c5a8770c
tests for product types ( #1199 )
2021-07-05 12:21:35 +02:00
Karolina Rakoczy
3bd83c3731
tests for channels ( #1185 )
...
* tests for channels
* fix display product after channel activate
* remove comments
2021-07-01 01:14:25 +02:00
Dawid Tarasiuk
c3e720a47e
Saleor 3087 Paginate attribute values in filters ( #1152 )
...
* Dynamic fetch attribute values in filter list
* Update filter attributes fixtures
* Change attribute values filter to autocomplete field
* Fix unchecking attribute value filter failure
* Update test snapshots
* Update changelog
* Fix cypress tests
* Add slug node mapping util
2021-06-14 15:31:41 +02:00
Karolina Rakoczy
6a2524a5c7
Saleor 3496 tests for single permissions ( #1147 )
...
* permissions
* orders, channels and discounts
* tests for single permissions
2021-06-10 12:48:59 +02:00
Karolina Rakoczy
2c5b0feeb1
Fix tests after changes ( #1149 )
...
* fix
* fix
2021-06-10 10:13:31 +02:00
Dawid Tarasiuk
d342bdb63b
Variant attribute values pagination ( #1133 )
...
* Implement attribute values pagination in variant pages
* Implement attribute values pagination in variant creator
* Update variant creator design bugs
* Fix deleting attribute value error
* Refactor attribute value handling in variant creator
* Update after review
* Create local pagination state for attribute values
* Fix autocomplete select field scrolling on fetch more
* Change onAttributeSelect to onAttributeFocus
* Update cypress test function with attribute values pagination
2021-06-08 09:51:27 +02:00
Karolina Rakoczy
50bb0105bd
fix failing tests ( #1144 )
2021-06-07 17:16:44 +02:00
Karolina Rakoczy
7df850bcb1
Saleor 3391 tests for staff members ( #1122 )
...
* invite staff
* staff members
* all tests for staff members
* remove unused import
* update snap
* remove /dashboard/
* uptade test.yml
2021-06-07 13:35:53 +02:00
Karolina Rakoczy
839c4f5afe
Saleor 2961 tests for stocks in checkout ( #1117 )
...
* tests for stocks
* stocks in checkout
* stocks in checkout
* fix shipping
* add billing address
* add empty line
2021-06-07 13:35:26 +02:00
Karolina Rakoczy
dd4519a044
Saleor 3479 tests for permissions groups ( #1135 )
...
* test for permission groups
* test for permission groups
* test for permission groups
* test for permission groups
* all tests for permission groups
* all tests for permission groups
2021-06-02 09:59:34 +02:00
Karolina Rakoczy
01d0a222ac
Saleor 2962 warehouses in checkout ( #1118 )
...
* add tests for puchase by type
* add expect for isShippingRequired
* tests for adyen
* tests for adyen
* tests for adyen
* tests for adyen
* adyen
* adyen
* adyen
* adyen
* adyen
* warehouses in chcekout
* test for adyen
* adyen tests
* warehouse in chceckout
* merge changes
* remove dash
* remove video
* fix typo
2021-06-01 10:18:45 +02:00
Karolina Rakoczy
0b1d0a3a54
Saleor 3357 tests for orders ( #1119 )
...
* add tests for puchase by type
* add expect for isShippingRequired
* tests for adyen
* tests for adyen
* tests for adyen
* tests for adyen
* adyen
* adyen
* adyen
* adyen
* adyen
* warehouses in chcekout
* rm warehouses in chcekout
* adyen payments
* adyen
* tests for orders
* fix shipping
* unskipp
* orders
* add empty lines
* add empty lines and reduce
* add empty lines
2021-05-31 09:50:31 +02:00
Karolina Rakoczy
9f71106f32
Saleor 3038 tests for payments by adyen ( #1086 )
...
* add tests for puchase by type
* add expect for isShippingRequired
* tests for adyen
* tests for adyen
* tests for adyen
* tests for adyen
* adyen
* adyen
* adyen
* adyen
* adyen
* warehouses in chcekout
* rm warehouses in chcekout
* adyen payments
* adyen
2021-05-16 13:38:53 +02:00
mmarkusik
19b8d30565
Feature - channels per plugin ( #1093 )
...
* Update schema
* Update queries, mutations, and types
* Add render with dividers util function
* Add plugin details channels card component
* Update plugin details to use channels
* Update stories
* Update plugin configuration type across the app, fix some other types, temporarily comment some things out in plugins list so types match"
* Update schema
* Update types
* Update plugins list to show channels and global statuses, add plugin channel status, update status label component
* Add render with dividers util function
* Comment out some stuff for types to match - temporary
* Add useChannelsSearchWithLoadMore util to imitate loading more from backend for channels list with load more
* Change filters logic to be able to display multiple fields in a field section and add it to plugins view
* Add scroll option to plugin availability popup on plugin list
* Fix plugin list page story
* Temporarily comment some stuff out, fix some types
* Add filters errors WIP
* Fix filters not updating list
* Add error handling to plugins list filters and filters in general
* Rename some components according to review
* Move useChannelsSearch and useChannelsSearchWithLoadMore to hooks, change some imports accordingly
* Fix imports
* Move render collection with dividers to a component, fix usages
* Replace channels with load more and search query to base channels query
* Change render with dividers function to take in a component instead of render function
* Update tests
* Extract messages
* Remove unnecessary imports
* Fix filters - autocomplete messing items order sometimes & some fields not working
* Update plugin update mutation variables - change channelId to channel
* fix failing tests
* Add test ids
* fix failing tests
* fix failing tests
* Rename misc.tsx to ts
* Remove usage of render collection with diviers, change it to CollectionWithDividers component
* Remove unnecessary imports
* Update messages ids
* Update snapshots
Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-05-11 15:58:09 +02:00
Dawid Tarasiuk
8e038dc786
SALEOR-1629 - Fix voucher page bugs ( #1031 )
2021-05-06 13:43:26 +02:00
Karolina Rakoczy
074c0f7a6c
Saleor 2960 checkout products without shipment ( #1075 )
...
* add tests for puchase by type
* add expect for isShippingRequired
2021-04-28 15:10:47 +02:00
Jakub Majorek
a83a245654
Drop deprecated fields ( #1071 )
...
* Drop deprecated fields
* Update changelog
* Update test recordings
* Fix e2e tests
* Fix product sorting (#1079 )
* update stories
Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2021-04-26 09:49:55 +02:00
Karolina Rakoczy
6395aa16a3
tests for pagination ( #1062 )
...
* tests for pagination
* tests for pagination
* tests for pagination
* tests for pagination
* tests for pagination
* fix test for variants
2021-04-21 15:14:38 +02:00
Karolina Rakoczy
4013105844
Saleor 2697 tests for updating products ( #1060 )
...
* updating products
* updating products
* test for updating
2021-04-21 10:02:48 +02:00
Karolina Rakoczy
b89e3533d6
Saleor 2690 tests for sorting products ( #1033 )
...
* tests for sorting
* tests for sorting
* sort products
* sort products
* sort products
* sort products
* tests for sorting
* fix imports
* tests for sorting
2021-04-21 09:51:10 +02:00
Karolina
d5233b3131
Saleor 2893 fix failing cypress tests ( #1064 )
...
* fix tests
* fix tests
* fix tests
2021-04-16 13:36:24 +02:00
mmarkusik
8fe66a3bde
Add channel shipping zones ( #1015 )
...
* Add naked input option to SingleAutocompleteSelectField and update it's stories
* Add new icons - chevron up, down & trash
* Add deletable item component and stories
* Add card add items footer component to be used in warehouses and product stocks assign
* Update schema and types
* Add shipping zones card components
* Update channel details page form to also include shipping zones
* Update makeTopLevelSearch hook files directory and add getSearchFetchMoreProps function to avoid extracting it manually every time
* Update channels types & fragments
* Move getDefaultNotifierSuccessErrorData function to useNotifier utils, update dir etc., also make order discount provider use it from the new dir
* Add shippinh zone to channel update and create and add shipping zone search
* Update messages
* Fix types
* Fix lint, types etc
* Small refactor from review and quick fix styles of shipping zones card
* Refactor a bit and update snapshots
* Refactor a bit and update snapshots
* Addd / refactor channels availability components
* Add useChannelsWithProductVariants hook with utils and types
* Add / refactor more channels availability components
* Move avatar from table cell avatar to separate component for it to be usable outside of tables
* Add channels with variants logic to product create and update pages & views
* Refactor components to use updated channels availability components
* Remove unnecessary comments
* Update storybook
* Update types
* Update messages
* Fix prices for variants / simple product not uodating properly
* Post merge cleanup, update schema, types, etc.
* Change shipping zone details warehouses card into settings card and add ability to assign channels to shipping zone
* Update types
* Update snapshots
* Fix selecting / deselecting all channels in channels with variants modal
* Fixes after review, some types changes etc.
* Update snapshots
* Small types fixes
* Make price rates views use parent shipping method channels instead of all
* Make price rates views use parent shipping method channels instead of all
* Update types
* Fix bugs
* Fixes after review
* Fix channels availability data submission
* Fix lint
* Fix variant pricing card showing not related channels
* Fixes after review
* Fix types
* Hide unaviable variants in add products to draft order dialog
* Fix channels with variants availability modal showing confirm button as enabled when it shouldn't
* Fix types
* Update semi checked icon to match old designs
* Update types
* Update channels icon in channels with variants availability
* Fix product cypress test after product channels mutation changed
* Fix trash and chevron down colors in dark mode
* Fix shipping zones card footer not updating query after click away
* Fix types in schema, add condition not to display shipping zones select in channel details if all zones have already been selected
* Fix products adding in order draft dialog
* Fix simple productupdate
* Update snapshots after merge with master
* Update messages
* Fix product api request for cypress
* Add missing test id
* Fix selecting if product is simple -> form being submitted with empty data sometimes
* Update snapshots, messages and add fix for invalid date at product update
* Remove unnecessary imports
* Fix failing test in saleor 2552 (#1061 )
* fix
* fix
* fix
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
Co-authored-by: Karolina <rakoczy.karolina@gmail.com>
2021-04-14 15:44:25 +02:00
Karolina
2173e241b5
Saleor 2692 tests for filtering products ( #1055 )
...
* test for filtering products
* tests for filters
* change filter input selector
* change filter input selector
* change filter input selector
* add data-test-id
2021-04-12 17:22:12 +02:00
Jakub Majorek
80cb7c0404
Optimize product list view queries ( #1016 )
...
* Skip unused queries on product list
* Further optimize queries
* Fix product type details search on product create page
* Fix test fixtures
* Update query for product type details in product create page
* Update cypress test for product list
* Update package.lock
Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2021-04-08 18:14:15 +02:00
Tomasz Szymanski
213e10bba8
Fix cypress tests
2021-04-06 14:25:56 +02:00
Karolina
588175df30
Saleor 1737 tests for shipping methods ( #1013 )
...
* remove classes in shipping & products utils
* remove classes
* add tests plans
* add const
* tests for shipping methods
* test for shipping
* test for shipping
* tests for shipping
* install eslint-plugin-chai-friendly
* update stories
* add missing imports
2021-04-02 13:01:38 +02:00
Karolina
114476d615
Saleor 2696 tests for product create ( #1026 )
...
* test for product create
* tests for creating product
* create new expect product info utils file
2021-04-01 14:33:36 +02:00
Karolina
9d01f5b24e
Saleor 2686 tests for navigation ( #1022 )
...
* tests for home page
* test for navigation
* tests for navigation
* tests for navigation
* tests for navigation
* tests for navigation
2021-03-26 10:33:35 +01:00
Karolina
0da6012bc4
Saleor 1746 tests for vouchers ( #1014 )
...
* tests for vouchers
* test for vouchers
* test for vouchers
* add getDefaultAddress
2021-03-23 11:15:39 +01:00
Karolina
78ba9f4fe9
Saleor 2699 tests for home page ( #1019 )
...
* tests for home page
* tests for home page
* tests for home page
* change master to qa API_URL
* add user to env
* remove empty file
2021-03-23 11:14:18 +01:00
Karolina
f8d5593fc3
Saleor 1741 tests for orders ( #1011 )
...
* first test for draft orders
* tests for channels in draft orders
* tests for channels in draft orders
* tests for channels in draft orders
* test for moving draft order to orders
* test for orders
* test for orders
* tests for draft orders
* tests for draft orders
* tests for draft orders
* tests for draft orders
* test for moving draft order
* tests for orders
2021-03-17 11:00:30 +01:00
Karolina
0157914edb
Saleor 1740 tests for draft orders ( #1002 )
...
* first test for draft orders
* tests for channels in draft orders
* tests for channels in draft orders
* tests for channels in draft orders
* test for moving draft order to orders
* test for orders
* test for orders
* tests for draft orders
* tests for draft orders
* tests for draft orders
* tests for draft orders
* test for moving draft order
2021-03-15 14:16:02 +01:00
Karolina
746ce8b95f
Saleor 1745 tests for discounts sales ( #998 )
...
* test plan for sales - discounts
* create sale
* passing tests for sales
* tests for collections
* remove eslint diable in sales tests
* remove eslint-disable
* move shared selectors
* move shared selectors
* fix indentation in requests
* add formatDate function
* remove moment
* remove moment
2021-03-12 15:57:02 +01:00
Karolina
fc597a7a7f
Saleor 2590 remove classes from cypress tests ( #1003 )
...
* remove classes in shipping & products utils
* remove classes
* add const
* remove getters in ProductsUtils
* remove getters in Utils
* remove getters in Utils
2021-03-12 13:14:18 +01:00
Karolina Rakoczy
bc9d6a0666
tests for collections
2021-03-04 15:51:55 +01:00
Karolina Rakoczy
b6093e3fc5
resolve conflicts
2021-03-04 13:58:01 +01:00
Karolina Rakoczy
44a0a6555e
add isVisible utils function
2021-03-04 13:35:45 +01:00
Karolina Rakoczy
c9df58727b
rename test in collectins tests
2021-03-03 11:40:33 +01:00
Karolina Rakoczy
5df9a927d0
rename test in collectins tests
2021-03-03 09:42:07 +01:00
Karolina Rakoczy
a9999c43d8
fix tests for variants
2021-03-02 18:26:57 +01:00
Karolina Rakoczy
cf0b3b1bf6
tests for collections
2021-03-02 10:01:58 +01:00
Karolina Rakoczy
a8a9a5eb3a
tests for collections
2021-03-02 09:38:24 +01:00
Karolina Rakoczy
62cf68c841
tests for variants
2021-03-01 16:27:37 +01:00
Karolina Rakoczy
ad3c1de234
tests for variants
2021-03-01 15:51:46 +01:00
Karolina Rakoczy
00e28061bd
tests for variants
2021-03-01 13:50:36 +01:00
Karolina Rakoczy
30e3fd9320
tests for variants
2021-03-01 13:37:31 +01:00
Karolina Rakoczy
af059da41b
tests for collections
2021-03-01 13:25:13 +01:00
Karolina Rakoczy
dfdf43fed5
merge with master
2021-03-01 13:07:05 +01:00
Karolina Rakoczy
4a64dd8d57
tests for variants
2021-03-01 12:54:08 +01:00
Karolina Rakoczy
7e793140e7
test for variants
2021-02-26 16:39:42 +01:00
Karolina Rakoczy
36dca95454
test for products, remove cy command
2021-02-26 15:34:35 +01:00
Karolina Rakoczy
089a2c428d
test for variants
2021-02-26 15:32:01 +01:00
Karolina Rakoczy
fde78fe874
remove class
2021-02-25 11:40:07 +01:00
Karolina Rakoczy
ded6cdd5c4
tests for variants
2021-02-25 10:51:52 +01:00
Karolina Rakoczy
83bf59889e
merge with products
2021-02-24 20:35:37 +01:00
Karolina Rakoczy
6e6b9956ef
collections tests
2021-02-24 14:21:19 +01:00
Karolina Rakoczy
095a5522d3
fix login commands
2021-02-24 12:21:06 +01:00
Karolina Rakoczy
3a90d9bdc2
fix login commands
2021-02-24 12:19:17 +01:00
Karolina Rakoczy
f1c86f0a4d
tests for products -change login cy command
2021-02-24 10:27:57 +01:00
Karolina Rakoczy
ac7f1b19b6
tests for products - fix storefront req
2021-02-23 15:30:52 +01:00
Karolina Rakoczy
e8c20ae511
tests for products
2021-02-23 13:09:58 +01:00
Karolina Rakoczy
170a9b8b44
tests for collections
2021-02-22 13:10:51 +01:00
Karolina Rakoczy
ca5df50640
tests for collections
2021-02-19 13:41:40 +01:00
Karolina Rakoczy
2ea9035e9c
2021-02-19 12:08:10 +01:00
Karolina Rakoczy
4fc9fefa74
tests for products
2021-02-19 10:57:25 +01:00
Karolina Rakoczy
03c6149f6f
tests for variants
2021-02-19 09:45:34 +01:00
Karolina Rakoczy
5f413d16fc
merge with tests for products
2021-02-18 21:08:06 +01:00
Karolina Rakoczy
76ef2e6264
tests for products
2021-02-18 20:50:12 +01:00
Karolina Rakoczy
1b4da95e81
tests for products
2021-02-18 20:32:35 +01:00
Karolina Rakoczy
a33b13aaa2
tests for available for purchase
2021-02-18 19:28:01 +01:00
Karolina Rakoczy
5fa5eda4a7
merge with master
2021-02-18 16:28:29 +01:00
Karolina Rakoczy
5b05db92fc
add get collection request
2021-02-18 10:00:08 +01:00
Karolina Rakoczy
91460bd8b1
add data-test-id
2021-02-17 13:50:57 +01:00
Karolina Rakoczy
8ecfa78a8b
rename regex
2021-02-17 12:22:24 +01:00
Karolina Rakoczy
1a09ccefe0
create variants steps
2021-02-17 11:47:23 +01:00
Karolina Rakoczy
9bb20551f9
fix regex
2021-02-17 00:11:46 +01:00
Karolina Rakoczy
c361da5dc8
Remove awaits
2021-02-16 21:48:37 +01:00
Karolina Rakoczy
ebfb22d9f8
add promises
2021-02-16 15:19:46 +01:00
Karolina Rakoczy
592993c030
All analytics in separate tests
2021-02-15 10:44:50 +01:00
Karolina Rakoczy
6f1190be28
fix tests for channels after merge
2021-02-12 16:48:23 +01:00
Karolina Rakoczy
9f5c1b544e
tests for products
2021-02-12 15:36:13 +01:00
Karolina Rakoczy
b9c567d377
merge changes
2021-02-12 11:31:27 +01:00
Karolina Rakoczy
5b6d1ddd77
wait for sales to be visible
2021-02-12 10:36:14 +01:00
Karolina Rakoczy
16cbe6c3a5
add expect
2021-02-12 10:16:04 +01:00
Karolina Rakoczy
c5939517c6
add then
2021-02-12 10:00:20 +01:00
Karolina Rakoczy
9278208639
add frontShop request
2021-02-12 09:54:52 +01:00
Karolina Rakoczy
c32c244724
fix regex for orders
2021-02-11 19:47:01 +01:00
Karolina Rakoczy
6e66ccc0f6
Fix regex in sales
2021-02-11 17:06:14 +01:00
Karolina Rakoczy
7bb8a8fee2
Fix regex in orders
2021-02-11 16:55:30 +01:00
Karolina Rakoczy
8434c04dc1
Fix regex in orders
2021-02-11 16:51:29 +01:00
Karolina Rakoczy
179135611b
add wait for request
2021-02-11 16:26:37 +01:00
Karolina Rakoczy
c1e9803640
add data-test-id
2021-02-11 16:04:56 +01:00
Karolina Rakoczy
221756a70e
merge changes
2021-02-11 15:17:00 +01:00
Karolina
7bb3efa65d
Saleor 1736 configuration channels ( #966 )
...
* Cypress tests for channels
Co-authored-by: Marcin Gębala <maarcin.gebala@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2021-02-11 14:58:05 +01:00
Karolina Rakoczy
27e5d912e4
tests for dashboard
2021-02-11 13:20:00 +01:00
Karolina Rakoczy
e1bd4b28e9
add test for several variants
2021-02-11 10:20:39 +01:00
Karolina Rakoczy
1664bad52a
test for create variant
2021-02-09 14:06:10 +01:00
Karolina Rakoczy
2a9e420420
all tests for products
2021-02-08 10:23:12 +01:00
Karolina Rakoczy
584e66b9f9
one test for available for purchase
2021-02-04 13:26:04 +01:00
Karolina Rakoczy
cb528a7744
tests for publish products
2021-02-04 12:15:27 +01:00
Karolina Rakoczy
fe9f55ee81
created orders and products, missing data-testid
2021-02-02 12:34:10 +01:00
Karolina Rakoczy
95be7b5163
order ready to fulfill created
2021-01-27 10:41:55 +01:00
Karolina Rakoczy
f9e8090120
Add mutation query
2021-01-21 11:05:54 +01:00
Karolina Rakoczy
f1d4b11a81
test for elements visibility, TODO - api requests for creating order
2021-01-19 22:17:49 +01:00
Dominik Żegleń
a175fb9497
Add global channel picker ( #841 )
...
* Move theme switch to user menu
* Add global channel picker
* Fix picker styles
* Use app channel state
* Improve prop naming to indicate id vs slug
* Disable picker if no reason to pick channel
* Remove settings modal leftovers
* Remove channel settings dialog
* Remove unused props
* Skip channel fetching if user is not authenticated
* Remove channel selection from components
* Update messages
* Fix e2e tests
* Remove channel picker leftover
* Revert ChannelSettingsDialog deletion
* Update snapshots
* Update messages
2020-11-23 10:39:24 +01:00
Karolka
e2e5f7f7a5
Add rating input at Create/Edit Product page ( #828 )
...
* Add rating input at Create/Edit Product page
* Fix cypress tests
Co-authored-by: Karolina Kuźniewicz <karolina.kuzniewicz@mirumee.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2020-11-19 18:07:42 +01:00
Dominik Żegleń
33d680639b
Add new side menu navigation ( #819 )
...
Update snapshots
Fix savebar
Fix cypress
Update messages
Fix cypress
2020-11-18 16:11:15 +01:00
Dominik Żegleń
6f9060144a
Multichannel ( #833 )
...
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598 )
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609 )
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655 )
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662 )
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698 )
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702 )
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715 )
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717 )
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724 )
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727 )
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739 )
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743 )
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746 )
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750 )
* update sale views with channels
* small fixes in discounts
* order views with channels (#752 )
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755 )
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762 )
* update translations
* fix translation types
* update messages
* update Availability component (#766 )
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785 )
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791 )
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801 )
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803 )
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804 )
* channels currency code select (#806 )
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 17:10:42 +01:00
Krzysztof Wolski
7cd3409bb3
Fix failing cypress test ( #738 )
...
* Add test selector for autocomplete field
* Update snapshot
2020-09-30 11:48:00 +02:00
Marcin Gębala
cf91edaaf9
Revert "Merge pull request #697 from mirumee/ref/sidebar"
...
This reverts commit b1623eaaf5
, reversing
changes made to 14da39ebfa
.
2020-09-25 16:45:27 +02:00
dominik-zeglen
bca1d858c9
Fix tests
2020-09-10 16:04:05 +02:00
dominik-zeglen
14b32db8ec
Fix test selectors
2020-09-09 13:15:18 +02:00
Michalina Graczyk
33d17d9d4a
Add fix for a PR comment
2020-08-27 09:03:10 +02:00
Michalina Graczyk
2a63f9d85c
Add no UI login
2020-08-25 16:15:39 +02:00
Michalina Graczyk
6a72fae494
WIP-add new product
2020-08-25 12:27:35 +02:00
M.Graczyk
ef967eb5e4
Refactor of login tests ( #630 )
...
* WIP refactor of login tests
* Xit not woriking tests, fixed rest of them
* Properly pass env vars to cypress
* Remove unused code
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2020-08-20 15:36:00 +02:00
Krzysztof Wolski
c778c200ed
Move from test cafe to Cypress ( #584 )
...
* Typo
* Add cypress config
* Login and logout tests
* Typo
* Add basic test for warehouse
* Wrong password test
* Fixes and docs
* Remove testcafe
* Add gh action
* Update changelog
* Fix typo
* Update msgs
* Work on GH action
* Record artifacts
* Fix warehouse test
2020-07-20 11:42:44 +02:00