Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FRW-8354 Added tests for Dynamic Multistore #45

Merged
merged 220 commits into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
220 commits
Select commit Hold shift + click to select a range
a4b9d08
Merge commit 'b04a58d649b1e43af43b74d10647361032cdb189' into feature/…
Oct 8, 2024
d00d290
FRW-8354 Add test for Cms page
Oct 11, 2024
7ad5262
FRW-8354 Adjust codestyle
Oct 11, 2024
027c6f6
FRW-8354 Remove manual timeouts
Oct 11, 2024
5874595
FRW-8354 Remove manual timeouts
Oct 11, 2024
b4b8eab
FRW-8354 Refactor
Oct 11, 2024
39565d4
FRW-8354 Randomize store and page names
Oct 11, 2024
e8b0a4b
FRW-8354 Refactor
Oct 11, 2024
2cc5a02
FRW-8354 Switch stores via the interface
Oct 11, 2024
34813b4
FRW-8354 Clear input before type
Oct 11, 2024
1115a7a
FRW-8354 Update style
Oct 11, 2024
05f8237
FRW-8354 Adjust timeouts
Oct 11, 2024
7a7b2be
FRW-8354 Update package.lock
Oct 11, 2024
c22aba2
FRW-8354 Improve code style
Oct 11, 2024
361c87e
FRW-8354 Fix extensions
Oct 11, 2024
98b7b47
FRW-8354 Refactoring
Oct 11, 2024
a546e3e
FRW-8354 Improve code style
Oct 11, 2024
7b2dd89
FRW-8354 Refactoring
Oct 15, 2024
94bea4b
FRW-8354 Fix case
Oct 15, 2024
30126d3
FRW-8354 Disable console commands
Oct 15, 2024
f2d89e0
FRW-8354 Remove element timeouts
Oct 15, 2024
5bf6ce2
FRW-8354 Improve code style
Oct 15, 2024
6559f20
FRW-8354 Add timeount before checking cms page
Oct 15, 2024
7d0b954
FRW-8354 Add waiting loop for store switch
Oct 15, 2024
47c0791
FRW-8354 Improve code style
Oct 15, 2024
4f05674
FRW-8354 Update repositories
Oct 15, 2024
ed86697
FRW-8354 Add shipment and payment for the new store
Oct 17, 2024
1325998
FRW-8354 Update store selector
Oct 17, 2024
f113d9b
FRW-8354 Add force to checkout button call
Oct 17, 2024
6252691
FRW-8354 Add scenrario for enabling cms blocks for all stores
Oct 17, 2024
239d39b
FRW-8354 Remove shioment type selecting
Oct 17, 2024
382ddc8
FRW-8354 Remove publish step
Oct 17, 2024
3cb8ba9
FRW-8354 Update payment method for guest
Oct 17, 2024
d05caf0
FRW-8354 added test for registration + login.
asmarovydlo Oct 17, 2024
01d933b
Merge remote-tracking branch 'origin/feature/frw-8354-create-dms-acce…
asmarovydlo Oct 17, 2024
761f988
FRW-8354 Refactoring
Oct 17, 2024
613b96c
FRW-8354 Refactoring
Oct 17, 2024
8466efe
FRW-8354 Improve code style
Oct 17, 2024
56b7116
FRW-8354 WIP test for DMS checkout.
asmarovydlo Oct 17, 2024
6ba1478
FRW-8354 Add marketplace oms flow test
Oct 18, 2024
f6f26ee
FRW-8354 Add dynamic date
Oct 18, 2024
f4a0a6f
FRW-8354 Tmp add local timeouts
Oct 18, 2024
ec02780
Merge branch 'feature/frw-8354-create-dms-acceptance-tests' of github…
Oct 18, 2024
2695a47
FRW-8354 Set quantity to 4 on add to cart
Oct 18, 2024
d49fa5c
FRW-8354 Move dms tests out of smoke folder
Oct 19, 2024
b6e3b0a
FRW-8354 Attempt at fixing "element-has-detached-from-dom" flicker
Oct 19, 2024
ccf4807
FRW-8354 Cleanup fixtures
Oct 19, 2024
8e193d6
FRW-8354 Cleanup fixtures
Oct 19, 2024
54c2546
FRW-8354 Remove manual timeouts
Oct 19, 2024
0ed7098
FRW-8354 Add dms tests npm command
Oct 19, 2024
8a0001a
FRW-8354: fix customer auth test
annakotiuk Oct 21, 2024
a7b2d20
FRW-8354: create yves cms page test
annakotiuk Oct 22, 2024
5bbe526
FRW-8354: enable all matching payments and shipments in BO
annakotiuk Oct 22, 2024
6d0391c
FRW-8354: fix yves checkout tests
annakotiuk Oct 23, 2024
82a44be
FRW-8354: fix store creation scenario
annakotiuk Oct 23, 2024
b389cc8
FRW-8354: fixes for b2c
annakotiuk Oct 23, 2024
d44d07a
FRW-8354: fixes for b2c
annakotiuk Oct 23, 2024
43a5b34
FRW-8354 Created P&S test and adjusted Glue tests
dimitriyTsemma Oct 24, 2024
466e58e
FRW-8354: fixes for b2c
annakotiuk Oct 24, 2024
de117ee
FRW-8354: fixes for b2c
annakotiuk Oct 24, 2024
9847868
FRW-8354: fixes for b2c
annakotiuk Oct 24, 2024
0921098
FRW-8354: fixes for b2c
annakotiuk Oct 24, 2024
966b08e
FRW-8354: fixes for b2c
annakotiuk Oct 24, 2024
3ff3a06
FRW-8354: check dms mode
annakotiuk Oct 24, 2024
f5d2e05
FRW-8354: fix store creation
annakotiuk Oct 24, 2024
8dd98bb
FRW-8354 Changed tag name
dimitriyTsemma Oct 24, 2024
6120f57
FRW-8354 Adjusted config
dimitriyTsemma Oct 24, 2024
ccd1583
FRW-8354: fix tests for b2c-mp
annakotiuk Oct 24, 2024
0617a3a
FRW-8354 Adjusted store creation scenario
dimitriyTsemma Oct 25, 2024
c6e5318
FRW-8354: enable p&s for cms
annakotiuk Oct 25, 2024
67883cd
FRW-8354: fix for b2b
annakotiuk Oct 25, 2024
5952fe5
FRW-8354: fix for b2b
annakotiuk Oct 25, 2024
bc17802
FRW-8354: fix for b2b
annakotiuk Oct 25, 2024
495afeb
FRW-8354: fix for b2b-mp
annakotiuk Oct 25, 2024
de6b21f
FRW-8354: fix store names
annakotiuk Oct 25, 2024
1e84b0d
FRW-8354: fix for b2b-mp
annakotiuk Oct 26, 2024
c27859e
FRW-8354: fix for b2b-mp
annakotiuk Oct 26, 2024
32d4ab6
FRW-8354: fix for b2b-mp
annakotiuk Oct 26, 2024
2800703
FRW-8354: rollback
annakotiuk Oct 26, 2024
2f89d0f
FRW-8354: fix product sync
annakotiuk Oct 27, 2024
d4b96a0
FRW-8354: debug
annakotiuk Oct 27, 2024
859ba78
FRW-8354: debug
annakotiuk Oct 27, 2024
ad784eb
FRW-8354 Refactoring after QA review
dimitriyTsemma Oct 27, 2024
3bbe8f4
FRW-8354 Refactoring after QA review
dimitriyTsemma Oct 27, 2024
0827f39
Merge branch 'feature/frw-8354-create-dms-acceptance-tests' into feat…
dimitriyTsemma Oct 27, 2024
2b659e3
FRW-8354: debug
annakotiuk Oct 27, 2024
76ff7e2
Merge branch 'feature/frw-8354-create-dms-acceptance-tests' into feat…
dimitriyTsemma Oct 27, 2024
d1f9239
Merge pull request #49 from spryker/feature/frw-8354-create-dms-accep…
dimitriyTsemma Oct 27, 2024
22d049a
FRW-8354: debug
annakotiuk Oct 27, 2024
45e80d3
FRW-8354 Revert
dimitriyTsemma Oct 27, 2024
6c81db8
FRW-8354: fix P&S test
annakotiuk Oct 28, 2024
c36e2b6
FRW-8354 Test commit
dimitriyTsemma Oct 28, 2024
a0c03a7
FRW-8354 Test commit
dimitriyTsemma Oct 28, 2024
547be4e
FRW-8354 Test commit
dimitriyTsemma Oct 28, 2024
c75555d
FRW-8354: fix table fetching
annakotiuk Oct 28, 2024
b8b89cd
FRW-8354: fix table fetching
annakotiuk Oct 28, 2024
d6fed90
FRW-8354: fix table fetching
annakotiuk Oct 28, 2024
8d94304
FRW-8354: fix table fetching
annakotiuk Oct 29, 2024
93c6547
FRW-8354: fix table fetching
annakotiuk Oct 29, 2024
0067b70
FRW-8354: fix table fetching
annakotiuk Oct 29, 2024
0ce20c4
FRW-8354: fix order processing
annakotiuk Oct 29, 2024
c732ea9
FRW-8354: fix order processing
annakotiuk Oct 29, 2024
d5dda8c
FRW-8354 Refactoring WIP
dimitriyTsemma Oct 29, 2024
f8da757
FRW-8354: fix order processing
annakotiuk Oct 29, 2024
a45d1f6
FRW-8354: cr fixes
annakotiuk Oct 29, 2024
6d4622d
Revert "FRW-8354: cr fixes"
annakotiuk Oct 29, 2024
912b90e
FRW-8354 Refactored
dimitriyTsemma Oct 29, 2024
d982dec
FRW-8354 Adapt cms plaholder update for multiple locales
Oct 29, 2024
afe0ec6
FRW-8354 Adapt cms page creation for multiple locales
Oct 29, 2024
aee158d
FRW-8354: cr fixes
annakotiuk Oct 29, 2024
0a8016d
FRW-8354 Move click action into page
Oct 29, 2024
7396152
Merge branch 'feature/frw-8354-create-dms-acceptance-tests' of github…
Oct 29, 2024
4060e74
FRW-8354: cr fixes
annakotiuk Oct 29, 2024
ae66620
Merge branch 'master' into feature/frw-8354-create-dms-acceptance-tests
annakotiuk Oct 29, 2024
ad3232a
FRW-8354: fix b2b-mp
annakotiuk Oct 29, 2024
c617f0c
FRW-8354 Add Already Assigned check for shipment methods
Oct 29, 2024
f3e8c13
Merge branch 'feature/frw-8354-create-dms-acceptance-tests' of github…
Oct 29, 2024
c039a7b
FRW-8354 Add Already Assigned check for cms blocks
Oct 30, 2024
e13228b
FRW-8354 Add Already Assigned check for payment methods
Oct 30, 2024
4d90a6a
FRW-8354 Add Already Assigned check for merchants
Oct 30, 2024
53c137d
FRW-8354 Improve code style
Oct 30, 2024
002d483
FRW-8354: fix yves cms test
annakotiuk Oct 30, 2024
5c193f6
FRW-8354: enable video recording
annakotiuk Oct 30, 2024
1876ee5
FRW-8354: fix fixtures for b2b shop
annakotiuk Oct 30, 2024
908b4cd
FRW-8354: fix for b2b-mp shop
annakotiuk Oct 30, 2024
121d0cd
FRW-8354 Rename bulk enablement methods
Oct 30, 2024
27a6302
FRW-8354 Update fixture interfaces
Oct 30, 2024
4b47a09
FRW-8354 Remove unused imports
Oct 30, 2024
0aaaec6
FRW-8354 Disable checks for manual wait
Oct 30, 2024
afb08a4
FRW-8354 Add Already Assigned check for stocks
Oct 30, 2024
4f700f6
FRW-8354: fix for b2b-mp shop
annakotiuk Oct 30, 2024
1727fa1
FRW-8354: fix for b2b-mp shop
annakotiuk Oct 30, 2024
a148630
FRW-8354 Add Already Assigned check for products
Oct 30, 2024
5a2b33e
FRW-8354 Update selectors for the Already Assigned checks
Oct 30, 2024
4ee7036
Merge branch 'feature/frw-8354-create-dms-acceptance-tests' of github…
Oct 30, 2024
95a125e
FRW-8354 Reformat
Oct 30, 2024
1bf39ef
FRW-8354 Add param type
Oct 30, 2024
43cf740
FRW-8354 Add missing method implementation
Oct 30, 2024
4b647b5
FRW-8354 Add missing method implementation
Oct 30, 2024
c109639
FRW-8354 Fix types
Oct 31, 2024
fb53048
FRW-8354 Update var type (fix eslint)
Oct 31, 2024
d7eaf51
FRW-8354 Fix fixture call
Oct 31, 2024
09b385a
FRW-8354: fix for b2b-mp shop
annakotiuk Oct 31, 2024
c55a7c9
FRW-8354: fix for b2b-mp shop
annakotiuk Oct 31, 2024
0d1846f
FRW-8354: fix for b2b-mp shop
annakotiuk Oct 31, 2024
44b460a
FRW-8354: fix for b2b shop
annakotiuk Oct 31, 2024
42fe34b
FRW-8354: fix for b2с shop
annakotiuk Nov 1, 2024
db624d6
FRW-8354: fix for b2с shop
annakotiuk Nov 1, 2024
c2d6257
FRW-8354: CR fixes
annakotiuk Nov 3, 2024
9396dc9
FRW-7399: CR fixes
annakotiuk Nov 3, 2024
5e5830a
FRW-8354: fix for b2c-mp
annakotiuk Nov 4, 2024
b7ee051
FRW-8354: refactoring and fix for suite
annakotiuk Nov 7, 2024
14c85c5
FRW-8354: fix for b2c-mp
annakotiuk Nov 7, 2024
59030b3
FRW-8354: fix for b2c-mp
annakotiuk Nov 7, 2024
2176105
FRW-8354: fix for b2c-mp
annakotiuk Nov 7, 2024
ab65994
FRW-8354: fix for b2c-mp
annakotiuk Nov 8, 2024
83a1f1b
FRW-8354: fix for b2c
annakotiuk Nov 8, 2024
1f30152
FRW-8354: fix for b2b
annakotiuk Nov 8, 2024
0a81868
FRW-8354: fix for b2b-mp
annakotiuk Nov 8, 2024
71ba489
FRW-8354: fix for b2c
annakotiuk Nov 8, 2024
5c76e63
FRW-8354: fix for b2c
annakotiuk Nov 8, 2024
18ce80f
FRW-8354: fix dummy payment
annakotiuk Nov 11, 2024
974e343
FRW-8354: fix for suite
annakotiuk Nov 11, 2024
780e912
FRW-8354: CR fixes
annakotiuk Nov 12, 2024
e423f59
FRW-8354: fix store creation
annakotiuk Nov 13, 2024
bb3a2e9
FRW-8354: fix entity search
annakotiuk Nov 13, 2024
9df8dd8
FRW-8354: fix entity search
annakotiuk Nov 13, 2024
05b059c
FRW-8354: fix entity search
annakotiuk Nov 13, 2024
3d47722
FRW-8354: fix entity search
annakotiuk Nov 13, 2024
93e205b
FRW-8354: fix entity search
annakotiuk Nov 13, 2024
1aab1a8
FRW-8354: fix entity search
annakotiuk Nov 13, 2024
c1c1783
FRW-8354: CR fixes
annakotiuk Nov 16, 2024
8881bd5
Merge branch 'master' into feature/frw-8354-create-dms-acceptance-tests
annakotiuk Nov 16, 2024
01e87cf
Merge branch 'master' into feature/frw-8354-create-dms-acceptance-tests
annakotiuk Nov 16, 2024
325b75f
FRW-8354: CR fixes
annakotiuk Nov 17, 2024
58ad206
FRW-8354: CR fixes
annakotiuk Nov 17, 2024
6be2bda
FRW-8354: fix tests
annakotiuk Nov 17, 2024
15bbc94
FRW-8354: fix tests
annakotiuk Nov 18, 2024
a0f931e
FRW-8354: update package lock
annakotiuk Nov 18, 2024
15ede89
FRW-8354: fix tests
annakotiuk Nov 18, 2024
249bd3f
FRW-8354: fix tests
annakotiuk Nov 18, 2024
ebb8092
Merge branch 'master' into feature/frw-8354-create-dms-acceptance-tests
annakotiuk Nov 18, 2024
bdc9119
FRW-8354: fix tests
annakotiuk Nov 18, 2024
5f952ce
FRW-8354: fix tests
annakotiuk Nov 18, 2024
61c4f49
FRW-8354: fix tests
annakotiuk Nov 18, 2024
d18ef0f
FRW-8354: fix tests
annakotiuk Nov 18, 2024
342f018
FRW-8354: fix tests
annakotiuk Nov 18, 2024
0f6353e
FRW-8354: fix tests
annakotiuk Nov 18, 2024
df12347
Refactoring [skip ci]
dmiseev Nov 19, 2024
1ceb87d
Refactoring
dmiseev Nov 20, 2024
1fb263b
Clean-up unused code.
dmiseev Nov 20, 2024
9219e04
Fixed leftovers.
dmiseev Nov 20, 2024
a3bb6bb
Fixed tests with cms blocks.
dmiseev Nov 20, 2024
774fb40
Fixed flaky tests.
dmiseev Nov 20, 2024
4af8c0d
Removed fixtures.
dmiseev Nov 20, 2024
d21594c
Fixed flaky tests.
dmiseev Nov 20, 2024
759bcb0
Merge branch 'master' into feature/frw-8354-create-dms-acceptance-tests
annakotiuk Nov 27, 2024
02e8c1c
FRW-8354: added fixtures for b2c shop
annakotiuk Nov 27, 2024
599a2b7
Merge branch 'master' into feature/frw-8354-create-dms-acceptance-tests
annakotiuk Nov 27, 2024
6a71427
FRW-8354: restored fallback for DMS flag env variable
AntonShopin Nov 27, 2024
6f1ca05
FRW-8354: fix tests for b2c shop
annakotiuk Nov 28, 2024
2fb57fa
FRW-8354: fix tests for b2c shop
annakotiuk Nov 28, 2024
54a97f6
Merge branch 'master' into feature/frw-8354-create-dms-acceptance-tests
annakotiuk Nov 28, 2024
bcee9b0
FRW-8354: add fixtures for b2c-mp
annakotiuk Nov 28, 2024
9f30a59
FRW-8354: fix isDynamicStoreEnabled definition
annakotiuk Nov 28, 2024
498fcf8
FRW-8354: add fixtures for b2b
annakotiuk Nov 28, 2024
be0948b
FRW-8354: fix tests for b2b
annakotiuk Nov 28, 2024
3607134
FRW-8354: add fixtures for b2b-mp
annakotiuk Nov 28, 2024
dc78134
FRW-8354: fix fixtures for b2b-mp
annakotiuk Nov 29, 2024
986ab15
FRW-8354: fix fixtures for b2b-mp
annakotiuk Nov 29, 2024
888c613
Merge branch 'master' into feature/frw-8354-create-dms-acceptance-tests
annakotiuk Nov 29, 2024
acba132
FRW-8354: fix styles
annakotiuk Nov 29, 2024
868d8de
FRW-8354: fix fixtures for b2b-mp
annakotiuk Nov 29, 2024
358bc9b
FRW-8354: fix fixtures for b2b
annakotiuk Nov 29, 2024
c18d408
FRW-8354: fix fixtures for b2b-mp
annakotiuk Nov 30, 2024
ecef6da
FRW-8354: fix fixtures for b2c-mp
annakotiuk Dec 1, 2024
32f6c92
FRW-8354: fix store selection
annakotiuk Dec 2, 2024
aa769ce
FRW-8354: fix cms page test
annakotiuk Dec 2, 2024
4f90119
FRW-8354: fix styles
annakotiuk Dec 2, 2024
f768712
FRW-8354: fix csm page test
annakotiuk Dec 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ build/Release

