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
Anna Szczęch
1baa9d35a7
Fix test should not be able to create staff member with not unique email. TC: SALEOR_3508 ( #3055 )
...
* add data-test-id for error text and update test SALEOR_3508
* undo xit
* move selector form test body to elements
2023-01-30 11:54:58 +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
Karol
00757a50d1
2865 standardize test ids for elements ( #2931 )
...
* done
* done
2023-01-03 09:18:56 +01:00
Anna Szczęch
46a9c527a7
E2E fixes after countryArea changes
2023-01-02 08:45:07 +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
Michał Droń
e90a2fd757
Remove submitting from exit dirty form modal ( #2820 )
...
* Remove submit from exit dirty form util
* Extract messages
* Change data-test-id attributes
* Add a unit test
* Change given when then to AAA
* Mock packages
* Change button click to user events
2022-12-16 15:54:41 +01:00
Dawid
bba95a8fb4
Extract "webhooks & events" to separate page ( #2818 )
...
* Extract "webhooks & events" to separate page
* Create separate /custom-app/ path for custom apps with webhooks
* Change all /webhooks/ paths to /custom-apps/
* Update messages
* Update generated graphql types
* Create findById util
* Refactor consts and resolvers for custom app urls
* Fix app graphql fragment
* Update Miscellaneous icon for Webhooks and Events
* Add tests for custom apps utils
* Fix dark-mode Miscellaneous icon for Webhooks and Events
* adjustments for autotests
Co-authored-by: karolm-saleor <karol.macheta@saleor.io>
2022-12-15 14:51:05 +01:00
Karol
9c605f8d1b
[cypress] add tests for gift cards bulk create and export ( #2801 )
...
* first draft
* fixed data-test-id
* done
* restore port for cypress
* change email
* pr improvments
* add csv check
* adjustments
* added check for xlsx
* change name
* change name
* remove cy log
* remove cy log
* add yaml cypress mailhog var
2022-12-13 08:04:54 +01:00
Karol
d2496679c0
[cypress] Add tests for delete several gift cards ( #2646 )
...
* done
* pr fixes part1
* wip
* pr adjustments
* remove cy log
2022-12-02 10:37:09 +01:00
Ewa Czerniak
7933ecf482
remove tests for preorders ( #2699 )
2022-11-25 13:22:14 +01:00
Ewa Czerniak
8d4cacc68c
fix for addUserToPermissionGroup and refactor of permissions tests ( #2555 )
2022-11-15 10:55:31 +01:00
Karolina Rakoczy
4dcc38cf48
Fix tests for products ( #2447 )
2022-10-27 11:27:34 +02:00
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
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
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
Karolina Rakoczy
f9392ce0ce
Fixes for creating attribute tests ( #2321 )
2022-09-22 09:14:53 +00:00
Karolina Rakoczy
c236d5346a
Fixed tests for creating and updating page ( #2273 )
2022-09-02 10:07:43 +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
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
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
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
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
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
Karolina Rakoczy
7bfb10369e
add data-test-id in channel picker ( #2036 )
2022-05-16 10:30:34 +02:00
Karolina Rakoczy
6d5b894dd9
fix shipping method ( #2014 )
...
* fix shipping method
* shippings fixed
* fix jest
2022-04-28 10:56:56 +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
Karolina Rakoczy
4d02eb60c0
Add reports to tests ( #1898 )
...
* add reporter, fix tests
* remove unused import
* get functions duration
* merge
* update snaps
2022-03-03 11:25:27 +01:00
Klaudia
8e8fcc775c
fixed issues with CLA, and added tests for update translation ( #1868 )
...
* fixed issues with CLA, and added tests for update translation
* npm i
2022-02-21 12:31:50 +01:00
Karolina Rakoczy
bc7eca4e49
Add tests for manage stock reservation ( #1832 )
...
* test for manage stock reservation
* merge
* add version
2022-02-11 16:26:01 +01:00
Karolina Rakoczy
7c47566995
add tests for shipping for 3.1 ( #1859 )
2022-02-11 16:08:45 +01:00
Karolina Rakoczy
74508ed93b
Add tests for updating vouchers ( #1845 )
2022-02-11 15:58:40 +01:00
Karolina Rakoczy
f86a3559b0
add tests for creating vouchers for 3.1 ( #1844 )
2022-02-11 15:39:10 +01:00
Karolina Rakoczy
f5a8db9f2e
Update data test ids for 3.1 ( #1814 )
...
* add update data test ids
* fix not changed test ids
* fix data-test-id for gift cards
* remove comment
* fix base url
2022-02-11 12:28:55 +01:00
Karolina Rakoczy
b7f6a932b9
merge ( #1821 )
2022-02-08 11:23:46 +01:00
Karolina Rakoczy
10fb086d6e
Add tests for product types for 3.1 ( #1806 )
...
* tests for product types for 3.1
* updated stories
* chage test cases names for product types
* add test for setting attribute as variant selection in product type
* add test for setting attribute as variant selection in product type
* split product types spec file
* uncomment purchase with product types test
* Update cypress/integration/configuration/productTypes/attributesInProduductTypes.js
Co-authored-by: Ewa Czerniak <ewa.czerniak@saleor.io>
Co-authored-by: Ewa Czerniak <ewa.czerniak@saleor.io>
2022-02-07 10:30:52 +01:00
Karolina Rakoczy
35e48a635f
Add tests for gift cards ( #1779 )
...
* added tests for gift cards
* update tests names for gift cards
* change naming, move functions from test file, fix testId
* fix move function
* Edit test case name
Co-authored-by: Ewa Czerniak <ewa.czerniak@saleor.io>
Co-authored-by: Ewa Czerniak <ewa.czerniak@saleor.io>
2022-02-01 11:58:02 +01:00
Karolina Rakoczy
9b1fce078a
Add test for creating product type with gift card kind ( #1776 )
...
* add test for creating product type with gift card type
* change product type tests names
* update tests names for producttypes
2022-01-31 10:25:59 +01:00
Karolina Rakoczy
5ede05affe
fix failing tests ( #1797 )
...
* fix failing tests
* fix tests for gift cards
* fix tests for gift cards
* upload video only when fail
* fix preorder time
* fixed translation page
* fix navigation, stripe and adyen
* fix graphQl npm
* update stories
2022-01-31 09:37:49 +01:00
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