-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mateusz Krzeszowiak
committed
Jul 3, 2019
1 parent
9bf37b2
commit 7355c9e
Showing
9 changed files
with
26 additions
and
801 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
const category = require('magepack/lib/module/category'); | ||
const checkout = require('magepack/lib/module/checkout'); | ||
// const checkout = require('magepack/lib/module/checkout'); | ||
const cms = require('magepack/lib/module/cms'); | ||
const customer = require('magepack/lib/module/customer'); | ||
const pdp = require('magepack/lib/module/pdp'); | ||
|
@@ -18,36 +18,36 @@ module.exports = { | |
browser => | ||
category(browser, { | ||
url: `${baseUrl}/women/tops-women/jackets-women.html`, | ||
excludeRegExp: /^\.|amazon|smile|klarna/i, | ||
}), | ||
browser => | ||
checkout(browser, { | ||
url: { | ||
product: `${baseUrl}/overnight-duffle.html`, | ||
cart: `${baseUrl}/checkout/cart/`, | ||
checkout: `${baseUrl}/checkout/`, | ||
}, | ||
excludeRegExp: /^\.|amazon|smile|klarna/i, | ||
excludeRegExp: /^\.|amazon|smile|klarna|Magento_Checkout\/js\/view\/minicart/i, | ||
}), | ||
// browser => | ||
// checkout(browser, { | ||
// url: { | ||
// product: `${baseUrl}/overnight-duffle.html`, | ||
// cart: `${baseUrl}/checkout/cart/`, | ||
// checkout: `${baseUrl}/checkout/`, | ||
// }, | ||
// excludeRegExp: /^\.|amazon|smile|klarna/i, | ||
// }), | ||
browser => | ||
cms(browser, { | ||
url: baseUrl, | ||
excludeRegExp: /^\.|amazon|smile|klarna/i, | ||
excludeRegExp: /^\.|amazon|smile|klarna|Magento_Checkout\/js\/view\/minicart/i, | ||
}), | ||
browser => | ||
customer(browser, { | ||
url: `${baseUrl}/customer/account/login/`, | ||
email: '[email protected]', | ||
password: 'Testing123', | ||
excludeRegExp: /^\.|amazon|smile|klarna/i, | ||
excludeRegExp: /^\.|amazon|smile|klarna|Magento_Checkout\/js\/view\/minicart/i, | ||
}), | ||
browser => | ||
pdp(browser, { | ||
url: [ | ||
`${baseUrl}/olivia-1-4-zip-light-jacket.html`, | ||
`${baseUrl}/overnight-duffle.html`, | ||
], | ||
excludeRegExp: /^\.|amazon|smile|klarna/i, | ||
excludeRegExp: /^\.|amazon|smile|klarna|Magento_Checkout\/js\/view\/minicart/i, | ||
}), | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters