← Design Systems and Frontend Team adatlapja
Nézd meg, miben segít
Frontend-ellenőrzés
Projektparancsokkal és valódi böngészős működéssel ellenőrzi a frontendváltozást, majd pontosan leírja a bizonyíték hatókörét.
frontend-verification
Ezt a skillt használó csapattagok
Mikor hasznos?
Akkor használd Vue- vagy frontendátadás előtt, ha a sikeres build önmagában nem igazolja a felhasználói folyamatot.
Miben segít neked?
- A projekt valódi típusellenőrző, lint- és buildparancsát futtatja.
- Megfigyelhető Vue-komponens- és composable-működést tesztel.
- Ellenőrzi a hálózatot, konzolt, billentyűzetet és keskeny nézetet.
Például ezt kérheted
Ellenőrizd a módosított regisztrációt, és jelezd a nem tesztelt böngészős útvonalakat. Küldj hibás adatot, javítsd billentyűzettel, majd ismételd telefonméretben. A sikeres ellenőrzést különítsd el az elérhetetlen böngészőtől és el sem indult teszttől.
Részletes dokumentáció
Itt a skill eredeti útmutatóját, példáit és ellenőrzési szempontjait olvashatod az eredeti nyelven.
Összecsukás
Frontend Verification & Browser QA
Prove that a frontend change compiles cleanly, passes targeted automated checks, and works in the browser across states and screen sizes before calling it done.
1. Static and build verification
- Run the project's actual scripts from
package.json:- Typecheck: run
vue-tsc --noEmit(or the repo'stypecheckscript) so template expressions, slot props, component emits and TypeScript files are all checked together. Plaintscdoes not typecheck.vuetemplates. - Lint & format: run the configured linter (
eslint,oxlint,stylelint) and fix every error or warning introduced by your change. - Build: run the build command when touching imports, dynamic chunks, Vite config, SSR or environment variables.
- Typecheck: run
2. Targeted Vue component and composable tests
- Test observable behavior, not internal implementation details:
- In
@vue/test-utils/ Vitest Browser Mode, interact via props, user events (trigger, user-event) and slots, and assert on rendered DOM output and emitted events (wrapper.emitted('save')), neverwrapper.vmprivate refs. - Await DOM updates (
await nextTick()) after state changes andawait flushPromises()after async requests before asserting. - For composables: test pure reactivity directly; when a composable uses lifecycle hooks (
onMounted,onUnmounted) orinject, run it inside a smallwithSetup(() => useMyComposable())helper component and unmount it to verify cleanup. - For Pinia stores: call
setActivePinia(createPinia())(orcreateTestingPinia()) inbeforeEachso state never leaks across tests.
- In
3. Browser, network and interaction check
- Whenever browser or preview tools are available, exercise the changed flow in a real browser:
- States: verify initial load, loading indicators, empty state, validation error, server failure & retry, and successful completion.
- Console & network: check for zero Vue runtime warnings (
[Vue warn]), unhandled promise rejections, console errors, failed network requests, or duplicate/runaway API calls. - Responsive & keyboard: check phone, tablet and desktop widths (
375px,768px,1280px), keyboard navigation (Tab,Enter,Escapein dialogs/menus) and visible focus rings.
4. Honest handoff
- Record exactly which commands, tests, screens, states and widths you verified and what their output showed.
- State clearly any check that could not be run (for example, no live backend or browser tool in the environment) and provide concrete reproduction and verification steps for the reviewer or tester. Never claim a check was done when it was not.
Before you finish
-
vue-tsc/ typecheck, linter and relevant unit/component tests ran and passed. - No
[Vue warn], console errors or duplicate network requests in the changed flow. - Loading, empty, validation error, server error and success states verified.
- Verification steps and any remaining environment limits are documented for the tester.
Csomagban lévő fájlok 2
LICENSE.txtSKILL.md
