Skip to content

Commit

Permalink
Merge pull request #8 from spryker/bugfix/cc-33200-added-quotes
Browse files Browse the repository at this point in the history
Added additional quotes by dynamic fixtures.
  • Loading branch information
dmiseev authored Mar 29, 2024
2 parents 78eac48 + 4821506 commit 28ae552
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@
{
"type": "helper",
"name": "havePersistentQuote",
"key": "quote1",
"arguments": [
{
"customer": "#customer",
Expand All @@ -116,7 +115,42 @@
{
"type": "helper",
"name": "havePersistentQuote",
"key": "quote2",
"arguments": [
{
"customer": "#customer",
"items": [
{
"sku": "#product.sku",
"abstractSku": "#product.abstract_sku",
"name": "#product.name",
"quantity": 1,
"unitPrice": 30000
}
]
}
]
},
{
"type": "helper",
"name": "havePersistentQuote",
"arguments": [
{
"customer": "#customer",
"items": [
{
"sku": "#product.sku",
"abstractSku": "#product.abstract_sku",
"name": "#product.name",
"quantity": 1,
"unitPrice": 30000
}
]
}
]
},
{
"type": "helper",
"name": "havePersistentQuote",
"arguments": [
{
"customer": "#customer",
Expand Down
4 changes: 1 addition & 3 deletions cypress/support/types/backoffice/return-management.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import { Address, Customer, Product, Quote, User } from './shared';
import { Address, Customer, Product, User } from './shared';

export interface ReturnCreationDynamicFixtures {
rootUser: User;
customer: Customer;
address: Address;
product: Product;
quote1: Quote;
quote2: Quote;
}

export interface ReturnManagementStaticFixtures {
Expand Down
12 changes: 1 addition & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
"devDependencies": {
"@cypress/grep": "^4.0.1",
"@faker-js/faker": "^8.3.1",
"@types/dotenv": "^8.2.0",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.13.1",
"cypress": "^13.7.1",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
"eslint-plugin-cypress": "^2.15.1",
"inversify": "^6.0.2",
Expand Down

0 comments on commit 28ae552

Please sign in to comment.