Klaudia
22c16113bf
Saleor 6757 xit for failing tests ( #2030 )
...
* EXLUDED TEST TC:SALEOR_2807 FORM AUTOMATIC EXECUTION. FAILING REASON NEED TO BE CHECKED IN FUTURE
* nmp -i
* npm test -- -u
2022-05-04 10:42:52 +02:00
Karolina Rakoczy
5f4292a041
Exclude failing tests from executing ( #2029 )
2022-04-29 15:03:17 +02:00
Karolina Rakoczy
3a5d72e811
Fix nightly tests ( #2028 )
...
* run nightly
* remove branches
* Branches and on pull request removed
* update snap
2022-04-29 13:53:21 +02:00
Michał Droń
6cf148c4c3
Fulfillment creation refactor ( #1896 )
...
* Create change warehouse dialog (#1850 )
* Add allocations & variant stocks to order details query
* Add asc sorting to warehouse search query
* Add OrderChangeWarehouseDialog component
* Add key to warehouse list in dialog
* Update snapshots
* Remove debug directive
* Remove IDs from messages
* Fix typo in method name & extract messages
* Add quantity to allocations in order details query
* Add types to functions
* Move functions to local utils file
* Add utility type WithOptional
* Fix warehouse types
* Change multiple items unavailable message name
* Fix fetching onScroll
* Fix types in utils
* Add backdrop click support
* Add id to stocks and allocations
* Change unavailableLines from .map to .filter
Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com>
* Fix linter issue
Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com>
* Refactor order cards headers (#1875 )
* Add keys to TableLines
* Bump macaw
* Move & rename CardTitle used in Cards with order lines
* Improve OrderCardTitle typography
* Replace StatusLabels with CircleIndicators
* Fix card title divs placement
* Add warehouse selection button to OrderUnfulfilledCard
* Fix fulfill button placement
* Update snapshots
* Make warehouse in order details view optional so that it works with uncofirmed orders
* Fix undefined lines in warehouse dialog
* Fix spacing in warehouse change button
* Fix macaw dependency
* Bump macaw-ui
* Extract messages
* Implement default warehouse selection logic
* Move CircleIndicator render condition to wrapper
* Fix failing reduce on orders with no lines
* Improve warehousesAvailable early return
* Drop counter in favor of filter().length
* Fix tests post-rebase
* Refactor fulfillment details page (#1915 )
* Add shipment information card
* Refactor multiple warehouse fulfilling to one warehouse
* Fix fulfill button navigation
* Remove redundant code from OrderFulfill view
* Fix OrderFulfill story
* Move styling to seperate file & remove unused classes
* Replace colQuantityTotal class with colStock
* Add warehouse label under page header
* Fix preorder cases
* Change default values to maximum
* Simplify logic
* Add badge for preorder & deleted variant cases
* Remove unused data
* Add yellow outline for exceeding stock
* Fix failing tests
* Extract messages
* Fix tests post-rebase
* Add support for tracking number
* Block fulfilling no items
* Fix deleted variant order details bug
* Fix preorder & deleted variant cases
* Update snapshots
* Remove redundant import
* Fix linter issue
* Extract fulfillment lines as separate component
* Fix types
* Export styles & messages to seperate files
* Simplify formset changes
* Fix warning input styling
* Fix shouldEnableSave for overfulfillment cases
* Simplify preorder rendering
* Move empty line rendering
* Change Warehouse prop to just id of it
* Add endAdornment for deleted variant cases
* Update snapshots
* Fix linter issue
* Extract messages
* Fix incorrect operator precedence resulting in NaN values
* Extract fulfillment lines to fragment
* Replace nested types with fragment type
* Match fragment names
* Update snapshots
* Create exceeding stock confirmation dialog (#1970 )
* Cherry-pick OrderFulfillStockExceededDialog
* Fix types to graphql-codegen
* Unify names in OrderFulfillStockExceededDialogLines
* Fix types in OrderFulfillStockExceededDialogLines
* Fix types in util
* Change utils for usage with single warehouse context
* Refactor OrderFulfillStockExceededDialogLine for usage with single warehouse context
* Fix deleted variant cases in OrderFulfillStockExceededDialogLine
* Include only exceeded lines
* Display stock exceeded dialog on error
* Add confirm button state
* Change fixed height in OrderFulfillStockExceededDialog to responsive
* Extract messages
* Move initial form data after interfaces
* Change nested type to fragment
* Reuse logic
* Remove unused import
* Remove redundant isStockError
* Remove unused imports
* Fix minor bugs in fulfillment creation refactor (#1972 )
* Fix unfulfilled card header quantity calculation
* Fix formset default value for deleted variants
* Update snapshots
* Fix default warehouse selection in order draft (#1971 )
* Fix default warehouse selection
* Replace Skeleton with circular progress
* Reuse logic
* Reuse logic
* Apply CR fixes
* Remove unused imports
* Fix canceled order header status
* Update snapshots
* Revert CircularProgress & change to Skeleton
* Change complex types to fragments
* Extract default warehouse logic to hook
* Fix linter issue
* Remove type assertion from OrderFulfillPage story
* Handle exceeding stock fulfillment approvals (#1988 )
* wip Add OrderFulfillStockExceeded modal for fulfillment approvals
* wip Fix types & imports
* wip Fix union typing in stock exceeded dialog for both views
* Add allowStockToBeExceeded flag on submit
* Fix lines keys in FulfilledCard
* Remove redundant import
* Extract attributes caption function
* Use getById util
* Fix deleted warehouse cases in approvals
* Fix typo
* Fix styling for long warehouse names (#2019 )
* Fix styling in change warehouse dialog
* Fix styling in warehouse selection button
* Add extra margin in button
* Update snapshots
Co-authored-by: Wojciech Mista <wojciech.mista@hotmail.com>
2022-04-29 11:16:58 +02:00
Klaudia
e0cc89478f
exluded test cases before those can be fixed ad part of the SALEOR-6… ( #2025 )
...
* exluded test cases before those can be fixed ad part of the SALEOR-6705 Exclude all failing tests task
* exluded npm test -- -u
2022-04-29 10:21:53 +02:00
Karolina Rakoczy
79b4eb1836
Add input for cypress workflow ( #2023 )
...
* Add input for cypress workflow
* remove run on pull request
2022-04-28 11:42:50 +02:00
Karolina Rakoczy
6d5b894dd9
fix shipping method ( #2014 )
...
* fix shipping method
* shippings fixed
* fix jest
2022-04-28 10:56:56 +02:00
Dominik Żegleń
8fc48eb5f2
Allow all attributes to appear in grid in PLP ( #1933 )
...
* Remove unnecessary attribute filtering
* Enable all attribute types to be displayed in plp
* Improve attribute rendering in plp
* Remove obsolete filters
* Add story
* Rmove dashboard settings section
* Update snapshots
* Remove unused import
* Add column search
* Fix type
* Update messages
* Allow popper to appear on top of select
* Update snapshots
* Update label
* Use autocomplete from macaw
* Fix stories
* Remove unused imports
* Update macaw
* Update message
* Update messages and snapshots
2022-04-28 10:43:05 +02:00
Karolina Rakoczy
bd15c52ee5
fix tests for vouchers ( #2012 )
2022-04-28 09:52:57 +02:00
Klaudia
eabc944604
Fix tests for categories ( #1975 )
...
* fix for categories
* fixing last test case
* Fix deploying proper version to staging on new tag release (#1967 )
* Fix deploying proper version to staging on new tag release
* Another approach
* Remove leftovers
* fixing last test case
* changing test-env-deploy
* npm i
* removing added cy.logs
* fix for categories
* after review
* after review
* fix after review
* switched test function for mutation for category creation
* restoring package-lock.json
* restoring package-lock.json
* restoring package-lock.json
* restoring package.json
Co-authored-by: GrzegorzKowalik <kowalik.grzegorz@outlook.com>
2022-04-28 09:39:56 +02:00
Dominik Żegleń
dc07855b96
Update snapshots ( #2022 )
2022-04-27 16:01:07 +02:00
Dominik Żegleń
3e180c8d17
Minor improvements ( #1924 )
...
* Add basic tests
* Test if qs is preserved
* Preserve querystring
* Improve import performance
2022-04-27 14:57:10 +02:00
Michał Droń
fbf57bbbb1
Fix links in giftcard events created by apps ( #1998 )
...
* Fix links in giftcard events created by apps
* Trigger deployment
2022-04-27 14:12:01 +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
Tomasz Magulski
116b2568d2
[SALEOR-6645] Show appUrl in 3rd-party apps list ( #2015 )
...
* [SALEOR-6645] Show appUrl in 3rd-party apps list
2022-04-27 12:41:03 +02:00
Dominik Żegleń
7254c2d3df
Update schema and types ( #2018 )
2022-04-26 18:52:26 +02:00
Michał Droń
8f25e1b9ed
Navigate to order draft list after canceling order draft ( #2010 )
2022-04-26 15:32:09 +02:00
Michał Droń
ede1026a09
Fix invalid select header in vouchers ( #1992 )
...
* Fix selected header width in vouchers
* Update snapshots
* Change number of columns in customer list to correct value
* Update snapshots
* Same fix in navigation view
* Update snapshots
* Remove redundant import
2022-04-26 15:30:51 +02:00
Michał Droń
b9d94ccd83
Trim queries with whitespace ( #2002 )
...
* Disable rank sorting when query is empty
* Trim query in handlers
* Fix crash on empty query
2022-04-26 15:30:18 +02:00
Michał Droń
f24f7b3089
Fix unreadable alert boxes in dark mode ( #2001 )
2022-04-26 15:29:47 +02:00
Karolina Rakoczy
f257a248cc
Switch snapshot to restore ( #2017 )
2022-04-26 14:27:47 +02:00
Karolina Rakoczy
2c8607e1e5
Fix tests for products attributes ( #2016 )
2022-04-26 14:04:09 +02:00
Dominik Żegleń
8c667cc7b8
Add filtering by metadata ( #1995 )
...
* Add metadata field to filters
* Fix type
* Add metadata filters to orders list
* Refactor key value filter into separate component
* Update Filter types to support other values than string[]
* Rename IFilterElement to FilterElement, remove duplication in types
* Add new messages for Metadata filter
* Fix metadata key-value pair not formatted correctly in the URL
* Add delete metadata button
* Update snapshots
Co-authored-by: Jonatan Witoszek <jonatanwitoszek@gmail.com>
2022-04-26 10:10:12 +02:00
Wojciech Mista
522569f536
Pass appId to iframe src ( #1990 )
...
* Pass appId to iframe src
* Bump app-bridge version
2022-04-25 18:06:45 +02:00
Jonatan Witoszek
1cab89f297
Remove store name, store URL and Store description from dashboard settings ( #1989 )
...
* Disable store domain field in cloud, update query to save store name
* Update field label for domain to "Store API URL"
* Remove store name from store settings page
* Skip enitre shopDomainUpdate mutation when running in cloud
* Remove SiteDetailsSettingsCard
* Update snapshots
2022-04-25 14:00:06 +02:00
Cezary Miącz
a93f6aca6f
Add 3.3 staging deployment workflow ( #2011 )
2022-04-25 12:58:27 +02:00
Karolina Rakoczy
c00d34434c
Create workflow for nightly tests ( #2007 )
...
* Create workflow for nightly tests
* fix step without run
* fix if
* add missing quotes
* fix if
* checkout before install
* add needs
* check npm version
* set up node version
* fix access token
* add staging env variable
* add quote
* add caching
* check if run when revert skipped
* check if run correctly
* remove execute on pull
2022-04-25 11:22:50 +02:00
Jonatan Witoszek
c6d0ec8dbd
Update macaw-ui to 0.4.0 ( #2004 )
...
* Update macaw-ui to 0.4.0
* Update snapshots after macaw update
2022-04-20 17:52:26 +02:00
Michał Droń
2130a2a3e1
Fix richTextcase in prepareAttributeInput ( #1994 )
2022-04-15 16:33:01 +02:00
Jonatan Witoszek
0f237ad2e7
Fix event spread in PriceField ( #1996 )
...
* Fix event spread in PriceField
* Use synthetic event
Co-authored-by: Dominik Żegleń <flesz3@o2.pl>
2022-04-15 16:12:13 +02:00
Karolina Rakoczy
207ce6d031
Fix Critical ( #1991 )
...
* change api url
* fix critical
2022-04-15 13:17:52 +02:00
Cezary Miącz
8d021a2513
Fix release trigger in 3.2 staging deployment workflow ( #1993 )
2022-04-14 16:25:47 +02:00
Jonatan Witoszek
0686e1ae6b
Ignore more than 2 decimal numbers in price input ( #1954 )
...
* Ignore more than 2 decimal numbers in price input
* Handle currencies that don't support decimal values in PRiceField
* Fix helper function when no currency is provided, add calculated step
attribute
* Update storyshots for PriceField, replace $ currency symbol with USD
* Reject exponent character (e) in PriceField
* Add fallback when no currency symbol is provided
* Fix shortening decimal part in PriceField didn't work with >=3 numbers
* Update PriceField to use React.ChangeEventHandler
Co-authored-by: Dominik Żegleń <flesz3@o2.pl>
* Fix missing element type in React.ChgangeEventHandler
Co-authored-by: Dominik Żegleń <flesz3@o2.pl>
2022-04-14 15:06:45 +02:00
Dominik Żegleń
fe3b965019
Set descending order when ordering by rank ( #1976 )
2022-04-14 14:15:09 +02:00
Dominik Żegleń
b7b6def0c2
Update schema ( #1987 )
...
* Update generated API types
* Save schema
2022-04-14 14:11:50 +02:00
Michał Droń
2de4acb4a8
Skip empty attributes ( #1968 )
2022-04-14 14:06:01 +02:00
Klaudia
74662a11ac
copping solution form 3.0 branch ( #1953 )
...
* copping solution form 3.0 branch
* coping and merging to main
* correcting typo
2022-04-13 12:55:05 +02:00
Cezary Miącz
66b68fc02e
Refactor staging deployments ( #1986 )
2022-04-13 08:59:01 +02:00
Klaudia
dd85c4c6c8
removing hardcoded keys and adding CYPRESS_RECORD_KEY variable ( #1979 )
...
* removing hardcoded keys and adding CYPRESS_RECORD_KEY variable
* removing redundant scripts
* removed A
2022-04-12 13:06:03 +02:00
Karolina Rakoczy
f78b4472b7
Fix channels in shipping ( #1936 )
...
* fix channels in shipping
* merge
* fix run tests
* fix run critical
* fix base url
2022-04-11 10:20:26 +02:00
Karolina Rakoczy
6358ee0b89
Fix variant selection attribute ( #1935 )
...
* fix variant selection attribute
* Add TC to names
* variant selection attribute only for this test
* variant selection attribute only for this test
2022-04-07 10:38:20 +02:00
Wojciech Mista
168887ac3b
Prevent form submit if country is not selected ( #1966 )
...
* Prevent form submit if country is not selected
* Refactor error checking function
* Make address forms not invoke chrome's autofill
* Add a comment
* Update tests
2022-04-06 11:32:31 +02:00
M.Graczyk
05c2efde6c
Cypress configuration ( #1973 )
...
* Update projectID
* Add record argument to critical-tests workflow with key configuration
Co-authored-by: Michalina Graczyk <michalinagraczyk@Michalinas-MacBook-Pro.local>
2022-04-05 11:11:05 +02:00
Dominik Żegleń
74595a4266
Update translations ( #1965 )
...
* Update transifex config
* Update translations
2022-04-05 09:33:48 +02:00
GrzegorzKowalik
a946dba254
Fix deploying proper version to staging on new tag release ( #1967 )
...
* Fix deploying proper version to staging on new tag release
* Another approach
* Remove leftovers
2022-04-04 08:36:53 +02:00
Jonatan Witoszek
90807bb0cf
Update unassignProductAttributeMutation to use new array parameter types ( #1957 )
...
* Update unassignProductAttributeMutation to use new array parameter types
* Replace [Collection]! with [Collection!]! in queries to match API changes
* Fix failing test on ProductVariantPage
2022-03-31 14:45:48 +02:00
Michał Droń
5dcd9751a0
Add fallback paginationState for useSectionLocalPaginationState hook ( #1959 )
2022-03-30 15:59:37 +02:00
Michał Droń
26f8a776be
Fix variant create null thumbnail ( #1956 )
...
* Fix null thumbnail error
* Fix too few hooks rendered on non-existent products & variants
2022-03-30 15:50:47 +02:00
Michał Droń
879e1da69e
Fix shifted text in create variants dialog ( #1950 )
...
* Fix radio labels misalignment
* Remove DialogContent padding & move styles to external file
2022-03-30 15:48:12 +02:00
Wojciech Mista
7b45ef2758
Fetch only published producs in draft order ( #1921 )
2022-03-30 09:01:14 +02:00