| | |
| | | settings, items, segments, cycleNos: [], curveMode: 'actual-steps', spliceMode: 'battery-segments', units: {}, displayUnits: {} } |
| | | } |
| | | try { |
| | | for (const type of ['compare', 'formation', 'splice']) { |
| | | for (const type of ['compare', 'splice']) { |
| | | const context = await browser.newContext({ viewport: { width: 1440, height: 1000 } }) |
| | | await context.addInitScript(() => { localStorage.setItem('battery_detection_auth_token', 'ui-fixture'); window.print = () => {} }) |
| | | let saved = fixture(type), submitted, failSave = true, failFieldLoad = true |