# Dependency directories
node_modules/
vendor/
jspm_packages/

# TypeScript v1 declaration files
Expand Down Expand Up @@ -66,7 +67,6 @@ typings/

# dotenv environment variable files
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache
Expand Down
49 changes: 49 additions & 0 deletions cypress/e2e/api/cms/cms-page-search-dms.cy.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
import { container } from '@utils';
import { CmsPageSearchDmsDynamicFixtures, CmsPageSearchDmsStaticFixtures } from '@interfaces/api';
import { CreateCmsPageScenario, CreateStoreScenario, UserLoginScenario } from '@scenarios/backoffice';

describeIfDynamicStoreEnabled('cms page search dms', { tags: ['@api', '@cms', '@dms'] }, () => {
const userLoginScenario = container.get(UserLoginScenario);
const createStoreScenario = container.get(CreateStoreScenario);
const createCmsPageScenario = container.get(CreateCmsPageScenario);

let staticFixtures: CmsPageSearchDmsStaticFixtures;
let dynamicFixtures: CmsPageSearchDmsDynamicFixtures;

before((): void => {
({ dynamicFixtures, staticFixtures } = Cypress.env());
createStoreAndCmsPage();
});

it('should be able to see the cms page for new store', (): void => {
cy.request({
method: 'GET',
url: Cypress.env().glueUrl + '/cms-pages',
headers: {
Store: staticFixtures.store.name,
},
}).then((response) => {
expect(response.status).to.eq(200);
const hasCmsPage = response.body.data.some(
(item: { type: string; attributes: { name: string } }) => item.attributes.name === staticFixtures.cmsPageName
);
expect(hasCmsPage).to.be.true;
});
});

function createStoreAndCmsPage(): void {
userLoginScenario.execute({
username: dynamicFixtures.rootUser.username,
password: staticFixtures.defaultPassword,
});

createStoreScenario.execute({ store: staticFixtures.store, shouldTriggerPublishAndSync: true });

staticFixtures.cmsPageName = `${staticFixtures.cmsPageName}-${Date.now()}`;
createCmsPageScenario.execute({ cmsPageName: staticFixtures.cmsPageName, shouldTriggerPublishAndSync: true });
}
});

