Commit graph

214 commits

Author SHA1 Message Date
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