Commit graph

45 commits

Author SHA1 Message Date
Paweł Chyła
7d48cded75
Introduce datagrid to permission group list (#4102)
Co-authored-by: wojteknowacki <wojciech.nowacki@saleor.io>
2023-08-28 15:25:27 +02:00
Anna Szczęch
4c7ad92e76
Fix test case numeration (#4087)
* update tec id for presets and pages

* update tc id for creating page with attribute types tests

* update tc id for customer registration

* update tc id for metadata

* restore original condition
2023-08-17 12:43:03 +02:00
wojteknowacki
1bd4aeadf1
tests - removing redundant session cleanup, navigator confirmation added (#4023)
* set notifiedAboutNavigator: true in local storage when logging in
2023-07-28 09:48:41 +02:00
wojteknowacki
d4900deef0
Fix e2e tests for creating permission group and deleting it (#3903)
* test - fixcreating permission group and deleteing it tests

* cr - removed response log
2023-07-13 10:34:04 +02:00
Michał Droń
b386cf060f
Add order expiration (#3843)
* Add TTL expiration & migrate some components in channel details

* Migrate button

* Update fixtures

* Add changeset

* Typo & lint

* Reorder UI elements

* Set custom height to match old input

* Add explanatory comment

* test - created test for expired orderes functionality in channels, fixed validation test which checks using same slug twice when creating channel

* Fix create page

* Fix lint issue

* Fix error handling double notification

* tests added: creating channel with expiration days for orders, creating channel with expiration days for orders with boundary conditions exciding requirements

* function name typeExpirationDate changed to typeExpirationDays

---------

Co-authored-by: wojteknowacki <wojciech.nowacki@saleor.io>
2023-07-12 14:04:50 +02:00
wojteknowacki
f4da8daa90
test fix should change admin email plugin. TC: SALEOR_3602 - test was filing when running on 2 browsers - triggered only chrome now (#3708) 2023-06-01 10:07:32 +02:00
wojteknowacki
38ccecea1f
test fix - removed deleting resources from db since this was creating… (#3691)
* test fix - removed deleting resources from db since this was creating concurrent conflicts between pr on the same env

* test fix - missing faker import, api request missing uniq slug, draft order test,

* fix failing tests

* test fix filtering products

* test - final fix of 2 last failing tests - staff memebers and click and collect
2023-05-29 09:15:07 +02:00
wojteknowacki
16f8e0b177
test fix for order suite and add missing critical tags (#3690) 2023-05-24 16:27:01 +02:00
Karolina Rakoczy
b9bf19ddfb
Fix cypress tests for plugins and gift cards exports (#3626)
* Fix test for plugins

* remove unused import

* Fix plugins

* decrease limit meaasge

* Fix export gift cards

* remove only
2023-05-11 15:44:26 +02:00
wojteknowacki
86932d1cd9
Test variant selection fix (#3617)
* fixing attribute variants selection tests
2023-05-10 14:03:33 +02:00
Karolina Rakoczy
2b87e8b141
Move from mailhog to mailpit main (#3616)
* move from mailhog to mailpit

* update packaje-lock
2023-05-10 12:13:52 +02:00
Krzysztof Żuraw
180e3c56e6
Migrate product create page to new MacawUI (#3372)
Co-authored-by: Michał Droń <droniu@droniu.dev>
Co-authored-by: timur <timuric@gmail.com>
Co-authored-by: wojteknowacki <wojciech.nowacki@saleor.io>
2023-05-04 10:57:18 +02:00
wojteknowacki
dd2a643566
fixing failing tests (#3411)
* fixing failing tests
2023-03-24 09:03:48 +01:00
wojteknowacki
bf532939e2
Test navigation refactor (#3294)
* naviagtion aka permissions refactor
2023-03-09 09:18:07 +01:00
Karolina Rakoczy
d413c8e852
update tax configuration before creating vouchers (#2939) 2023-01-25 13:32:30 +01:00
Anna Szczęch
644b58a914
Fix failed night schedule tests (#3015)
* fix e2e tests

* update test tag

* update tax config in tests failing on v310

* updatet taxes for product variant tests

* move updateRaxConfiguration to beforeEach

* fix imports

* change retries in config

* update data-test-id and remove failing wait for request
2023-01-25 11:32:28 +01:00
Anna Szczęch
b723e05b2f
Change tags in tests from stagedOnly to allEnv (#2985) 2023-01-16 15:05:07 +01:00
poulch
d5ed6fb202
Feature flags (#2961)
* [Feature Flags] Abstraction over flags provider (#2928)

* Remove useFlag hook

* [Feature Flags] GraphQL build multiple schemas (#2937)

* Build script

* Refactor build types script

* Remove old codegen.yml

* Clean feature flags in script

* Refactor schema path

* Restore useAuthProvider

* Update configuration file

* encapsulate details for feature flags provider

* Add proper env to flagsmith provider

* Remove flagsmith mocks

* Vite config define global variables

* Render flagmisth provider only when is used

* Keep name service agnostic

* Test with mocked flagsmith

* Use global FLAGS varaible for env flags

* Fix type issue with FLAGS

* Fix build issue

* Remove duplicate translations

* Fix typo

* Prepare for QA tests

* Remove test feature flag
2023-01-16 14:55:38 +01:00
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
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
Anna Szczęch
443a94834e
expect email to lowercase in test assertions (#2796) 2022-12-07 10:52:39 +01:00
Ewa Czerniak
8d4cacc68c
fix for addUserToPermissionGroup and refactor of permissions tests (#2555) 2022-11-15 10:55:31 +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
0c1fa47c35
wait for requests on add menu item page (#2540) 2022-11-08 10:19:52 +00:00
Karolina Rakoczy
8a28230577
Activate plugins before tests (#2477) 2022-10-27 11:40:33 +02:00
Anna Szczęch
469328de0b
remove multiselect from use attributes in variant selection (#2484) 2022-10-27 10:30:08 +02:00
Karolina Rakoczy
d669fef773
Disable test for weight recalculate (#2476) 2022-10-26 17:15:52 +02:00
Karolina Rakoczy
4d1e41517d
In old release versions run small package of most important tests (#2379)
* In old version release run small package of most important tests

* add to releases tests for stocks, warehouses and orders

* Update .github/workflows/tests-nightly.yml

Co-authored-by: Mika <6186720+NyanKiyoshi@users.noreply.github.com>

* remove set-output command

Co-authored-by: Mika <6186720+NyanKiyoshi@users.noreply.github.com>
2022-10-25 19:27:26 +02:00
Karolina Rakoczy
2e292c2e06
Fix tests for orders (#2372) (#2399) 2022-10-20 14:03:53 +04:00
Ewa Czerniak
cb93dbea2a
Remove unused imports and variables (#2420) 2022-10-20 07:36:49 +02:00
Patryk Andrzejewski
ae9b7b31dc
Add UI to enable channel listing in variants view (#2303)
* syncg

* manage channels modal, price editing

* fix typings

* fix typings, splitting components

* fix typings, splitting components

* update snapshot

* update types

* update messages

* use toggle

* update e2e tests

* update messages

* add manage button to edit page

* add manage button to edit page

* re-organize components

* update modals

* fix toggle all

* cover scenario when we have no channels
2022-09-22 12:00:13 +02:00
Karolina Rakoczy
f9392ce0ce
Fixes for creating attribute tests (#2321) 2022-09-22 09:14:53 +00:00
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
Karolina Rakoczy
22e78bbd23
Fix tests for attributes in products types (#2269) 2022-09-01 15:17:13 +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
Karolina Rakoczy
2c57de07e4
Fix cypress test for enable gift card (#2214)
* All specs has unique data

* All specs has unique data
2022-08-16 12:49:22 +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
Karolina Rakoczy
067148bc70
Fixed tests for stripe (#2177) 2022-07-18 14:11:17 +03: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