function describeIfDynamicStoreEnabled(title: string, options: { tags: string[] }, fn: () => void): void {
(Cypress.env('isDynamicStoreEnabled') ? describe : describe.skip)(title, fn);
}
6 changes: 2 additions & 4 deletions cypress/e2e/backoffice/category/category-edit.cy.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import { container } from '@utils';
import { CategoryEditStaticFixtures } from '@interfaces/backoffice';
import { CategoryEditPage } from '@pages/backoffice';
import { CategoryListPage } from '@pages/backoffice';
import { CategoryEditPage, CategoryListPage, ActionEnum } from '@pages/backoffice';
import { UserLoginScenario } from '@scenarios/backoffice';
import { ActionEnum } from '../../../support/pages/backoffice';

describe('category edit', { tags: ['@catalog'] }, (): void => {
describe('category edit', { tags: ['@backoffice', '@catalog'] }, (): void => {
const categoryListPage = container.get(CategoryListPage);
const categoryEditPage = container.get(CategoryEditPage);
const userLoginScenario = container.get(UserLoginScenario);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
*/
(['b2c', 'b2c-mp'].includes(Cypress.env('repositoryId')) ? describe.skip : describe)(
'request management',
{ tags: ['@merchant-b2b-contract-requests'] },
{ tags: ['@backoffice', '@merchant-b2b-contract-requests'] },
(): void => {
const merchantRelationRequestListPage = container.get(MerchantRelationRequestListPage);
const merchantRelationRequestEditPage = container.get(MerchantRelationRequestEditPage);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { CheckoutScenario, CustomerLoginScenario } from '@scenarios/yves';

(['b2c', 'b2c-mp'].includes(Cypress.env('repositoryId')) ? describe.skip : describe)(
'custom order reference management',
{ tags: ['@order-management'] },
{ tags: ['@backoffice', '@order-management'] },
(): void => {
const cartPage = container.get(CartPage);
const salesIndexPage = container.get(SalesIndexPage);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { CatalogPage, CustomerOverviewPage, ProductPage } from '@pages/yves';
import { UserLoginScenario } from '@scenarios/backoffice';
import { CheckoutScenario, CustomerLoginScenario } from '@scenarios/yves';

describe('order creation', { tags: ['@order-management'] }, (): void => {
describe('order creation', { tags: ['@backoffice', '@order-management'] }, (): void => {
const catalogPage = container.get(CatalogPage);
const productPage = container.get(ProductPage);
const customerOverviewPage = container.get(CustomerOverviewPage);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { CatalogPage, ProductPage } from '@pages/yves';

(['b2c-mp', 'b2b-mp'].includes(Cypress.env('repositoryId')) ? describe.skip : describe)(
'return creation',
{ tags: ['@return-management'] },
{ tags: ['@backoffice', '@return-management'] },
(): void => {
const catalogPage = container.get(CatalogPage);
const productsPage = container.get(ProductPage);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { MerchantAgentLoginUserScenario } from '@scenarios/mp';
*/
(['b2c', 'b2b'].includes(Cypress.env('repositoryId')) ? describe.skip : describe)(
'agent authorization',
{ tags: ['@marketplace-agent-assist'] },
{ tags: ['@mp', '@marketplace-agent-assist'] },
(): void => {
const yvesLoginPage = container.get(LoginPage);
const yvesAgentLoginPage = container.get(AgentLoginPage);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { MerchantAgentLoginUserScenario } from '@scenarios/mp';
*/
(['b2c', 'b2b'].includes(Cypress.env('repositoryId')) ? describe.skip : describe)(
'agent dashboard',
{ tags: ['@marketplace-agent-assist'] },
{ tags: ['@mp', '@marketplace-agent-assist'] },
(): void => {
const mpAgentLoginPage = container.get(MpAgentLoginPage);
const mpDashboardPage = container.get(DashboardPage);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { ImpersonateAsMerchantUserScenario } from '@scenarios/mp';
*/
(['b2c', 'b2b'].includes(Cypress.env('repositoryId')) ? describe.skip : describe)(
'agent impersonation',
{ tags: ['@marketplace-agent-assist'] },
{ tags: ['@mp', '@marketplace-agent-assist'] },
(): void => {
const yvesLoginPage = container.get(LoginPage);
const mpLoginPage = container.get(MpLoginPage);
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/mp/marketplace-agent-assist/agent-login.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { MerchantAgentLoginUserScenario } from '@scenarios/mp';
*/
(['b2c', 'b2b'].includes(Cypress.env('repositoryId')) ? describe.skip : describe)(
'agent login',
{ tags: ['@marketplace-agent-assist'] },
{ tags: ['@mp', '@marketplace-agent-assist'] },
(): void => {
const mpLoginPage = container.get(MpLoginPage);
const mpAgentLoginPage = container.get(MpAgentLoginPage);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { CheckoutMpScenario, CustomerLoginScenario } from '@scenarios/yves';
*/
(['b2c', 'b2b'].includes(Cypress.env('repositoryId')) ? describe.skip : describe)(
'agent merchant portal',
{ tags: ['@marketplace-agent-assist'] },
{ tags: ['@mp', '@marketplace-agent-assist'] },
(): void => {
const salesIndexPage = container.get(SalesIndexPage);
const salesDetailPage = container.get(SalesDetailPage);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { UserLoginScenario } from '@scenarios/backoffice';
*/
(['b2c', 'b2b'].includes(Cypress.env('repositoryId')) ? describe.skip : describe)(
'agent permission',
{ tags: ['@marketplace-agent-assist'] },
{ tags: ['@mp', '@marketplace-agent-assist'] },
(): void => {
const backofficeUserIndexPage = container.get(UserIndexPage);
const backofficeUserUpdatePage = container.get(UserUpdatePage);
Expand Down Expand Up @@ -69,15 +69,15 @@ import { UserLoginScenario } from '@scenarios/backoffice';
it('backoffice user should be able to see imported user with "Agent Customer" permission', (): void => {
backofficeUserIndexPage.visit();
backofficeUserIndexPage
.find({ query: dynamicFixtures.customerAgentUser.username })
.findUser({ query: dynamicFixtures.customerAgentUser.username })
.contains('Agent')
.should('have.length', 1);
});

it('backoffice user should be able to see imported user with "Agent Merchant" permission', (): void => {
backofficeUserIndexPage.visit();
backofficeUserIndexPage
.find({ query: dynamicFixtures.merchantAgentUser.username })
.findUser({ query: dynamicFixtures.merchantAgentUser.username })
.contains('Agent')
.should('have.length', 1);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { CatalogPage, MultiCartPage, ProductPage } from '@pages/yves';
*/
(['b2c', 'b2b'].includes(Cypress.env('repositoryId')) ? describe.skip : describe)(
'commission calculation',
{ tags: ['@marketplace-merchant-commission'] },
{ tags: ['@mp', '@marketplace-merchant-commission'] },
(): void => {
const catalogPage = container.get(CatalogPage);
const productPage = container.get(ProductPage);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { MerchantUserLoginScenario } from '@scenarios/mp';

(['b2b', 'b2c'].includes(Cypress.env('repositoryId')) ? describe.skip : describe)(
'product concretes management',
{ tags: ['@merchant-product-concretes'] },
{ tags: ['@mp', '@merchant-product-concretes'] },
(): void => {
const variantsPage = container.get(VariantsPage);
const merchantUserLoginScenario = container.get(MerchantUserLoginScenario);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { MerchantUserLoginScenario } from '@scenarios/mp';
*/
(['b2c', 'b2b', 'b2c-mp'].includes(Cypress.env('repositoryId')) ? describe.skip : describe)(
'request management',
{ tags: ['@merchant-b2b-contract-requests'] },
{ tags: ['@mp', '@merchant-b2b-contract-requests'] },
(): void => {
const merchantRelationRequestsPage = container.get(MerchantRelationRequestsPage);
const merchantRelationsPage = container.get(MerchantRelationsPage);
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/smoke/api/health-check.cy.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Reminder: Use only static fixtures for smoke tests, don't use dynamic fixtures, cli commands.
*/
describe('health check', { tags: '@smoke' }, () => {
describe('health check', { tags: ['@smoke', '@api'] }, () => {
it('GLUE endpoint should return 200', () => {
cy.request(Cypress.env().glueUrl + '/catalog-search')
.its('status')
Expand Down
5 changes: 4 additions & 1 deletion cypress/e2e/smoke/catalog/product-search.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ import { CatalogPage, ProductPage } from '@pages/yves';
import { ProductSearchStaticFixtures } from '@interfaces/smoke';
import { CustomerLoginScenario } from '@scenarios/yves';

describe('product search', { tags: ['@smoke'] }, (): void => {
/**
* Reminder: Use only static fixtures for smoke tests, don't use dynamic fixtures, cli commands.
*/
describe('product search', { tags: ['@smoke', '@catalog'] }, (): void => {
const catalogPage = container.get(CatalogPage);
const productPage = container.get(ProductPage);
const customerLoginScenario = container.get(CustomerLoginScenario);
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/smoke/checkout/basic-checkout.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { CheckoutScenario, CustomerLoginScenario } from '@scenarios/yves';
/**
* Reminder: Use only static fixtures for smoke tests, don't use dynamic fixtures, cli commands.
*/
describe('basic checkout', { tags: ['@smoke'] }, (): void => {
describe('basic checkout', { tags: ['@smoke', '@checkout'] }, (): void => {
const catalogPage = container.get(CatalogPage);
const productPage = container.get(ProductPage);
const customerOverviewPage = container.get(CustomerOverviewPage);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { CustomerAuthStaticFixtures } from '@interfaces/smoke';
/**
* Reminder: Use only static fixtures for smoke tests, don't use dynamic fixtures, cli commands.
*/
describe('customer auth', { tags: ['@smoke'] }, (): void => {
describe('customer auth', { tags: ['@smoke', '@customer-account-management'] }, (): void => {
const loginPage = container.get(LoginPage);
const customerOverviewPage = container.get(CustomerOverviewPage);

Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/smoke/merchant-portal/login.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { LoginStaticFixtures } from '@interfaces/smoke';
*/
(['b2c', 'b2b'].includes(Cypress.env('repositoryId')) ? describe.skip : describe)(
'login',
{ tags: ['@smoke'] },
{ tags: ['@smoke', '@merchant-portal'] },
(): void => {
const loginPage = container.get(LoginPage);
const dashboardPage = container.get(DashboardPage);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { CheckoutScenario, CustomerLoginScenario } from '@scenarios/yves';
*/
(['b2c-mp', 'b2b-mp'].includes(Cypress.env('repositoryId')) ? describe.skip : describe)(
'dummy payment OMS flow',
{ tags: ['@smoke'] },
{ tags: ['@smoke', '@order-management'] },
(): void => {
const catalogPage = container.get(CatalogPage);
const productsPage = container.get(ProductPage);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { CatalogPage, ProductPage } from '@pages/yves';
*/
(['b2c', 'b2b'].includes(Cypress.env('repositoryId')) ? describe.skip : describe)(
'marketplace payment OMS flow',
{ tags: ['@smoke'] },
{ tags: ['@smoke', '@order-management'] },
(): void => {
const catalogPage = container.get(CatalogPage);
const productsPage = container.get(ProductPage);
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/smoke/product/publish-and-synchronize.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { CustomerLoginScenario } from '@scenarios/yves';
/**
* Reminder: Use only static fixtures for smoke tests, don't use dynamic fixtures, cli commands.
*/
describe('publish and synchronize', { tags: ['@smoke'] }, (): void => {
describe('publish and synchronize', { tags: ['@smoke', '@product'] }, (): void => {
const catalogPage = container.get(CatalogPage);
const productPage = container.get(ProductPage);
const userLoginScenario = container.get(UserLoginScenario);
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/yves/cart/cart-item-note-management.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { CustomerLoginScenario } from '@scenarios/yves';
/**
* Yves Cart Update Without Reload checklists: {@link https://spryker.atlassian.net/wiki/spaces/CCS/pages/4147904521/Yves+Cart+Update+Without+Reload+Checklist}
*/
describe('cart item note management', { tags: ['@cart'] }, (): void => {
describe('cart item note management', { tags: ['@yves', '@cart'] }, (): void => {
const cartPage = container.get(CartPage);
const customerLoginScenario = container.get(CustomerLoginScenario);

Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/yves/cart/change-cart-item-quantity.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { CustomerLoginScenario } from '@scenarios/yves';
/**
* Yves Cart Update Without Reload checklists: {@link https://spryker.atlassian.net/wiki/spaces/CCS/pages/4147904521/Yves+Cart+Update+Without+Reload+Checklist}
*/
describe('change cart item quantity', { tags: ['@cart'] }, (): void => {
describe('change cart item quantity', { tags: ['@yves', '@cart'] }, (): void => {
const cartPage = container.get(CartPage);
const catalogPage = container.get(CatalogPage);
const productPage = container.get(ProductPage);
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/yves/cart/remove-cart-item.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { CustomerLoginScenario } from '@scenarios/yves';
/**
* Yves Cart Update Without Reload checklists: {@link https://spryker.atlassian.net/wiki/spaces/CCS/pages/4147904521/Yves+Cart+Update+Without+Reload+Checklist}
*/
describe('remove cart item', { tags: ['@cart'] }, (): void => {
describe('remove cart item', { tags: ['@yves', '@cart'] }, (): void => {
const cartPage = container.get(CartPage);
const catalogPage = container.get(CatalogPage);
const productPage = container.get(ProductPage);
Expand Down
Loading