Commit graph

3252 commits

Author SHA1 Message Date
Karolina Rakoczy
39ce183583
Update tests check if all data created in before are correct (#2917)
* add commend to check if data are correct

* Add command for checking created data
2023-01-16 10:43:13 +01:00
Michał Droń
92539ae968
Bump dev version to 3.11.0-dev (#2980) 2023-01-13 11:02:36 +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
Michał Droń
2714ac82b6
Fix duplicate attributes type error (#2977)
* Fix intl.ts

* Disable failing tests
2023-01-12 14:26:28 +01:00
Michał Droń
88d0cecfed
Replace order line total calculation with API value (#2969)
* Query total price in order line data

* Add order line total to discount context consumer

* Replace frontend calculations with api value for order line totals

* Split logic for order discount and order line discount contexts

* Pass extra props to money component

* Add unit test

* Do not pass all props to Money's span
2023-01-12 13:57:39 +01:00
Cezary Miącz
f02a5a32e1
Retry failed CF cache invalidations (#2957) 2023-01-12 11:42:13 +01:00
Timur Carpeev
b17f6e735b
Align label to dropdown (#2822) 2023-01-12 09:24:06 +01:00
Dawid
eb01b84412
Improve apps contextual actions (#2943) 2023-01-12 09:19:13 +01:00
Michał Droń
ddf4adda9d
Mark taxes as preview (#2971)
* Create dedicated TaxPageTitle component

* Change page headers in taxes views

* Apply CR fixes
2023-01-11 17:10:04 +01:00
poulch
e619866338
fix: datagrid does not save prices without decimal prices (#2955) 2023-01-11 10:49:21 +01:00
Dawid
5bc8e39eb7
Hide toolbar in app page (#2938)
* Hide toolbar in app page

* Remove back button from app frame page
2023-01-10 15:24:24 +01:00
Dawid
1621feb691
Apps marketplace (#2850)
* Add new Apps List

* Update apps routing

* Add marketplace apps list

* Update apps urls

* Update app list style

* Add installed apps section

* Update apps sections and connect actions with mutations

* Add latest missing buttons and labels to installed apps list

* Update installed apps list

* Update installed apps list

* Add tests and marketplace error handling

* Update environment configuration

* Update GitHub actions env configuration

* Refactor AppListCard component

* Test InstallWithManifestFormButton

* Test AppListCard

* Extract InstalledAppListRow with tests

* Update GitHub actions env configuration

* Tests of apps dialogs

* Update GitHub actions env configuration

* Update messages

* Update GitHub actions env configuration

* Quote untrusted GitHub actions variables

* Change useFetch to useMarketplaceApps and add tests

* Fix strict null check errors

* Refactor apps details components

* Add strict null checks for /new-apps/ components
2023-01-10 11:04:30 +01:00
Anna Szczęch
ee19e42e7e
Restore saving variant in fillUpVariantDetails (#2954) 2023-01-09 14:40:19 +01:00
Anna Szczęch
2b4a819fae
Fix for cleaning customers function in e2e (#2952) 2023-01-09 12:28:12 +01:00
Anna Szczęch
d695bb9aa6
Fix should make a refund 2107 (#2950)
* get/update taxes for tests

* update creating shipping and product of tax class
2023-01-09 10:55:12 +01:00
Karol
91478a8b6d
done (#2948) 2023-01-09 10:26:09 +01:00
İlkay Kısayol
3f94803c79
Update ProductVariantName components "name" form field into "variantName" (#2903) 2023-01-05 14:33:17 +01:00
Krzysztof Żuraw
fe709db82b
Clean up storybook (#2941) 2023-01-05 13:34:34 +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
Krzysztof Żuraw
c60f6f870c
Remove isDevelopment flag and cleanup a code in Form component (#2912) 2023-01-03 11:04:42 +01:00
Karol
1c0076a0db
Bump macaw-ui to 0.7.2 (#2936)
* macaw 0.7.2

* add lock
2023-01-03 10:04:16 +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
poulch
bf2a2035d3
Fix strict null check in Apps (#2911)
* Fix apps strict null checks

* Set strictNullChecks to false

* Improve strict null checks

* Replace typ to Extension
2022-12-29 13:51:54 +01:00
Karolina Rakoczy
39ea58f02b
Fix comment on release PR if tests errored (#2915) 2022-12-27 12:22:16 +01:00
Patryk Andrzejewski
4e0528146b
Fix displaying ountry are as readable name (#2910)
* Fix displaying country area

* Fix displaying country area

* Remove local code
2022-12-23 13:17:41 +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
Michał Droń
402069f464
Fix dialog maxHeight on short viewports (#2881) 2022-12-21 13:17:33 +01:00
Patryk Andrzejewski
6db5dfa94a
Implement dropdown for province/country area selection based on allowedFields from the API (#2833)
* Dropdown for province / country area

* Remove unused ref

* Implementation for settings and warehouses

* Disable autocomplete
2022-12-21 09:54:45 +01:00
Endo
3669f45061
replace filter method from fuzzaldrin with native filter method of javascript to fix country select issue #2751 (#2772)
* replace filter method from fuzzaldrin with native filter method of javascript to fix country select issue #2751

* added fuse.js and replace filter of fuzzaldrin with search of fuse.js to fix country select issue #2751

* use original array if query is empty in SingleAutocompleteSelectField, not use fusejs result
2022-12-20 14:18:50 +01:00
Patryk Andrzejewski
2327d92b41
Fix search in reference attributes (#2878)
* Fix attribute reference search

* Fix attribute reference search
2022-12-20 11:55:28 +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
poulch
ef35e5149b
Fix strict null check in SiteSettings module (#2851)
* Fix strict null check in SiteSettings

* Improve urls
2022-12-14 18:11:24 +01:00
poulch
769268a9a7
Restore expand-icon test id (#2856)
* Remove expand icon in ChannelList

* Update macaw ui to 0.7.1
2022-12-14 13:48:43 +01:00
Patryk Andrzejewski
550ef12ab2
Fix assign attribute for pages (#2843)
* Fix assign attribute for pages

* Fix assign attribute for pages

* Fix assign attribute for pages

* Fix assign reference for edit page
2022-12-14 12:15:39 +01:00
Tomasz Magulski
e77c20722e
[CLOUD-2287] Don't automerge CORE deployments to SANDBOXES (#2846) 2022-12-14 10:42:23 +01:00
Slava
6c92c540b9
Update app.json (#2307)
Add a "stack" option, because the default heroku-22 throws an error.
2022-12-13 13:09:37 +01:00
Andrey Yolkin
6f55804978
Fixed: fixed typo 'Расродажи' in rebased ru.json (#1999)
thanks!
2022-12-13 13:06:40 +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
Krzysztof Żuraw
d19427784a
Do not install husky on CI (#2839) 2022-12-12 14:08:06 +01:00
Krzysztof Żuraw
03a6cc72ad
Remove double husky pkg (#2838) 2022-12-12 12:52:50 +01:00
Krzysztof Żuraw
3463d1d179
Run tests on push to origin (#2791) 2022-12-12 11:22:39 +01:00
Krzysztof Żuraw
6b685b109c
Remove double pkgs in pkg.json (#2826) 2022-12-12 10:45:14 +01:00
Dawid
6725f6fde2
Fix products filtering (#2746)
* Fix products filtering

* Refactor products filtering functions

* Update filter test snapshots

* Add tests for attribute filtering
2022-12-09 15:18:59 +01:00
Patryk Andrzejewski
b612e2be69
Prevent crash apps about page caused by react-markdown library (#2803)
* Install polyfill for process

* Install polyfill for rollup
2022-12-09 15:12:16 +01:00
Patryk Andrzejewski
15105f77ce
Demo mode improvements (#2825)
* Enable DEMO_MODE env

* Set GH star button
2022-12-08 16:34:46 +01:00
Patryk Andrzejewski
e803c1980e
Fix overlapping cells in product list view (#2657)
* Fix breaking words on table cells

* Update snapshots
2022-12-08 13:08:35 +01:00