Commit graph

58 commits

Author SHA1 Message Date
Ewa Czerniak
6e1230b10d
removing returnUrl to fix stock test (#2562) 2022-11-17 13:47:40 +01:00
Anna Szczęch
1c70ad3a4b
Fix adyen tests (#2545)
* update adyen plugin before tests

* add payments tag to PR template
2022-11-14 15:56:50 +01:00
Anna Szczęch
522e06d519
Fix test should create simple product without sku SALEOR_2806 (#2497)
* fix eslint errors

* add assertion to fillAutocompleteSelect
2022-10-28 10:39:22 +02:00
Karolina Rakoczy
b729a59fce
Fix tests for metadata (#2462) 2022-10-27 11:40:52 +02:00
Karolina Rakoczy
8a28230577
Activate plugins before tests (#2477) 2022-10-27 11:40:33 +02:00
Karolina Rakoczy
ca9c6ebea9
Fix test for order refund (#2398)
* Fix test for order refund

* remove commented code
2022-10-25 13:44:10 +02:00
Ewa Czerniak
88260122fb
fix for manageStockReservation tests (#2335)
* fix for manageStockReservation tests

* correction of cleaning test data in hooks
2022-10-10 05:57:19 +00:00
Anna Szczęch
e7a7b79f3e
values set only a for few inputType (#2355) 2022-10-07 11:07:34 +02:00
Anna Szczęch
f3aa4003fb
SALEOR-7976 add test for create order from checkout as app (#2278)
* add test for create checkout as app

* fixes after cr
2022-09-06 09:02:59 +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
Karolina Rakoczy
43be1d60e2
fix tests for stripe (#2260) 2022-08-26 13:03:29 +02:00
Ewa Czerniak
cea3ead44b
Saleor 7913 fix tests for vouchers (#2242)
* refactor createVoucher tests

* fix for tests in updateVoucher folder

* fix for updateVouchers, createVouchersWithLimits and siteSettings

* remove already declared variable
2022-08-18 15:14:29 +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
Karolina Rakoczy
eaf3271dc9
Fix tests for orders (#2213) 2022-08-04 12:59:42 +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
Karolina Rakoczy
6cd42b0ae8
Run cypress tests on correct branch (#2196) 2022-07-28 15:05:38 +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
Karolina Rakoczy
eb58e2c8ed
Update channel in warehouse in cypress tests (#2152)
* Assign warehouse to channel

* Assing warehouse to channel
2022-07-11 12:14:23 +03:00
Karolina Rakoczy
6c7f6fc016
add logs for failed mutations (#2078) 2022-06-06 12:47:39 +04: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
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
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
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
Karolina Rakoczy
6f69f8475c
Fix failing tests due to changes in the description field (#1903)
* fixed test for product

* fix passing description in variables

* fix tests for translations
2022-03-09 16:22:36 +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
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
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
Karolina Rakoczy
204dfac29f
Add tests for content attributes fo 3.1 (#1773) 2022-01-24 13:09:48 +01:00
Karolina Rakoczy
8d20394518
merge (#1726) 2022-01-14 11:08:25 +01:00
Karolina Rakoczy
55492aff9a
Saleor 5021 add tests for customers (#1688) (#1733)
* customers

* all tests for customers

* change data-test attribute name

* add empty lines
2022-01-13 11:21:21 +01:00
Karolina Rakoczy
ef983cc347
Add tests for updating & deleting collections and categories (#1662) (#1693)
* tests for updating & deleting collections and categories

* add empty spaces

* fix create category
2021-12-22 12:27:28 +01:00
Karolina Rakoczy
866bb91177
tests for gift cards (#1677) 2021-12-17 12:08:13 +01:00
Karolina Rakoczy
5a14884f9d
Fix failing cypress tests (#1671)
* fix tests

* fix prorders & images

* change base url

* remove comment
2021-12-17 12:07:51 +01:00
Karolina Rakoczy
a8c6379d4e
Add tests for variant selection (#1627)
* variant selection

* variant selection

* add empty space
2021-12-16 16:16:12 +01:00
Karolina Rakoczy
6f8feebf7c
Fix tests for purchase digital product for 3.1 (#1684)
* purchase digital product for 3.1

* purchase digital product for 3.1
2021-12-15 13:17:35 +01:00
Karolina Rakoczy
3fd50ee3a7
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>
2021-12-14 12:14:40 +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
Karolina Rakoczy
b7da933bf2
Add tests for preorders- threshold and stocks (#1567)
* tests for preorder, stoks an threshold

* fix tests for ordering products in channel threshold
2021-12-05 16:03:04 +01:00
Karolina Rakoczy
925e723c35
Add tests for creating preorders (#1563)
* add test for creating preorder variant

* all tests for creating & editing variants in preorder
2021-11-26 12:42:59 +02:00
Karolina Rakoczy
56b48b87ea
Test for creating order with product without sku (#1559) 2021-11-22 16:34:21 +04:00
Karolina Rakoczy
2eb7193ce9
tests for updating products sku (#1555) 2021-11-22 15:59:50 +04:00
Karolina Rakoczy
a311583647
Add tests for creating products without sku (#1550)
* create products without sku

* update stories

* update stories
2021-11-22 15:57:20 +04:00
Karolina Rakoczy
80809a078a
Fix cypress tests (#1541)
* fix tests

* fix base url

* fix varinats tests
2021-11-03 12:15:39 +01:00