Skip to content

Commit

Permalink
Adjusted fixtures, removed types from pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmiseev committed Mar 4, 2024
1 parent 96dd1f9 commit 5b2999a
Show file tree
Hide file tree
Showing 12 changed files with 94 additions and 340 deletions.
54 changes: 10 additions & 44 deletions cypress/fixtures/b2b/yves/comments/dynamic/comments-suite-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,13 @@
"type": "transfer",
"name": "LocaleTransfer",
"key": "locale",
"arguments": {
"id_locale": 66,
"locale_name": "en_US"
}
"arguments": { "id_locale": 66, "locale_name": "en_US" }
},
{
"type": "helper",
"name": "haveCustomer",
"key": "customer",
"arguments": [
{
"locale": "#locale",
"password": "change123"
}
]
"arguments": [{ "locale": "#locale", "password": "change123" }]
},
{
"type": "helper",
Expand All @@ -34,21 +26,17 @@
"type": "transfer",
"name": "StoreTransfer",
"key": "store",
"arguments": {
"id_store": 1
}
"arguments": { "id_store": 1 }
},
{
"type": "helper",
"name": "haveFullProduct",
"key": "productOne",
"arguments": []
"key": "productOne"
},
{
"type": "helper",
"name": "haveFullProduct",
"key": "productTwo",
"arguments": []
"key": "productTwo"
},
{
"type": "helper",
Expand All @@ -57,10 +45,7 @@
{
"skuProductAbstract": "#productOne.abstract_sku",
"skuProduct": "#productOne.sku",
"moneyValue": {
"netAmount": 30000,
"grossAmount": 30000
}
"moneyValue": { "netAmount": 30000, "grossAmount": 30000 }
}
]
},
Expand All @@ -71,34 +56,19 @@
{
"skuProductAbstract": "#productTwo.abstract_sku",
"skuProduct": "#productTwo.sku",
"moneyValue": {
"netAmount": 30000,
"grossAmount": 30000
}
"moneyValue": { "netAmount": 30000, "grossAmount": 30000 }
}
]
},
{
"type": "helper",
"name": "haveProductInStockForStore",
"arguments": [
"#store",
{
"sku": "#productOne.sku",
"isNeverOutOfStock": "1"
}
]
"arguments": ["#store", { "sku": "#productOne.sku", "isNeverOutOfStock": "1" }]
},
{
"type": "helper",
"name": "haveProductInStockForStore",
"arguments": [
"#store",
{
"sku": "#productTwo.sku",
"isNeverOutOfStock": "1"
}
]
"arguments": ["#store", { "sku": "#productTwo.sku", "isNeverOutOfStock": "1" }]
},
{
"type": "transfer",
Expand Down Expand Up @@ -159,11 +129,7 @@
"type": "helper",
"name": "havePersistentQuote",
"key": "emptyQuote",
"arguments": [
{
"customer": "#customer"
}
]
"arguments": [{ "customer": "#customer" }]
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,19 @@
"type": "transfer",
"name": "StoreTransfer",
"key": "store",
"arguments": {
"id_store": 1
}
"arguments": { "id_store": 1 }
},
{
"type": "transfer",
"name": "LocaleTransfer",
"key": "locale",
"arguments": {
"id_locale": 66,
"locale_name": "en_US"
}
"arguments": { "id_locale": 66, "locale_name": "en_US" }
},
{
"type": "helper",
"name": "haveCustomer",
"key": "customer",
"arguments": [
{
"locale": "#locale",
"password": "change123"
}
]
"arguments": [{ "locale": "#locale", "password": "change123" }]
},
{
"type": "helper",
Expand All @@ -41,8 +31,7 @@
{
"type": "helper",
"name": "haveFullProduct",
"key": "product",
"arguments": []
"key": "product"
},
{
"type": "transfer",
Expand Down Expand Up @@ -84,13 +73,7 @@
"type": "helper",
"name": "haveProductInStockForStore",
"key": "productWithPriceAndStore",
"arguments": [
"#store",
{
"sku": "#product.sku",
"isNeverOutOfStock": "1"
}
]
"arguments": ["#store", { "sku": "#product.sku", "isNeverOutOfStock": "1" }]
},
{
"type": "helper",
Expand All @@ -115,11 +98,7 @@
"type": "helper",
"name": "haveUser",
"key": "rootUser",
"arguments": [
{
"password": "change123"
}
]
"arguments": [{ "password": "change123" }]
},
{
"type": "helper",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@
"type": "helper",
"name": "haveUser",
"key": "rootUser",
"arguments": [
{
"password": "change123"
}
]
"arguments": [{ "password": "change123" }]
},
{
"type": "helper",
Expand All @@ -23,29 +19,19 @@
"type": "transfer",
"name": "StoreTransfer",
"key": "store",
"arguments": {
"id_store": 1
}
"arguments": { "id_store": 1 }
},
{
"type": "transfer",
"name": "LocaleTransfer",
"key": "locale",
"arguments": {
"id_locale": 66,
"locale_name": "en_US"
}
"arguments": { "id_locale": 66, "locale_name": "en_US" }
},
{
"type": "helper",
"name": "haveCustomer",
"key": "customer",
"arguments": [
{
"locale": "#locale",
"password": "change123"
}
]
"arguments": [{ "locale": "#locale", "password": "change123" }]
},
{
"type": "helper",
Expand All @@ -56,8 +42,7 @@
{
"type": "helper",
"name": "haveFullProduct",
"key": "product",
"arguments": []
"key": "product"
},
{
"type": "transfer",
Expand Down Expand Up @@ -88,24 +73,15 @@
{
"skuProductAbstract": "#product.abstract_sku",
"skuProduct": "#product.sku",
"moneyValue": {
"netAmount": 50000,
"grossAmount": 50000
}
"moneyValue": { "netAmount": 50000, "grossAmount": 50000 }
}
]
},
{
"type": "helper",
"name": "haveProductInStockForStore",
"key": "productWithPriceAndStore",
"arguments": [
"#store",
{
"sku": "#product.sku",
"isNeverOutOfStock": "1"
}
]
"arguments": ["#store", { "sku": "#product.sku", "isNeverOutOfStock": "1" }]
},
{
"type": "helper",
Expand Down
Loading

0 comments on commit 5b2999a

Please sign in to comment.