Commit graph

214 commits

Author SHA1 Message Date
Ewa Czerniak
65388acb0f
fix for flaky change user email tests and refactor of plugins tests (#2302)
* fix for flaky chane user email tests and refactor of plugins tests

* adding an option to run plugin tests in pull_request_temple
2022-09-15 07:34:31 +00: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
22e78bbd23
Fix tests for attributes in products types (#2269) 2022-09-01 15:17:13 +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
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
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
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
Karolina Rakoczy
5ce4a87515
fix test for publishing products (#2215) 2022-08-08 12:40:42 +02:00
Karolina Rakoczy
eaf3271dc9
Fix tests for orders (#2213) 2022-08-04 12:59:42 +02:00
Anna Szczęch
c076d52f68
Disable Saleor_0702 for 3.5 or higher (#2182)
* update tests and snapshots

* remove if for 3.5 version

* remove deprecated test

* fix tests after rebase with main
2022-07-29 10:15:33 +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
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
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
9e43dd4ab1
Fix get correct domain from version (#2118) 2022-06-27 18:49:35 +02:00
Karolina Rakoczy
fd7813692a
Change way of tagging tests, add stable tag (#2102)
* change tags in tests

* change tags in tests

* add finde-names

* correct critical tag

* fix navigation

* remove comments

* fix config

* fix baseUrl port
2022-06-27 11:30:51 +02:00
Karolina Rakoczy
056b3501eb
Update Cypress Version (#2080)
* Update Cypress Version

* sparete specs with coma

* change workflows to use latest cypress verion
2022-06-08 12:33:11 +04: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
6c7f6fc016
add logs for failed mutations (#2078) 2022-06-06 12:47:39 +04:00
Karolina Rakoczy
f843c9a732
Fix test for home page analytics (#2038) 2022-05-16 10:54:17 +02:00
Karolina Rakoczy
97eeccc917
Fix flaky test for creating variant (#2032)
* fix flaky test for creating variant

* fix flaky
2022-05-13 14:08:29 +02:00
Karolina Rakoczy
6d5b894dd9
fix shipping method (#2014)
* fix shipping method

* shippings fixed

* fix jest
2022-04-28 10:56:56 +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
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
207ce6d031
Fix Critical (#1991)
* change api url

* fix critical
2022-04-15 13:17:52 +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
Karolina Rakoczy
8bc2931679
Fix flaky tests for gift cards (#1938)
* fix gift cards

* add new command to search elements on table

* remove unused imports
2022-03-28 13:52:06 +04: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
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
Karolina Rakoczy
204dfac29f
Add tests for content attributes fo 3.1 (#1773) 2022-01-24 13:09:48 +01:00
Karolina Rakoczy
41e80d71c0
Add tests for attributes for 3.1 (#1725)
* merge changes

* fix bracket
2022-01-17 11:03:52 +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
a01a2b5a30
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
2022-01-04 16:13:15 +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
4b05f67b2c
fix login by API (#1700) 2021-12-17 14:27:13 +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
a39f729a1f
update tests for vouchers (#1546) 2021-11-03 12:29:59 +01:00
Karolina Rakoczy
80809a078a
Fix cypress tests (#1541)
* fix tests

* fix base url

* fix varinats tests
2021-11-03 12:15:39 +01:00
Karolina Rakoczy
b0369bf5ca
tests for sales (#1494)
* tests for sales

* fix create sale with assigned products tests and add test for deleting voucher

* remove unused imports

* Update cypress/support/api/utils/discounts/salesUtils.js

Co-authored-by: Dominik Żegleń <flesz3@o2.pl>

* fix async, remove unused imports

Co-authored-by: Dominik Żegleń <flesz3@o2.pl>
2021-10-28 16:43:26 +02:00
Karolina Rakoczy
d618b8e775
Add tests for stripe (#1529)
* test for stripe

* first test for stripe

* tests for stripe

* remove comment

* fix import

* fix import

* remove todo
2021-10-28 14:14:07 +02:00
Karolina Rakoczy
cc7626be42
Duplicate current test for sales to work on variants instead on products (#1491)
* Duplicate current test for sales to work on variants instead on products

* remove unecessery imports

* Update cypress/integration/discounts/salesForVariants.js

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

Co-authored-by: Ewa Czerniak <ewa.czerniak@saleor.io>
2021-10-21 12:47:18 +02:00
Karolina Rakoczy
39c1e8e208
tests for click & collect (#1488) 2021-10-21 12:45:38 +02:00
Karolina Rakoczy
5bee739872
Saleor 4581 tests for products images (#1450)
* tests for images on product list

* image on product details page should be displayed

* test for upload image

* fix collection utils import

* fix creating test data

* update jest
2021-10-14 13:47:41 +03:00
Karolina Rakoczy
f7b452cb12
tests for warehouses in checkout (#1379)
* tests for warehouses in checkout

* fix puchase product with type
2021-10-05 13:46:58 +02:00
Karolina Rakoczy
2407ae6f76
gift cards in checkout (#1376)
* gift cards in checkout

* complete checkout after trying to add gift card

* fix gift cards tests

* fix gift cards

* update snapshots

* fix tests

* fix gift cards in checkout

* delete created channels
2021-09-29 15:24:47 +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
Karolina Rakoczy
e7a06281f1
fix failing tests (#1302)
* fix failing tests

* no retries

* add waiting for confirmation msg

* remove unused import

* fix test for staff

* fix test for staff

* fix tests for orders

* fix tests for channels

* fix autocomplete

* fix filters

* fix filters

* fix create shipping method
2021-09-10 10:59:46 +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
Karolina Rakoczy
f847c76d67
Saleor 3826 tests for customers (#1226)
* added test for customers

* add test for customer
2021-07-15 13:25:39 +03:00
Karolina Rakoczy
2eae52d3df
check skeletons visibility (#1215) 2021-07-12 16:35:26 +03: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
Karolina Rakoczy
4013105844
Saleor 2697 tests for updating products (#1060)
* updating products

* updating products

* test for updating
2021-04-21 10:02:48 +02:00
Karolina
2173e241b5
Saleor 2692 tests for filtering products (#1055)
* test for filtering products

* tests for filters

* change filter input selector

* change filter input selector

* change filter input selector

* add data-test-id
2021-04-12 17:22:12 +02:00
Karolina
588175df30
Saleor 1737 tests for shipping methods (#1013)
* remove classes in shipping & products utils

* remove classes

* add tests plans

* add const

* tests for shipping methods

* test for shipping

* test for shipping

* tests for shipping

* install eslint-plugin-chai-friendly

* update stories

* add missing imports
2021-04-02 13:01:38 +02:00
Karolina
0da6012bc4
Saleor 1746 tests for vouchers (#1014)
* tests for vouchers

* test for vouchers

* test for vouchers

* add getDefaultAddress
2021-03-23 11:15:39 +01: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
0157914edb
Saleor 1740 tests for draft orders (#1002)
* first test for draft orders

* tests for channels in draft orders

* tests for channels in draft orders

* tests for channels in draft orders

* test for moving draft order to orders

* test for orders

* test for orders

* tests for draft orders

* tests for draft orders

* tests for draft orders

* tests for draft orders

* test for moving draft order
2021-03-15 14:16:02 +01:00
Karolina
746ce8b95f
Saleor 1745 tests for discounts sales (#998)
* test plan for sales - discounts

* create sale

* passing tests for sales

* tests for collections

* remove eslint diable in sales tests

* remove eslint-disable

* move shared selectors

* move shared selectors

* fix indentation in requests

* add formatDate function

* remove moment

* remove moment
2021-03-12 15:57:02 +01:00
Karolina
fc597a7a7f
Saleor 2590 remove classes from cypress tests (#1003)
* remove classes in shipping & products utils

* remove classes

* add const

* remove getters in ProductsUtils

* remove getters in Utils

* remove getters in Utils
2021-03-12 13:14:18 +01:00
Karolina Rakoczy
36dca95454 test for products, remove cy command 2021-02-26 15:34:35 +01:00
Karolina Rakoczy
095a5522d3 fix login commands 2021-02-24 12:21:06 +01:00
Karolina Rakoczy
3a90d9bdc2 fix login commands 2021-02-24 12:19:17 +01:00
Karolina Rakoczy
f1c86f0a4d tests for products -change login cy command 2021-02-24 10:27:57 +01:00
Karolina Rakoczy
ac7f1b19b6 tests for products - fix storefront req 2021-02-23 15:30:52 +01:00
Karolina Rakoczy
e8c20ae511 tests for products 2021-02-23 13:09:58 +01:00
Karolina Rakoczy
4fc9fefa74 tests for products 2021-02-19 10:57:25 +01:00
Karolina Rakoczy
5fa5eda4a7 merge with master 2021-02-18 16:28:29 +01:00
Karolina Rakoczy
c361da5dc8 Remove awaits 2021-02-16 21:48:37 +01:00
Karolina Rakoczy
ebfb22d9f8 add promises 2021-02-16 15:19:46 +01:00
Karolina Rakoczy
9f5c1b544e tests for products 2021-02-12 15:36:13 +01:00
Karolina Rakoczy
b9c567d377 merge changes 2021-02-12 11:31:27 +01:00
Karolina Rakoczy
9278208639 add frontShop request 2021-02-12 09:54:52 +01:00
Karolina Rakoczy
7bb8a8fee2 Fix regex in orders 2021-02-11 16:55:30 +01:00
Karolina Rakoczy
221756a70e merge changes 2021-02-11 15:17:00 +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
Karolina Rakoczy
27e5d912e4 tests for dashboard 2021-02-11 13:20:00 +01:00
Karolina Rakoczy
cb528a7744 tests for publish products 2021-02-04 12:15:27 +01:00
Karolina Rakoczy
95be7b5163 order ready to fulfill created 2021-01-27 10:41:55 +01:00
Karolina Rakoczy
f9e8090120 Add mutation query 2021-01-21 11:05:54 +01:00
Karolina Rakoczy
f1d4b11a81 test for elements visibility, TODO - api requests for creating order 2021-01-19 22:17:49 +01:00
Michalina Graczyk
33d17d9d4a Add fix for a PR comment 2020-08-27 09:03:10 +02:00
Michalina Graczyk
2a63f9d85c Add no UI login 2020-08-25 16:15:39 +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
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