Commit graph

244 commits

Author SHA1 Message Date
Cezary Miącz
c8e63b93fa
Deploy v3.4 to staging demo (#2073) 2022-06-01 15:55:17 +02:00
Cezary Miącz
7df8268101
Use common workflow for all staging releases (#2051) 2022-05-30 19:22:24 +02:00
Karolina Rakoczy
f123df7c74
Fix running tests on schedule (#2050)
* Fix running tests on schedule

* add notify slack if revert snashot job fail
2022-05-17 10:07:05 +02:00
Karolina Rakoczy
ad7e6458b5
Add critical input in cypress workflow (#2043) 2022-05-13 12:01:49 +02:00
Cezary Miącz
9cf555d740
Add demo staging deployment workflow (#2042) 2022-05-12 11:44:09 +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
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
f257a248cc
Switch snapshot to restore (#2017) 2022-04-26 14:27:47 +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
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
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
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
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
Karolina Rakoczy
74848922dc
Run critical tests in ever PR (#1945)
* run critical tests after test env deployment

* add cache

* add all branches

* change workflow name

* add run on pull request for testing

* change type

* add run on deployment

* run on copleted

* test critical

* add quote

* change baseUrl

* fix base url

* fix base url

* upload reports

* run in parallel

* save build folder

* remove build from gitignore

* remove build

* update nide version

* last try with parallel

* save build

* save build

* Run critical

* change cypress API url

* run critical in parallel

* check which workflow has lower duration time

* save all reports with container in name

* add reports on failure

* remove reporters

* fix jobs

* merge

* add group name

* run critical

* Refactor critical tests (#1906)

* refactored tag added to purchaseWithProductsTypes, navigation, stocksInCheckout

* homePageAnalitics - refactor

* refactor home page

* refactor creating variants

* refactor adding product without sku to order

* add script to run critical locally

* change tests cases names

* fix names, remove comments, add script to run refactored tests

* remove workflow for parallel

* remove key

* run critical in deploy workflow

* remove workflow

* remove workflow
2022-03-23 11:36:30 +02:00
Karolina Rakoczy
f85786f203
Run critical tests after test env deployment (#1902)
* run critical tests after test env deployment

* add cache

* add all branches

* change workflow name

* add run on pull request for testing

* change type

* add run on deployment

* run on copleted

* test critical

* add quote

* change baseUrl

* fix base url

* fix base url

* upload reports

* run in parallel

* save build folder

* remove build from gitignore

* remove build

* update nide version

* last try with parallel

* save build

* save build

* Run critical

* change cypress API url

* run critical in parallel

* check which workflow has lower duration time

* save all reports with container in name

* add reports on failure

* remove reporters

* fix jobs

* merge

* add group name

* run critical

* Refactor critical tests (#1906)

* refactored tag added to purchaseWithProductsTypes, navigation, stocksInCheckout

* homePageAnalitics - refactor

* refactor home page

* refactor creating variants

* refactor adding product without sku to order

* add script to run critical locally

* change tests cases names

* fix names, remove comments, add script to run refactored tests

* remove workflow for parallel

* remove key
2022-03-21 13:17:37 +01:00
Tomasz Magulski
b98d1e1d22
[CLOUD-1343] Prepare Sandbox release pull request in GtiHub Actions (#1919) 2022-03-11 11:51:19 +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
Karolina Rakoczy
03f6034531
Always run critical tests (#1579)
* always run critical

* always run critical

* add opened type

* remove if

* run on click

* Always run critical - test PR (#1683)

* add extra condition for disabling button (#1530) (#1574)

* Fix overlapped content by sidebar (#1508)

* Fix overlapped content by sidebar

* Update app layout widths

* Update test snapshots

* Update macaw ui

* Update macaw-ui version

* Bump path-parse from 1.0.6 to 1.0.7 (#1585)

Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump axios from 0.21.1 to 0.21.4 (#1586)

Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump tmpl from 1.0.4 to 1.0.5 (#1587)

Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump semver-regex from 3.1.2 to 3.1.3 (#1588)

Bumps [semver-regex](https://github.com/sindresorhus/semver-regex) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/sindresorhus/semver-regex/releases)
- [Commits](https://github.com/sindresorhus/semver-regex/commits)

---
updated-dependencies:
- dependency-name: semver-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump dns-packet from 1.3.1 to 1.3.4 (#1591)

Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 1.3.1 to 1.3.4.
- [Release notes](https://github.com/mafintosh/dns-packet/releases)
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mafintosh/dns-packet/compare/v1.3.1...v1.3.4)

---
updated-dependencies:
- dependency-name: dns-packet
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump postcss from 7.0.35 to 7.0.39 (#1590)

Bumps [postcss](https://github.com/postcss/postcss) from 7.0.35 to 7.0.39.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/7.0.39/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/7.0.35...7.0.39)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump url-parse from 1.5.1 to 1.5.3 (#1589)

Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.3)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Change ExpansionPanel as Accordion (#1279)

* Fix variant creation - remove channels + prices

* Update messages and snapshots

* Change ExpansionPanel as Accordion

* Update snapshots

Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>

* fix product list covering search bar (#1527) (#1577)

* Add current usage on vouchers (#1519) (#1576)

* wip design label

* add usesLeft calculation

* snapshots & messages

* fix type errors

* add error on input and disable save button when value is invalid

* resetting input value to initial after checkbox state change

* remove uses left on new vouchers & set initial value to 1

* Allow to create simple product with no channels (#1552) (#1575)

* Add sorting products by update at date (#1581)

* Add sorting products by update at date

* Update messages

* Change columns order in product list view

* Display updated date column by default

* Use order token for metadata updates (#1604)

* Change height of channels availability list (#1608)

* Add permissions to Catalog menu item (#1614)

* Allow returning & refunding partially paid orders (#1572) (#1612)

* allow returning & refunding partially paid orders

* change function name

* Add tests for creating products without sku (#1550)

* create products without sku

* update stories

* update stories

* Fix partially cut checkboxes in channel dialogs (#1560) (#1613)

* wip logic for indeterminate icon

* wip remove unused imports

* fix cutted off checkbox ripples

* refactor & cleanup

* Remove hover state from order lines (#1557) (#1615)

* tests for updating products sku (#1555)

* Test for creating order with product without sku (#1559)

* Fix assign countries dialogs (#1610)

* Add orders filter by payment status (#1619)

* Add orders filter by payment status

* Move messages to root intl file

* Refactor sale update and create forms (#1553) (#1622)

* Update form types to include fixed and percentage values

* Update createSalechannels to include new value types

* Merge two update mutations to one

* Make value text field rely on form state rather than internal state

* Update submit handler, error and loading

* Update create and update sale price validation

* Typo

* Fix saleUpdate mutation

* post-rebase fix

* Update types

* Add tests for creating preorders (#1563)

* add test for creating preorder variant

* all tests for creating & editing variants in preorder

* Add optional channel selection in price and weight rates view + voucher view (#1531)

* Add useChannels test

* Fix unnecessary re-render that caused overwrite of form list

* Change array diff check

* Channel selection in price and weight rates is optional

* Fix refunded value calculation in order view (#1601)

* Fix refunded value calculation in order view

* Fix orders price alignment to right

* Update test snapshots

* Fix saving initial variant attributes (#1624)

* Fix long name vouchers (#1626) (#1640)

* Fix long name vouchers

* update snapshots

* QA improvements - wrap page headers

* QA improvements - same changes for sales

* Use node v14 for running tests on CI (#1646)

* Use old default for unhandled rejections flag

* Update type import

* Use less strict flag, fix types

* Use node v14 for running tests

* Add preorder and click&collect filters to order list (#1568)

* Add preorder and click&collect filters to order list

* Update messages

* Add fixtures

* Update snapshots

* Update snapshots and extract messages

* Searching addresses in order drafts (#1618) (#1655)

* Searching addresses in order drafts (#1618)

* wip search addresses

* wip fix query regex verification

* wip move dialog title & add selected label

* wip move dialog title

* wip edit icon

* wip address selection logic

* wip change messages

* wip message when search is unsuccesful

* wip add billing address change support

* wip default address validation & cleanup

* wip run tests & extract messages

* wip bump macaw

* tests & cleanup

* fix scrollbars

* remove address card wrapper

* apply code review suggestions

* remove comments

* Bump macaw to 0.2.7

* Fix outside modal click state retention

* Add tests for preorders- threshold and stocks (#1567)

* tests for preorder, stoks an threshold

* fix tests for ordering products in channel threshold

* Add new tests for login (#1580)

* always run critical

* tests for login

* tests for login

* Fix auto scroll (#1644)

* Limit quantity per checkout (#1536)

* Add site settings and variant detail text fields related with limit per checkout

* Add message translations

* Fix review issues pt.1

* Update snapshots

* Apply fixes after review pt.2

* Fix initial discount calculation on draft order line (#1651)

* Fix typos on customer details page (#1659)

* Fix typos on customer details page

* update tests

* Update tests

* test PR

* Separate sync and async app webhooks (#1635)

* Separate sync and async app webhooks

* Remove create webhook page and cleanups

* Update util

* Auto unselect events when anyEvent choice is selected

* Update test snapshots

* Fix attributeValueDelete mutation error - required first/last value (#1665) (#1679)

* Add items response in updateMetadata mutation (#1667) (#1680)

* add items to updateMetadata mutation

* same changes for private metadata

* build types

* Add tests for swatch attributes (#1606)

* always run critical

* tests for swatch attributes

* Update cypress/integration/configuration/attributes/attributes.js

Co-authored-by: Ewa Czerniak <ewa.czerniak@saleor.io>

Co-authored-by: Ewa Czerniak <ewa.czerniak@saleor.io>

* Fix error when clicked on filter if list is loading (#1661)

* Fix error when clicked on filter if list is loading

* CR Fixes

* Update tests

* Fix tests for purchase digital product for 3.1 (#1684)

* purchase digital product for 3.1

* purchase digital product for 3.1

* Disable form change check in variant creation (#1681)

* Fix modal footer shadow issue (#1686)

* Add tests for variant selection (#1627)

* variant selection

* variant selection

* add empty space

* Add missing input value, cast values to number (#1692)

* Fix failing cypress tests (#1671)

* fix tests

* fix prorders & images

* change base url

* remove comment

* tests for gift cards (#1677)

* Use Auth SDK (#1474)

* Use Auth SDK

* Update auth provider hook

* Update sdk module mapping

* Update setting password

* Fix no user details on first login

* Update auth tests

* Cleanups

* Update SDK

Update SDK

Update SDK

Update test recordings

Update SDK

* Implement SDK External Auth

Update new password view

Hnalde external logout

Update SDK

Fix logout external redirect

* Fix login page style

* Update SDK

* Auth Provider cleanups

Update and refactor auth

Auth types cleanups and refactor

* Update channel context provider

* Fix login error handling

* Logout immidiatelly non-staff user

* Update test snapshots

* Trigger CI

* Update to SDK v0.4, remove duplicated UserContext hook

* Handle server errors during login

* Fix wrong login page form submition handling

* Update login error messages

Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>

* fix login by API (#1700)

* Bump @saleor/sdk to 0.4.1 (#1708)

* Add tests for updating & deleting collections and categories (#1662) (#1693)

* tests for updating & deleting collections and categories

* add empty spaces

* fix create category

* Fix assign attributes dialog loader (#1705)

* Add tests for delete/update warehouse (#1676) (#1689)

* remove warehouse from shipping

* tests for warehouses

* tests for pages (#1695)

* Disable save in product create & edit when product name is empty (#1551) (#1710)

* disable save in product edit & create when name is empty

* code review refactor

* Fix disabled button

Co-authored-by: Magdalena Markusik <magdalena@markusik.com>

* fix incorrect logic

* fix incorrect logic

* fix disable form on product variant

Co-authored-by: Magdalena Markusik <magdalena@markusik.com>

Co-authored-by: Magdalena Markusik <magdalena@markusik.com>

* Display error if no invoicing plugin is active (#1709)

* Add error message if no invoice plugin installed

* Fix types

* Update messages

* Use variant prices in add product modal (#1698)

* Replace channel price with variant price; add new price label

* Update fixtures

* Remove unused code

* Remove unused style

* Lint fix

* Remove type conversion

* lint fix

* update queries and types

* CR Fixes

* Money align right

* Update tests for creating variants (#1718)

* merge

* add data-test-id to sku input

* remove data-test-id from sku input

* update stories

* remove duplicated attribute

* Fix EditorJS read-mode toggle race condition (#1711)

* Fix EditorJS read-mode toggle race condition

Fixes rare edge case when toggling read mode is peerformed at the same
time.

* Make PromiseQueue function

* Rename ExpansionPanel components to Accordion (#1727) (#1740)

* Logout redirects user to home page (#1721)

* Redirect to home page on logout

* Change internal redirect to use router

* Update authProvider test

* Add error handling to non-existent apps (#1723)

Co-authored-by: Michał Droń <dron.official@yahoo.com>
Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: whiteUnicorn <daehyun.baek1@gmail.com>
Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
Co-authored-by: Magdalena Markusik <magdalena@markusik.com>
Co-authored-by: Paweł Kucharski <pawel.kucharski@mirumee.com>
Co-authored-by: Ewa Czerniak <ewa.czerniak@saleor.io>
Co-authored-by: Dominik Żegleń <flesz3@o2.pl>

Co-authored-by: Michał Droń <dron.official@yahoo.com>
Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: whiteUnicorn <daehyun.baek1@gmail.com>
Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
Co-authored-by: Magdalena Markusik <magdalena@markusik.com>
Co-authored-by: Paweł Kucharski <pawel.kucharski@mirumee.com>
Co-authored-by: Ewa Czerniak <ewa.czerniak@saleor.io>
Co-authored-by: Dominik Żegleń <flesz3@o2.pl>
2022-01-21 14:56:26 +01:00
Karolina Rakoczy
0e6ac66fb9
Record test in cypress dashboard for 3.1 (#1748)
* merge changes

* update npm graphql
2022-01-13 13:59:39 +01:00
Karolina Rakoczy
e2c05e7dd6
Add new tests for login (#1580)
* always run critical

* tests for login

* tests for login
2021-12-05 16:03:29 +01:00
Jakub Majorek
69b7f64403
Use node v14 for running tests on CI (#1646)
* Use old default for unhandled rejections flag

* Update type import

* Use less strict flag, fix types

* Use node v14 for running tests
2021-12-02 15:56:54 +01:00
GrzegorzKowalik
7663aa4bd5
Fix codeql workflow missing python code (#1498)
* Fix codeql workflow missing python code

* Try something else
2021-10-14 14:21:09 +03:00
Grzegorz
de3384f20b Fix typo in workflows 2021-10-12 11:48:04 +02:00
GrzegorzKowalik
80641f76e2
Update AWS credentials (#1492) 2021-10-12 11:37:56 +02:00
GrzegorzKowalik
031d012d0d
Add slack notifications after deployments (#1485)
* Add slack notifications after deployments

* Fix copy paste mistakes

* Add deployment workflows to CODEOWNERS
2021-10-11 10:51:53 +02:00
GrzegorzKowalik
2096671e0c
Invalidate second production cloudfront (#1483) 2021-10-11 10:39:21 +02:00
Jakub Majorek
51be4c79c0
Update organization name (#1484) 2021-10-11 09:53:22 +03:00
Patryk Zawadzki
37b99a7b5a
Update main branch name from master (#1475) 2021-10-08 11:31:01 +02:00
Jakub Majorek
3083f65744
Remove depedabot config file (#1469) 2021-10-06 11:15:32 +02:00
Cezary Miącz
4193894191
Fix demo deployment workflow (#1461) 2021-10-01 15:59:22 +02:00
Cezary Miącz
601add997f
Add demo deployment workflow (#1460) 2021-10-01 15:48:09 +02:00
Cezary Miącz
d03bf9c791
Change cloud deployment trigger to repository_dispatch (#1455)
* Change cloud deployment trigger to repository_dispatch

* Refactor staging deployments
2021-09-30 16:03:04 +02:00
Karolina Rakoczy
2c64a966cc
Saleor 4437 refactor tests (#1389)
* reference type cypress working

* refactor

* remove screenshots

* add reference

* add slash marker

* run tests based on shop version

* fix run tests based on shop version

* fix run tests based on shop version

* change base url to localhost

* fix plugins

* fix plugins

* fix plugins

* fix plugins

* fix plugins

* fix plugins

* fix yml

* fix yml

* chage file names

* fix files names

* fix broken imports add checking for errors in grpah responses

* fix broken imports add checking for errors in grpah responses

* update jest

* fix snapshot
2021-09-27 12:04:21 +02:00
Dominik Żegleń
9b3d90e9c7
Target only security updates (#1400) 2021-09-14 15:32:41 +02:00
Dominik Żegleń
1fbdac8d38
Add dependabot config file (#1386) 2021-09-14 13:12:36 +02:00
Jakub Majorek
dbaed5478a
App adjustments (#1385)
* Use shop domain as backendHost, guard domain changes on cloud instances

* Update messages and snapshots

* Remove unused prop
2021-09-13 16:14:04 +02:00
GrzegorzKowalik
e134dff532
Fix typo in deploy production workflow (#1369) 2021-09-08 10:11:05 +02:00
GrzegorzKowalik
93d5a5fdd3
Fix variables passing between staging workflow steps (#1368) 2021-09-08 09:31:52 +02:00
Grzegorz Kowalik
e7720da33b Add manual trigger for staging deployment workflow 2021-09-07 12:55:40 +02:00
Grzegorz Kowalik
f97d13ceef Add workflow for production deployment 2021-09-06 11:51:40 +02:00
Karolina Rakoczy
1f01a09e87
add tags (#1251)
* add tags

* edit e2e.yaml

* fix test for customer registration

* add empty lines
2021-07-23 12:46:44 +03:00
Jakub Majorek
e831791493
Create separate e2e workflow (#1243) 2021-07-21 15:09:08 +02:00
Karolina Rakoczy
12e9cf0472
fix failing tests (#1200)
* fix failing tests

* skip test for variant

* skip failing test

* uncomment tests for fixed bugs

* fix test.yaml
2021-07-05 15:05:13 +02:00
Karolina Rakoczy
7df850bcb1
Saleor 3391 tests for staff members (#1122)
* invite staff

* staff members

* all tests for staff members

* remove unused import

* update snap

* remove /dashboard/

* uptade test.yml
2021-06-07 13:35:53 +02:00
Karolina Rakoczy
9f71106f32
Saleor 3038 tests for payments by adyen (#1086)
* add tests for puchase by type

* add expect for isShippingRequired

* tests for adyen

* tests for adyen

* tests for adyen

* tests for adyen

* adyen

* adyen

* adyen

* adyen

* adyen

* warehouses in chcekout

* rm warehouses in chcekout

* adyen payments

* adyen
2021-05-16 13:38:53 +02:00
Krzysztof Wolski
c6cdc393e2
Update bug_report.md (#1054)
Added Saleor version to the system section.
2021-04-09 13:45:31 +02:00
Jakub Majorek
078628f99f
Create GH workflow for UI review assignment (#1046)
* test

* Simplify workflow

* Unassign when checkbox is unchecked
2021-04-02 15:23:43 +02:00
Karolina
78ba9f4fe9
Saleor 2699 tests for home page (#1019)
* tests for home page

* tests for home page

* tests for home page

* change master to qa API_URL

* add user to env

* remove empty file
2021-03-23 11:14:18 +01:00
Karolina Rakoczy
535c8d8618 Skip cypress test if PR from private fork 2021-02-18 16:33:24 +01:00
Cezary Miącz
59dcd753fb Fix master-staging deployment API_URI 2021-02-16 15:54:55 +01:00
Karolina
7bb3efa65d
Saleor 1736 configuration channels (#966)
* Cypress tests for channels

Co-authored-by: Marcin Gębala <maarcin.gebala@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2021-02-11 14:58:05 +01:00
Marcin Gębala
b36160edb1
Update PR template (#975) 2021-02-10 09:50:12 +01:00
Dawid Tarasiuk
1645e2fdab Implement Oauth2 flow with OpenID 2021-01-28 14:11:00 +01:00
Cezary Miącz
b894487c63
Update staging API_URI in PR template and test env workflow (#962) 2021-01-25 14:51:13 +01:00
Jakub Majorek
3eb940839d
Update sentry url prefix (#960) 2021-01-22 15:39:58 +01:00
Jakub Majorek
2d3a859db6
Fix typo in deploy template (#959) 2021-01-22 15:15:22 +01:00
Jakub Majorek
383055a2de
SALEOR-2064 Add generic error tracker with Sentry adapter (#956)
* Add generic error tracker with Sentry extension

* Add Sentry webpack plugin

* Update variable names and README

* Update deploy-staging template

* Update changelog
2021-01-22 15:05:26 +01:00
Mikail KOCAK
3985b30cce
Added missing trailing slash to staging endpoint 2021-01-08 11:09:58 +01:00
Grzegorz Kowalik
f6f4ec55ae Deploy to staging after merge to master 2020-12-30 11:06:26 +01:00
Dawid Tarasiuk
1e140853ec
File attributes (#884)
* Update changelog with file attributes

* Add file type attribute

* Update attribute properties form

* Update translation messages with file upload

* Create generic attributes component (#832)

* Create generic Attributes component

* Add story for Attributes component

* Remove deprecated attribute value type field from queries

* Update test snapshots of attributes component

* Add file upload field to atributes (#888)

* Add story for Attributes component

* Update test snapshots of attributes component

* Create file upload field in attributes

* Update upload file input data-test

* Update storybook test snapshots of attributes

* Add dedicated input props to file field

* Run Cypress using custom API

* Add missing error handling in file upload field

Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>

* Add file attribute upload to page attributes (#894)

* Support upload file attribute for pages

* Update after review

* Add file attribute upload to variant attributes (#892)

* Support upload file attribute for variants

* Update after review

* Refactor attribute values errors merging

* Update after review

* Add file attribute upload to product attributes (#826)

* Support upload file attribute for products

* Update after review

* Refactor attribute values errors merging

* Refactor product attribute value delete handling

* Fix deleting file in file upload field

* Fix delete attribute values errors handling

* Add link to file upload field (#898)

* Update file attributes updates (#899)

* Update file attributes updates

* Refactor file uploads handling

* Move attributes utils to attributes directory

* Fix product channel listing updates

* Clear file field value if file is not passed as prop

* Delete attribute values before update (#908)

* Delete file attributes after file update

* Triggr CI

* Show skeleton in file upload field during loading

Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2020-12-16 11:53:28 +01:00
Dominik Żegleń
e55805a79d
Add zip code exclusion (#877)
* Clean up stories

* Add missing props

* Add zip codes section (#861)

* Add zip code listing

* Add list wrapping

* Update snapshots

* Set up API data

* Fix lgtm warning

* Update snapshots

* Run Actions on all PR

* Checks on PR

* Test envs on PR

* Cleanup action on PR

* Update messages

Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>

* Add zip code range dialog

* Fix path management

* Use query params to handle modal actions

* Allow zip codes to be assigned to shipping method

* Make params optional

* Fix types

* Add zip code deletion (#871)

* Add zip code range dialog

* Fix path management

* Use query params to handle modal actions

* Allow zip codes to be assigned to shipping method

* Make params optional

* Fix types

* Clean up urls

* Add zip code range delete action

* Update snapshots and messages

* Update testing and changelog

* Update schema

* Simplify code

* Refresh zip code list after assigning them

* Update view after zip code deletion

* Update types and snapshots

* Update snapshots

* Fix error message, checkbox default value (#880)

* Fix error message, checkbox default value

* Update snapshots

* Use price instead of weight variant

* Update schema and types

* Hide exclude/include zip codes section

* Update stories

Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Tomasz Szymański <lime129@gmail.com>
2020-12-01 16:42:25 +01:00
Mikail KOCAK
2e48e79f69 Dropped set-env in favor of outputs 2020-11-16 09:34:13 +01:00
Cezary Miącz
59a8337c4f Add storybook deployment 2020-09-16 17:01:06 +02:00
Mikail KOCAK
1c77a2560f Updated test dashboard deployment to allow dashes
API_URI can now contain dashes.
2020-08-28 12:03:19 +02:00
M.Graczyk
ef967eb5e4
Refactor of login tests (#630)
* WIP refactor of login tests

* Xit not woriking tests, fixed rest of them

* Properly pass env vars to cypress

* Remove unused code

Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2020-08-20 15:36:00 +02:00
Patryk Zawadzki
046a996122
Enable CodeQL Analysis (#659) 2020-08-20 14:39:20 +02:00
Dominik Żegleń
8f64d8b8fb
Do not use devserver to run cypress tests (#650)
* Do not use devserver to  run cypress tests

* Update changelog
2020-08-18 10:22:39 +02:00
Cezary Miącz
7d450d133a Use url-safe test env branch slug 2020-08-10 12:22:14 +02:00
M.Graczyk
ce59757cf6
Update PULL_REQUEST_TEMPLATE.md
Added requirement about data-test
2020-07-28 11:13:12 +02:00
Krzysztof Wolski
c778c200ed
Move from test cafe to Cypress (#584)
* Typo

* Add cypress config

* Login and logout tests

* Typo

* Add basic test for warehouse

* Wrong password test

* Fixes and docs

* Remove testcafe

* Add gh action

* Update changelog

* Fix typo

* Update msgs

* Work on GH action

* Record artifacts

* Fix warehouse test
2020-07-20 11:42:44 +02:00
Krzysztof Wolski
8be4b41efc
Request for logs in bug report
This is crucial info that is often overlooked.
2020-07-16 16:24:58 +02:00
Miłosz Tyborowski
6c481d2199
Remove edited from actions that deploy testenv (#600) 2020-07-10 13:22:45 +02:00
Cezary Miącz
8e356d1b22 Fix cleanup & add deafult api uri 2020-07-09 15:07:24 +02:00
Milosz Tyborowski
4d22c7d0af Use hardcoded action versions 2020-07-09 12:46:02 +02:00
Cezary Miącz
bf96ed060f Add codeowners and conditions for deployment workflows 2020-07-08 21:30:09 +02:00
Cezary Miącz
89065cce41 Add deployment status 2020-07-08 15:57:15 +02:00
Milosz Tyborowski
a2f7f42fdc Comment testenv deployment workflow 2020-07-08 14:38:23 +02:00
Milosz Tyborowski
efb4d2d158 Unify PR template between storefront and dashboard 2020-07-08 14:36:35 +02:00
Milosz Tyborowski
447dc5da14 Cleanup S3 after decomissioning test environment 2020-07-07 15:03:18 +02:00
Cezary Miącz
9c47b04341 Setup test environment deployment workflow 2020-07-06 20:50:48 +02:00
Krzysztof Wolski
82b8a84597
Fix lint check (#586)
* Fix lint check

* Fix style
2020-07-06 11:59:27 +02:00
Krzysztof Wolski
0205ac1609 Update actions 2020-06-08 15:58:15 +02:00
Krzysztof Wolski
9481334afa Add action for translation messages 2020-06-08 14:27:56 +02:00
Krzysztof Wolski
94c1bee44c Add gh actions 2020-06-08 13:50:47 +02:00
Krzysztof Wolski
6ae224e801
Mention feature branch name in PR template
Often we are missing this key info.
2020-04-21 17:28:02 +02:00
dominik-zeglen
409e471770 Remove po files 2020-02-20 15:28:11 +01:00
Marcin Gębala
ff6c0f89bc Add backlog label to stalebot exempt labels 2020-01-09 13:49:56 +01:00
Marcin Gębala
a403042ad6 Add Stalebot 2019-11-21 15:55:31 +01:00
dominik-zeglen
ad9baab8b9 Update PR template 2019-08-29 16:18:02 +02:00
dominik-zeglen
4a8a65d910 Add github config 2019-08-12 11:54:12 +02:00