Commit 313ae15
feat(visual-regression): adiciona protótipo de testes visuais com Playwright
Configura Playwright para testes de regressão visual usando os samples
existentes dos componentes PO UI. Inclui:
- Configuração do Playwright (playwright.config.ts)
- Rotas dedicadas no projeto app para renderizar samples
- Testes visuais para 11 componentes representativos:
po-button, po-button-group, po-input, po-checkbox, po-switch,
po-select, po-table, po-tag, po-accordion, po-divider, po-progress
- Baselines de referência geradas para Chromium/Linux
- Scripts npm: test:visual, test:visual:update, test:visual:report
Co-Authored-By: aline.lariguet <alinecbgmoreira@gmail.com>1 parent 68a14bd commit 313ae15
30 files changed
Lines changed: 234 additions & 4 deletions
File tree
- e2e/visual
- __snapshots__
- po-accordion.visual.spec.ts-snapshots
- po-button-group.visual.spec.ts-snapshots
- po-button.visual.spec.ts-snapshots
- po-checkbox.visual.spec.ts-snapshots
- po-divider.visual.spec.ts-snapshots
- po-input.visual.spec.ts-snapshots
- po-progress.visual.spec.ts-snapshots
- po-select.visual.spec.ts-snapshots
- po-switch.visual.spec.ts-snapshots
- po-table.visual.spec.ts-snapshots
- po-tag.visual.spec.ts-snapshots
- projects/app
- src/app
- visual-test-wrapper
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
52 | 56 | | |
53 | 57 | | |
54 | 58 | | |
| |||
0 commit comments