<div class="price--regular">
<div class="price__row">
<div class="price__column--regular-price">
<div class="price-regular">
<div class="price-regular__current">
<div class="price-regular__current-price-inner">
<div class="price-regular__current-prefix--rrp">UVP</div>
<div class="price-regular__current-prefix">from</div>
<div class="price-regular__current-currency">CHF</div>
</div>
<div class="price-regular__current-price-inner">
<div class="price-regular__current-value">999.90</div>
<div class="price-regular__current-unit">Stück</div>
</div>
</div>
</div>
</div>
</div>
</div>
{% include '@SharedComponents/modules/shared-product/components/price/price.twig' %}
{
"variant": "regular",
"labels": {
"from": "from",
"instead": "statt",
"rrp": "UVP"
},
"price": {
"currency": "CHF",
"price": "999.90",
"unit": "Stück",
"rrp": true,
"from": true
}
}
import './price.scss';
import Price, {selector as sel} from 'cando-cx-components-library/components/modules/shared-product/components/price/price';
export default Price;
export const selector = sel;
@import "~shared/base";
@import "~cando-cx-components-library/components/modules/shared-product/components/price/price";
import puppeteer from 'puppeteer';
/* eslint-disable max-lines-per-function */
describe('PRICE-TYPE Price Media-Large', () => {
let browser;
beforeAll(async () => {
browser = await puppeteer.launch({
args: ['--window-size=768,540'],
defaultViewport: { width: 768, height: 540 },
});
});
TESTPLACEHOLDER;
afterAll(async () => {
await browser.close();
});
});
import puppeteer from 'puppeteer';
/* eslint-disable max-lines-per-function */
describe('PRICE-TYPE Price Media-medium', () => {
let browser;
beforeAll(async () => {
browser = await puppeteer.launch({
args: ['--window-size=767,540'],
defaultViewport: { width: 767, height: 540 },
});
});
TESTPLACEHOLDER;
afterAll(async () => {
await browser.close();
});
});