Support #11723
openSolar Design now has passing frontend and backend tests for the catalogue, the public proposal, system-size math, quote snapshots, and the design schema.
Subtasks
Related issues
Updated by Thirupathirao Uppu 7 days ago
- % Done changed from 0 to 30
SolarDesignList.test.tsx checks loading, empty and failed loads, design rows, Open, create with and without a customer, search, status filter, paging, and sharing.
PublicDesignShare.test.tsx checks the loading line, the quote from the API, a bad share link, and a missing contract PDF.
designCalculations.test.ts and designCalculations.test.js check panel size, north-roof production, shade, soiling, and an empty map.
proposalCurrency.test.js checks that a changed quote after the PDF blocks sharing with a 409.
solarDesignSchema.test.js checks the required design id and customer, draft or finalized status, roof values, and the unique share-token index.
package.json adds those backend files to npm run test:solar-design.
setupTests.ts provides TextEncoder so the screen tests can use React Router.
Earlier, the Create subscription plan left menu was removed in PlanEditor.tsx and platform-admin.css, so the form uses the full dialog width.