Files
streetmerchant/src/store/model/target.ts
T
Jef LeCompte f87053cb02 refactor: use gts instead of xo
feat: add browser opening to test:notification
feat: add c8 and mocha for testing
feat: update Docker and ci
style: update editorconfig
2021-01-17 15:21:53 -05:00

49 lines
1.1 KiB
TypeScript

import {Store} from './store';
export const Target: Store = {
currency: '$',
labels: {
inStock: [
{
container: '[data-test="preorderButton"]',
text: ['Preorder now'],
},
{
container: '[data-test="shipItButton"]',
text: ['Ship it'],
},
],
maxPrice: {
container: '[data-test="product-price"]',
},
},
links: [
{
brand: 'sony',
model: 'ps5 console',
series: 'sonyps5c',
url: 'https://www.target.com/p/playstation-5-console/-/A-81114595',
},
{
brand: 'sony',
model: 'ps5 digital',
series: 'sonyps5de',
url:
'https://www.target.com/p/playstation-5-digital-edition-console/-/A-81114596',
},
{
brand: 'microsoft',
model: 'xbox series x',
series: 'xboxsx',
url: 'https://www.target.com/p/xbox-series-x-console/-/A-80790841',
},
{
brand: 'microsoft',
model: 'xbox series s',
series: 'xboxss',
url: 'https://www.target.com/p/xbox-series-s-console/-/A-80790842',
},
],
name: 'target',
};