Patryk Andrzejewski
97b682c805
Sku triggers variant name change ( #3470 )
...
* Sku triggers variant name change
* fixes product variants failing tests SALEOR_2901 and SALEOR_2902
* fix should be able to create several variants visible for the customers. TC: SALEOR_2902
---------
Co-authored-by: wojteknowacki <wojciech.nowacki@saleor.io>
2023-05-05 11:34:35 +02:00
Krzysztof Żuraw
180e3c56e6
Migrate product create page to new MacawUI ( #3372 )
...
Co-authored-by: Michał Droń <droniu@droniu.dev>
Co-authored-by: timur <timuric@gmail.com>
Co-authored-by: wojteknowacki <wojciech.nowacki@saleor.io>
2023-05-04 10:57:18 +02:00
wojteknowacki
375aea0fff
Add presets tests for products list view ( #3506 )
2023-04-18 11:54:23 +02:00
wojteknowacki
fc1c367eaf
dashboard demo tests ( #3431 )
...
* dashboard demo tests
2023-04-05 09:09:53 +02:00
wojteknowacki
dd2a643566
fixing failing tests ( #3411 )
...
* fixing failing tests
2023-03-24 09:03:48 +01:00
wojteknowacki
6dfdf46b48
fixed test SALEOR_0810 ( #3312 )
2023-03-09 11:05:25 +01:00
wojteknowacki
bf532939e2
Test navigation refactor ( #3294 )
...
* naviagtion aka permissions refactor
2023-03-09 09:18:07 +01:00
wojteknowacki
3055af4841
fixing failing critical variants tests ( #3212 )
2023-02-23 16:41:35 +01:00
wojteknowacki
0093f8dad4
fix 2104 e2e test ( #3207 )
2023-02-22 14:07:48 +01:00
Timur Carpeev
6434f277e8
Metadata by default no expanded ( #3172 )
2023-02-21 16:14:00 +01:00
Patryk Andrzejewski
3789f5bb52
New macaw ui ( #3069 )
...
Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com>
Co-authored-by: Michał Droń <dron.official@yahoo.com>
Co-authored-by: Paweł Chyła <chyla1988@gmail.com>
2023-02-20 16:21:28 +01:00
Karolina Rakoczy
2b3c566e09
Update cypress version ( #3053 )
...
* update cypress
* Fix clearAndtypeCommand
* Fix selects
* Fix attribute query, and logging errored responses
* Fix mailhog commands
* Fix mailhog
* Fix for warehouses
* fix tests for plugins and sku
* Fix creating variants
* Fix plugins
* move cypress to optionalDependencies
* move cypress to optionalDependencies
2023-01-27 16:27:49 +01:00
Anna Szczęch
644b58a914
Fix failed night schedule tests ( #3015 )
...
* fix e2e tests
* update test tag
* update tax config in tests failing on v310
* updatet taxes for product variant tests
* move updateRaxConfiguration to beforeEach
* fix imports
* change retries in config
* update data-test-id and remove failing wait for request
2023-01-25 11:32:28 +01:00
Anna Szczęch
d90abd4f8b
Fix test related to saving variant ( #2962 )
...
* Update test after changes in variant name behaviour
* remove comment
* Add data-test-id and update tests
2023-01-13 09:21:18 +01:00
Anna Szczęch
ee19e42e7e
Restore saving variant in fillUpVariantDetails ( #2954 )
2023-01-09 14:40:19 +01:00
Anna Szczęch
7545bc152b
Fix tests for SKU ( #2924 )
...
* add tests update and tc ids
* move test to proper file and refactor
* update before for createProductWithoutSku
* update before for updatingProductsWithoutSku
* add function for create simple product
2023-01-05 08:06:46 +01:00
Karol
0d7af543ac
2916 fix cypress tags ( #2927 )
...
* part one
* part two
* part three
* part four, changes menage to manage
* done
2022-12-30 08:21:28 +01:00
Karol
e69eb9cc5f
Cypress 2608 staff member tests ( #2902 )
...
* fix existing
* add SALEOR_3508
* add data-test-id needed for 3509
* add TODOs
* 3509 done, work on 3510
* done 3510
* found bug blocking test 3507, gh 2847
* pr review adjustments
* pr adjustments
* additional pr adjustments
2022-12-23 11:30:21 +01:00
poulch
1d4c4d878e
Datagrid - show icon button when single menu item with icon ( #2862 )
...
* RowMenu component
* Show first menu item as icon
* RowAction tests
* Change Edit button
* Remove outline from colum picker
* Change ghost color
* Update enterVariantEditPage test
* Update test id in test for edit button
* Update editVariant selector in test
2022-12-16 20:59:39 +01:00
Anna Szczęch
443a94834e
expect email to lowercase in test assertions ( #2796 )
2022-12-07 10:52:39 +01:00
Ewa Czerniak
7933ecf482
remove tests for preorders ( #2699 )
2022-11-25 13:22:14 +01:00
Anna Szczęch
0c1fa47c35
wait for requests on add menu item page ( #2540 )
2022-11-08 10:19:52 +00:00
Karolina Rakoczy
3ae956ce5f
Fix test for shipping method update ( #2431 )
2022-10-21 12:14:40 +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
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
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
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
Karolina Rakoczy
c236d5346a
Fixed tests for creating and updating page ( #2273 )
2022-09-02 10:07:43 +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
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
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
Karolina Rakoczy
5ce4a87515
fix test for publishing products ( #2215 )
2022-08-08 12:40: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
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
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
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
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
Karolina Rakoczy
97eeccc917
Fix flaky test for creating variant ( #2032 )
...
* fix flaky test for creating variant
* fix flaky
2022-05-13 14:08:29 +02:00
Karolina Rakoczy
6d5b894dd9
fix shipping method ( #2014 )
...
* fix shipping method
* shippings fixed
* fix jest
2022-04-28 10:56:56 +02:00
Karolina Rakoczy
bd15c52ee5
fix tests for vouchers ( #2012 )
2022-04-28 09:52:57 +02:00
Klaudia
5c6c0b43f1
Adding missing test to collections tests ( #1952 )
...
* 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
2022-04-27 13:14:05 +02:00