Karolina Rakoczy
4b46b4891c
Fix test for creating app ( #2439 )
2022-10-24 10:22:45 +02:00
Karolina Rakoczy
3ae956ce5f
Fix test for shipping method update ( #2431 )
2022-10-21 12:14:40 +04:00
Karolina Rakoczy
968c87a1ae
Fix tests for pages ( #2366 ) ( #2427 )
2022-10-21 12:12:23 +04:00
Karolina Rakoczy
019a419411
Fix tests for staff members ( #2426 )
2022-10-20 16:07:45 +04:00
Ewa Czerniak
5c48f5387e
fix for flaky TC:2902 test ( #2423 )
2022-10-20 13:03:08 +02:00
Karolina Rakoczy
2e292c2e06
Fix tests for orders ( #2372 ) ( #2399 )
2022-10-20 14:03:53 +04:00
Ewa Czerniak
7aecd46ffd
refactor product variants tests ( #2418 )
2022-10-20 11:16:50 +02:00
Ewa Czerniak
d10c355618
remove test for variant creator ( #2415 )
...
* remove test for variant creator
* force deploy
2022-10-20 11:16:31 +02:00
Ewa Czerniak
cb93dbea2a
Remove unused imports and variables ( #2420 )
2022-10-20 07:36:49 +02:00
Dominik Żegleń
31e0c11fea
New datagrid view for product variant management ( #2162 )
...
* New datagrid view for product variant management (#2040 )
* Split simple and product with variants updates
* Simplify code
* Change selectedVariantsIds to availableVariants
selectedVariantsIds suggested that these variants *were just* selected
* Add datagrid component
Add datagrid component
Add actions column
Add column picker
Add ts-ignore comment
Remove unused import
Fix after rebase
Add story
Fix column picking
Fix column dragging
Add column resizing
Extract components to own files
Apply styles from class
Improve data storage
Extract state to hook
Expose handlers
Fix styles
Fix header overflow
Add select all option
Add cell types
Fix types
Add number type cell
Add min to stocks
Fix types
Generate columns from shop data
Add number type editor
Fix tests
Update src/components/Datagrid/Datagrid.tsx
Co-authored-by: Jonatan Witoszek <jonatanwitoszek@gmail.com>
Reconstruct data after column toggling
Minor fixes
Add missing id
Remove unused import
Fix container width
Keep changes in state
Drop onChange usage
Use glide datagrid
* Add column picker
* Memoize callbacks
* Add right toolbar
* Make toolbar as prop
* Clean up code
* Fix styling
* Lint files
* Save variant data in datagrid (#2161 )
* Allow rows to be deleted
* Add row adding
* Clean up code
* Improve mutations
* Add stock saving
* Add sku and attribute saving
* Display notification after all mutations
* Fix types
* Save channels in datagrid (#2197 )
* wip
* Merge simple and variantable handlers
* Move channel setting to form
* Link availability card to form
* Extract listing management to hook
* Update only touched channels
* Improve channel listing managemend
* Display channel data in datagrid
* Save variant channels
* Save changes in channel listings
* Group columns
* Fix types
* Display touched fields
* Return errors from hook
* Display errors in cells
* Improve naming
* Improve naming
* Use reliable called/loading state
* Update src/components/Datagrid/cells.ts
Co-authored-by: Michał Droń <dron.official@yahoo.com>
* Apply fixes from review
Co-authored-by: Michał Droń <dron.official@yahoo.com>
* Fix type error
* Trigger CI
* Trigger CI
* Save added and deleted variants (#2237 )
* Save new variants
* Update channel data
* Remove bulk variant delete dialog
* Do not fetch products from api after save
* Extract types
* Reset errors after api response
* Display error when creating variants
* Fix variant reordering
* Remove commented code
* Fix imports
* Edit attributes in datagrid (#2305 )
* Add basic dropdown cell
* Fix clickaway
* Add choice customization
* Add callback to fetch choices
* Add attriute value search
* wip
* Pass getSuggestions cb using props
* Fix row adding
* Fix choice creation
* Add styles to datagrid (#2315 )
* Improve cell styling
* Prevent navigation when scrolling horizontally
* Fix text editor styles
* Remove unused variable
* Update whole row after editing cell
* Translate column names
* Improve empty message
* Highlight newly created rows
* Add name editing
* Add disabled context menu to added rows
* Add column groups
* Translate column groups names
* Save edited name
* Fix missing column id error
* Add card to datagrid
* Improve shadow on scroll
* Improve fonts
* Fix toolbar placement
* Update api type definitions
* Fix copypasting from excel
* Fix editor font weight
* Improve dark theme
* Improve cell coloring
* Drop styling from story
* Add docs to datagrid (#2339 )
* Add docs
* Add summary
* Datagrid fix bugs (#2341 )
* Pass refetch to form to avoid double calls
* Add missing prop
* Remove paddings (#2352 )
* remove paddings
* remove paddings
* remove paddings
* remove vertical scroll
* update tests
* styles, currency
* Fix variants tests in datagrid (#2365 )
* refactor variant test after adding datagrid
* adding assertion to check if datagrid table is visible
* adding check for datagrid
* fix flaky tests in variants
* fix flaky tests in variants
* small changes
* amedments
* update styles
* refactoring, handle prices
* update snapshots
* messages
* snap
* scrolling handle, css for safari
* snap, random mock
* update overflow
* history back hook
* fix cross-price changing, scroll optimization
* trigger ci
* channel checking when adding new variant
Co-authored-by: Michał Droń <dron.official@yahoo.com>
Co-authored-by: Patryk Andrzejewski <vox3r69@gmail.com>
Co-authored-by: Ewa Czerniak <ewa.czerniak@saleor.io>
2022-10-18 11:10:15 +02:00
Anna Szczęch
0d519e665c
wait for skeleton to disapear while searching for category ( #2360 )
2022-10-13 08:07:21 +02:00
Ewa Czerniak
88260122fb
fix for manageStockReservation tests ( #2335 )
...
* fix for manageStockReservation tests
* correction of cleaning test data in hooks
2022-10-10 05:57:19 +00:00
Anna Szczęch
e7a7b79f3e
values set only a for few inputType ( #2355 )
2022-10-07 11:07:34 +02:00
Dawid
43fb52bc56
Enable save button on page pages ( #2325 )
...
* Enable save button on page edit pages
* Update e2e page create tests
* Update page create tests snapshots
* Update changelog with enable save button
* Update messages of pages views
* Update page details messages
2022-10-04 16:02:17 +02:00
Dawid
6738467304
Handle form errors before product creation ( #2299 )
...
* Handle form errors before product creation
* Update e2e product create tests
* Handle channel errors in product update
* Update changelog
* Fix invalid values of product type picker
* Refactor product create utils
* trigger ci
Co-authored-by: Patryk Andrzejewski <vox3r69@gmail.com>
2022-09-23 14:15:59 +02:00
Patryk Andrzejewski
ae9b7b31dc
Add UI to enable channel listing in variants view ( #2303 )
...
* syncg
* manage channels modal, price editing
* fix typings
* fix typings, splitting components
* fix typings, splitting components
* update snapshot
* update types
* update messages
* use toggle
* update e2e tests
* update messages
* add manage button to edit page
* add manage button to edit page
* re-organize components
* update modals
* fix toggle all
* cover scenario when we have no channels
2022-09-22 12:00:13 +02:00
Ewa Czerniak
2bdd1311de
Refactor of tests in navigation.js ( #2323 )
2022-09-22 09:37:06 +00:00
Karolina Rakoczy
f9392ce0ce
Fixes for creating attribute tests ( #2321 )
2022-09-22 09:14:53 +00:00
Ewa Czerniak
7a469029fd
fix for translation tests ( #2306 )
...
* fix for flaky chane user email tests and refactor of plugins tests
* fix for translation tests
* adding an option to run plugin tests in pull_request_temple
* adding an option to run translation tests
2022-09-15 08:28:46 +00:00
Ewa Czerniak
65388acb0f
fix for flaky change user email tests and refactor of plugins tests ( #2302 )
...
* fix for flaky chane user email tests and refactor of plugins tests
* adding an option to run plugin tests in pull_request_temple
2022-09-15 07:34:31 +00:00
Anna Szczęch
f3aa4003fb
SALEOR-7976 add test for create order from checkout as app ( #2278 )
...
* add test for create checkout as app
* fixes after cr
2022-09-06 09:02:59 +00:00
Karolina Rakoczy
c236d5346a
Fixed tests for creating and updating page ( #2273 )
2022-09-02 10:07:43 +02:00
Karolina Rakoczy
22e78bbd23
Fix tests for attributes in products types ( #2269 )
2022-09-01 15:17:13 +02:00
Karolina Rakoczy
24d77b984a
Add test for thumbnails ( #2219 )
...
* Add test for thumbnails
* Add test for thumbnails
* split into functions
* update snapshot
2022-09-01 10:35:19 +02:00
Karolina Rakoczy
43be1d60e2
fix tests for stripe ( #2260 )
2022-08-26 13:03:29 +02:00
Ewa Czerniak
1a41d24ac5
Saleor 7930 fix for sales tests ( #2249 )
...
* moving sales files to sales folder
* refactor tests for sales for products
* refactor of updateSales and createSalesForVariants tests
2022-08-24 21:02:30 +02:00
Karolina Rakoczy
fefaeb00a8
fix test for home page analitics ( #2216 )
2022-08-24 10:58:17 +02:00
Anna Szczęch
0ad0becf9f
create simple product without sku ( #2188 )
...
* create simple product without sku
* remove comments
* restore channel cleanup line
* cr fixes
2022-08-19 08:46:12 +02:00
Ewa Czerniak
cea3ead44b
Saleor 7913 fix tests for vouchers ( #2242 )
...
* refactor createVoucher tests
* fix for tests in updateVoucher folder
* fix for updateVouchers, createVouchersWithLimits and siteSettings
* remove already declared variable
2022-08-18 15:14:29 +02:00
Ewa Czerniak
29c7f785c0
Saleor 7780 fix for collection tests ( #2227 )
...
* fix fox tests in collection
* removing then() in tests
* fixing failing collection tests and add stable tag to run will all tests
2022-08-16 13:27:37 +02:00
Karolina Rakoczy
2c57de07e4
Fix cypress test for enable gift card ( #2214 )
...
* All specs has unique data
* All specs has unique data
2022-08-16 12:49:22 +02:00
Dawid
eea1ba235f
Remove bulk variant creator ( #2179 )
...
* Remove bulk vaariant creator
* Update variant test snapshots
* Update variant E2E tests
* fixed test for products variants (#2187 )
Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2022-08-10 11:29:17 +01:00
Dawid
f01966f0d4
Handle errors on finalizing draft order ( #2191 )
...
* Add warning alert before finilizing draft order
* Add line error indicators in draft order view
* Handle unfilled fields errors before draft order finalize
* Handle draft order line errors
* Differentiate line alert severity
* Fix order line alert margin
* Remove unnecessairy comment
* Refactor order draft alert components
* Update order draft test snapshots
* Refaactor order details code
* Hide add products button when no products available on order draft page
* Hide no shipping methods warning if they cannot be determined
* Update product assignment dialog messaages
* Update order channel error messages
* Fix missing order lines in error crash
2022-08-10 10:11:32 +01:00
Karolina Rakoczy
5ce4a87515
fix test for publishing products ( #2215 )
2022-08-08 12:40:42 +02:00
Karolina Rakoczy
eaf3271dc9
Fix tests for orders ( #2213 )
2022-08-04 12:59:42 +02:00
Anna Szczęch
c076d52f68
Disable Saleor_0702 for 3.5 or higher ( #2182 )
...
* update tests and snapshots
* remove if for 3.5 version
* remove deprecated test
* fix tests after rebase with main
2022-07-29 10:15:33 +02:00
Ewa Czerniak
8a07f226e6
Fix for tests connected with changes for relation between channel-warehouse-shippingzone ( #2189 )
2022-07-29 08:35:55 +02:00
Karolina Rakoczy
6cd42b0ae8
Run cypress tests on correct branch ( #2196 )
2022-07-28 15:05:38 +02:00
Ewa Czerniak
9d99491623
adding tests for app permission, update test for siteSettings, cleanup with variables names ( #2183 )
2022-07-21 10:47:15 +02:00
Karolina Rakoczy
067148bc70
Fixed tests for stripe ( #2177 )
2022-07-18 14:11:17 +03:00
Karolina Rakoczy
683527ebe9
Fix cancel fulfillment test ( #2169 )
...
* Fix test for cancel fulfillment
* add TC numbers
2022-07-18 14:00:24 +03:00
Ewa Czerniak
83988f08c5
Add test for sorting by price, unification of productList folder ( #2170 )
...
* Add test for sorting by price, unification of productList folder
* Correction after review
* correction of function name
2022-07-15 11:50:24 +02:00
Karolina Rakoczy
7e4c6c8a7e
Add mailhog env to nightly tests ( #2171 )
2022-07-15 12:24:53 +03:00
Dawid
f1ffb5093f
Add assign warehouse section in channel page ( #2127 )
...
* Add assign warehouse section in channel page
* Update data-test-ids on channel page
* Update channel page form details
* Update shipping zones and warehouses cards in chaannel page
* Assigning warehouses by channel in product and variant pages (#2135 )
* Assigning warehouses by channel in product and variant pages
* Disable warehouse assignment when no channel on variant page
* Update products stocks section messages
2022-07-11 11:43:08 +02:00
Karolina Rakoczy
eb58e2c8ed
Update channel in warehouse in cypress tests ( #2152 )
...
* Assign warehouse to channel
* Assing warehouse to channel
2022-07-11 12:14:23 +03:00
Karolina Rakoczy
9e43dd4ab1
Fix get correct domain from version ( #2118 )
2022-06-27 18:49:35 +02:00
Karolina Rakoczy
fd7813692a
Change way of tagging tests, add stable tag ( #2102 )
...
* change tags in tests
* change tags in tests
* add finde-names
* correct critical tag
* fix navigation
* remove comments
* fix config
* fix baseUrl port
2022-06-27 11:30:51 +02:00
Karolina Rakoczy
056b3501eb
Update Cypress Version ( #2080 )
...
* Update Cypress Version
* sparete specs with coma
* change workflows to use latest cypress verion
2022-06-08 12:33:11 +04:00
Wojciech Mista
c922dfb6fe
Application Marketplace available in dashboard ( #2054 )
...
* Add marketplace
* Update messages
* Extract styles
* Update test env
* Update config and rename uri
* Update template
* Trigger CI
* Possible fix
* Update deploy yml
* Add marketplace to staging
* Fix responsiveness
* Trigger CI
* Fix navigation tests (#2081 )
* fix navigate through shop
* wait for progress bar not to exist
* simplify code
* add wait
* Fix navigate through shop (#2076 )
* fix navigate through shop
* wait for progress bar not to exist
* simplify code
* Refine App about section (#2056 )
* Trigger CI
* Trigger CI
* Trigger CI
* Trigger CI
* Fix app activation/deactivation
* Hide configuration url and policy if theres none
* Remove about and support links
* Remove unused code
* Update stories and tests
* Update messages
* Fix privacy policy
* Fix activation and "open app"
* Update tests
Co-authored-by: Karolina Rakoczy <rakoczy.karolina@gmail.com>
2022-06-08 08:44:28 +02:00
Karolina Rakoczy
a8b584a9d6
Fix flaky/broken tests ( #2077 )
...
* Fix remove attribute from product type
* fix should be able to display different price for each channel
* Fix collections
* fix pagination
* add test case number
* Fix TC:2605
2022-06-06 14:27:18 +04:00