-
Notifications
You must be signed in to change notification settings - Fork 239
feat(visual-regression): prototipo testes visuais com Playwright #2789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
alinelariguet
wants to merge
9
commits into
master
Choose a base branch
from
visual-regression/prototype-playwright-v2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
a217eb5
feat(visual-regression): prototipo testes visuais com Playwright
alinelariguet 8aa64ce
ci(visual-regression): adiciona upload do relatorio Playwright
alinelariguet b57c7d4
ci: retrigger CI (falha transitoria ETXTBSY)
alinelariguet cf682db
feat(visual-regression): testes visuais para todos os fields
alinelariguet 181a910
fix(visual-regression): corrige formatacao prettier nos templates HTML
alinelariguet 08381d9
fix(visual-regression): aumenta tolerancia para textarea e rich-text
alinelariguet e5a7549
fix(visual-regression): fixa altura do textarea com p-rows explicito
alinelariguet beabc31
ci(visual-regression): usa cache para baselines no CI
alinelariguet 6773c2f
fix(visual-regression): URL-encode branch name na API do GitHub
alinelariguet File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+6.43 KB
...tates.visual.spec.ts-snapshots/po-checkbox-group-state-basic-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+6.7 KB
...es.visual.spec.ts-snapshots/po-checkbox-group-state-disabled-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.94 KB
....visual.spec.ts-snapshots/po-checkbox-group-state-label-help-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.22 KB
...isual.spec.ts-snapshots/po-checkbox-group-state-label-helper-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+6.51 KB
...es.visual.spec.ts-snapshots/po-checkbox-group-state-required-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.47 KB
...kbox-states.visual.spec.ts-snapshots/po-checkbox-state-basic-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.04 KB
....visual.spec.ts-snapshots/po-checkbox-state-disabled-checked-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.72 KB
...x-states.visual.spec.ts-snapshots/po-checkbox-state-disabled-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.11 KB
...states.visual.spec.ts-snapshots/po-checkbox-state-label-help-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.69 KB
...x-states.visual.spec.ts-snapshots/po-checkbox-state-required-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.56 KB
...o-combo-states.visual.spec.ts-snapshots/po-combo-state-basic-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.57 KB
...ombo-states.visual.spec.ts-snapshots/po-combo-state-disabled-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.66 KB
...o-combo-states.visual.spec.ts-snapshots/po-combo-state-label-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+6.41 KB
...bo-states.visual.spec.ts-snapshots/po-combo-state-label-help-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.66 KB
...-states.visual.spec.ts-snapshots/po-combo-state-label-helper-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.87 KB
...ombo-states.visual.spec.ts-snapshots/po-combo-state-required-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.44 KB
...tates.visual.spec.ts-snapshots/po-combo-state-required-error-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.28 KB
...tes.visual.spec.ts-snapshots/po-datepicker-range-state-basic-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.83 KB
....visual.spec.ts-snapshots/po-datepicker-range-state-disabled-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.07 KB
...tes.visual.spec.ts-snapshots/po-datepicker-range-state-label-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.14 KB
...isual.spec.ts-snapshots/po-datepicker-range-state-label-help-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+6.41 KB
...ual.spec.ts-snapshots/po-datepicker-range-state-label-helper-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.51 KB
...s.visual.spec.ts-snapshots/po-datepicker-range-state-loading-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.52 KB
....ts-snapshots/po-datepicker-range-state-loading-label-helper-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.34 KB
....visual.spec.ts-snapshots/po-datepicker-range-state-required-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.78 KB
...er-states.visual.spec.ts-snapshots/po-datepicker-state-basic-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+3.79 KB
...states.visual.spec.ts-snapshots/po-datepicker-state-disabled-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+4.86 KB
...er-states.visual.spec.ts-snapshots/po-datepicker-state-label-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.63 KB
...ates.visual.spec.ts-snapshots/po-datepicker-state-label-help-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.87 KB
...es.visual.spec.ts-snapshots/po-datepicker-state-label-helper-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.47 KB
...-states.visual.spec.ts-snapshots/po-datepicker-state-loading-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.47 KB
...l.spec.ts-snapshots/po-datepicker-state-loading-label-helper-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.5 KB
...states.visual.spec.ts-snapshots/po-datepicker-state-readonly-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.08 KB
...states.visual.spec.ts-snapshots/po-datepicker-state-required-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.59 KB
....visual.spec.ts-snapshots/po-datepicker-state-required-error-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.23 KB
...cimal-states.visual.spec.ts-snapshots/po-decimal-state-basic-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+3.41 KB
...al-states.visual.spec.ts-snapshots/po-decimal-state-disabled-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+4.44 KB
...cimal-states.visual.spec.ts-snapshots/po-decimal-state-label-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.2 KB
...-states.visual.spec.ts-snapshots/po-decimal-state-label-help-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.45 KB
...tates.visual.spec.ts-snapshots/po-decimal-state-label-helper-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.47 KB
...mal-states.visual.spec.ts-snapshots/po-decimal-state-loading-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.47 KB
...sual.spec.ts-snapshots/po-decimal-state-loading-label-helper-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+4.9 KB
...al-states.visual.spec.ts-snapshots/po-decimal-state-readonly-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.66 KB
...al-states.visual.spec.ts-snapshots/po-decimal-state-required-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.21 KB
...tes.visual.spec.ts-snapshots/po-decimal-state-required-error-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.38 KB
...o-email-states.visual.spec.ts-snapshots/po-email-state-basic-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+3.73 KB
...mail-states.visual.spec.ts-snapshots/po-email-state-disabled-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+4.82 KB
...o-email-states.visual.spec.ts-snapshots/po-email-state-label-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.56 KB
...il-states.visual.spec.ts-snapshots/po-email-state-label-help-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.81 KB
...-states.visual.spec.ts-snapshots/po-email-state-label-helper-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.79 KB
...email-states.visual.spec.ts-snapshots/po-email-state-loading-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.79 KB
...visual.spec.ts-snapshots/po-email-state-loading-label-helper-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.85 KB
...mail-states.visual.spec.ts-snapshots/po-email-state-readonly-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.03 KB
...mail-states.visual.spec.ts-snapshots/po-email-state-required-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.53 KB
...tates.visual.spec.ts-snapshots/po-email-state-required-error-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.88 KB
...o-input-states.visual.spec.ts-snapshots/po-input-state-basic-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+3.41 KB
...nput-states.visual.spec.ts-snapshots/po-input-state-disabled-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+3.37 KB
...-input-states.visual.spec.ts-snapshots/po-input-state-helper-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+4.44 KB
...o-input-states.visual.spec.ts-snapshots/po-input-state-label-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.2 KB
...ut-states.visual.spec.ts-snapshots/po-input-state-label-help-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.45 KB
...-states.visual.spec.ts-snapshots/po-input-state-label-helper-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.15 KB
...es.visual.spec.ts-snapshots/po-input-state-label-helper-help-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.48 KB
...input-states.visual.spec.ts-snapshots/po-input-state-loading-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.29 KB
...tates.visual.spec.ts-snapshots/po-input-state-loading-helper-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.48 KB
...visual.spec.ts-snapshots/po-input-state-loading-label-helper-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.3 KB
...nput-states.visual.spec.ts-snapshots/po-input-state-readonly-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.66 KB
...nput-states.visual.spec.ts-snapshots/po-input-state-required-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.21 KB
...tates.visual.spec.ts-snapshots/po-input-state-required-error-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.54 KB
...o-login-states.visual.spec.ts-snapshots/po-login-state-basic-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+3.95 KB
...ogin-states.visual.spec.ts-snapshots/po-login-state-disabled-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.06 KB
...o-login-states.visual.spec.ts-snapshots/po-login-state-label-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.81 KB
...in-states.visual.spec.ts-snapshots/po-login-state-label-help-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.06 KB
...-states.visual.spec.ts-snapshots/po-login-state-label-helper-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.02 KB
...login-states.visual.spec.ts-snapshots/po-login-state-loading-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+6 KB
...visual.spec.ts-snapshots/po-login-state-loading-label-helper-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.49 KB
...ogin-states.visual.spec.ts-snapshots/po-login-state-readonly-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.29 KB
...ogin-states.visual.spec.ts-snapshots/po-login-state-required-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.78 KB
...tates.visual.spec.ts-snapshots/po-login-state-required-error-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.46 KB
...lookup-states.visual.spec.ts-snapshots/po-lookup-state-basic-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.09 KB
...lookup-states.visual.spec.ts-snapshots/po-lookup-state-clean-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.48 KB
...kup-states.visual.spec.ts-snapshots/po-lookup-state-disabled-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.04 KB
...lookup-states.visual.spec.ts-snapshots/po-lookup-state-label-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.79 KB
...p-states.visual.spec.ts-snapshots/po-lookup-state-label-help-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.04 KB
...states.visual.spec.ts-snapshots/po-lookup-state-label-helper-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.25 KB
...kup-states.visual.spec.ts-snapshots/po-lookup-state-required-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.45 KB
...t-states.visual.spec.ts-snapshots/po-multiselect-state-basic-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+3.56 KB
...tates.visual.spec.ts-snapshots/po-multiselect-state-disabled-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+4.67 KB
...t-states.visual.spec.ts-snapshots/po-multiselect-state-label-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.39 KB
...tes.visual.spec.ts-snapshots/po-multiselect-state-label-help-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.64 KB
...s.visual.spec.ts-snapshots/po-multiselect-state-label-helper-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+4.86 KB
...tates.visual.spec.ts-snapshots/po-multiselect-state-required-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.03 KB
...number-states.visual.spec.ts-snapshots/po-number-state-basic-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+3.41 KB
...ber-states.visual.spec.ts-snapshots/po-number-state-disabled-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+4.44 KB
...number-states.visual.spec.ts-snapshots/po-number-state-label-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.2 KB
...r-states.visual.spec.ts-snapshots/po-number-state-label-help-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.45 KB
...states.visual.spec.ts-snapshots/po-number-state-label-helper-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.47 KB
...mber-states.visual.spec.ts-snapshots/po-number-state-loading-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.47 KB
...isual.spec.ts-snapshots/po-number-state-loading-label-helper-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+4.59 KB
...ber-states.visual.spec.ts-snapshots/po-number-state-readonly-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.66 KB
...ber-states.visual.spec.ts-snapshots/po-number-state-required-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.86 KB
...ates.visual.spec.ts-snapshots/po-number-state-required-error-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.71 KB
...word-states.visual.spec.ts-snapshots/po-password-state-basic-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+3.69 KB
...d-states.visual.spec.ts-snapshots/po-password-state-disabled-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.1 KB
...word-states.visual.spec.ts-snapshots/po-password-state-label-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.86 KB
...states.visual.spec.ts-snapshots/po-password-state-label-help-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.1 KB
...ates.visual.spec.ts-snapshots/po-password-state-label-helper-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.78 KB
...rd-states.visual.spec.ts-snapshots/po-password-state-loading-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.77 KB
...ual.spec.ts-snapshots/po-password-state-loading-label-helper-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+4.38 KB
...d-states.visual.spec.ts-snapshots/po-password-state-readonly-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.3 KB
...d-states.visual.spec.ts-snapshots/po-password-state-required-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.81 KB
...es.visual.spec.ts-snapshots/po-password-state-required-error-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.41 KB
...p-states.visual.spec.ts-snapshots/po-radio-group-state-basic-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.66 KB
...tates.visual.spec.ts-snapshots/po-radio-group-state-disabled-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.93 KB
...tes.visual.spec.ts-snapshots/po-radio-group-state-label-help-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.21 KB
...s.visual.spec.ts-snapshots/po-radio-group-state-label-helper-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.48 KB
...tates.visual.spec.ts-snapshots/po-radio-group-state-required-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.08 KB
...ext-states.visual.spec.ts-snapshots/po-rich-text-state-basic-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.37 KB
...-states.visual.spec.ts-snapshots/po-rich-text-state-disabled-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.47 KB
...ext-states.visual.spec.ts-snapshots/po-rich-text-state-label-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+10.2 KB
...tates.visual.spec.ts-snapshots/po-rich-text-state-label-help-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.49 KB
...tes.visual.spec.ts-snapshots/po-rich-text-state-label-helper-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.81 KB
...-states.visual.spec.ts-snapshots/po-rich-text-state-readonly-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+9.68 KB
...-states.visual.spec.ts-snapshots/po-rich-text-state-required-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.53 KB
...select-states.visual.spec.ts-snapshots/po-select-state-basic-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.18 KB
...ect-states.visual.spec.ts-snapshots/po-select-state-disabled-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+4.63 KB
...select-states.visual.spec.ts-snapshots/po-select-state-label-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.38 KB
...t-states.visual.spec.ts-snapshots/po-select-state-label-help-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.63 KB
...states.visual.spec.ts-snapshots/po-select-state-label-helper-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.67 KB
...lect-states.visual.spec.ts-snapshots/po-select-state-loading-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.67 KB
...isual.spec.ts-snapshots/po-select-state-loading-label-helper-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.33 KB
...ect-states.visual.spec.ts-snapshots/po-select-state-readonly-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.83 KB
...ect-states.visual.spec.ts-snapshots/po-select-state-required-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+4.54 KB
...switch-states.visual.spec.ts-snapshots/po-switch-state-basic-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+4.77 KB
...es.visual.spec.ts-snapshots/po-switch-state-disabled-checked-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+4.85 KB
...tch-states.visual.spec.ts-snapshots/po-switch-state-disabled-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.49 KB
...states.visual.spec.ts-snapshots/po-switch-state-label-helper-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.08 KB
...witch-states.visual.spec.ts-snapshots/po-switch-state-labels-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+3.95 KB
...itch-states.visual.spec.ts-snapshots/po-switch-state-loading-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.43 KB
...area-states.visual.spec.ts-snapshots/po-textarea-state-basic-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+3.78 KB
...a-states.visual.spec.ts-snapshots/po-textarea-state-disabled-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+4.9 KB
...area-states.visual.spec.ts-snapshots/po-textarea-state-label-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.64 KB
...states.visual.spec.ts-snapshots/po-textarea-state-label-help-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.89 KB
...ates.visual.spec.ts-snapshots/po-textarea-state-label-helper-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.77 KB
...a-states.visual.spec.ts-snapshots/po-textarea-state-readonly-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.1 KB
...a-states.visual.spec.ts-snapshots/po-textarea-state-required-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.66 KB
...es.visual.spec.ts-snapshots/po-textarea-state-required-error-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.88 KB
...upload-states.visual.spec.ts-snapshots/po-upload-state-basic-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.26 KB
...oad-states.visual.spec.ts-snapshots/po-upload-state-disabled-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.15 KB
...upload-states.visual.spec.ts-snapshots/po-upload-state-label-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.75 KB
...d-states.visual.spec.ts-snapshots/po-upload-state-label-help-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.93 KB
...states.visual.spec.ts-snapshots/po-upload-state-label-helper-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.3 KB
...oad-states.visual.spec.ts-snapshots/po-upload-state-required-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+3.11 KB
...rl/po-url-states.visual.spec.ts-snapshots/po-url-state-basic-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+4.15 KB
...po-url-states.visual.spec.ts-snapshots/po-url-state-disabled-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.32 KB
...rl/po-url-states.visual.spec.ts-snapshots/po-url-state-label-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.09 KB
...-url-states.visual.spec.ts-snapshots/po-url-state-label-help-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.34 KB
...rl-states.visual.spec.ts-snapshots/po-url-state-label-helper-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.22 KB
.../po-url-states.visual.spec.ts-snapshots/po-url-state-loading-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.22 KB
...s.visual.spec.ts-snapshots/po-url-state-loading-label-helper-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.79 KB
...po-url-states.visual.spec.ts-snapshots/po-url-state-readonly-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.54 KB
...po-url-states.visual.spec.ts-snapshots/po-url-state-required-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.11 KB
...-states.visual.spec.ts-snapshots/po-url-state-required-error-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.26 KB
...ion/po-accordion.visual.spec.ts-snapshots/po-accordion-basic-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.11 KB
...-button-group.visual.spec.ts-snapshots/po-button-group-basic-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.5 KB
...po-button/po-button.visual.spec.ts-snapshots/po-button-basic-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.35 KB
...ckbox/po-checkbox.visual.spec.ts-snapshots/po-checkbox-basic-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+221 Bytes
...divider/po-divider.visual.spec.ts-snapshots/po-divider-basic-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.19 KB
...input/po-input-basic.visual.spec.ts-snapshots/po-input-basic-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.88 KB
...o-input-states.visual.spec.ts-snapshots/po-input-state-basic-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+3.41 KB
...nput-states.visual.spec.ts-snapshots/po-input-state-disabled-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+3.37 KB
...-input-states.visual.spec.ts-snapshots/po-input-state-helper-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+4.44 KB
...o-input-states.visual.spec.ts-snapshots/po-input-state-label-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.2 KB
...ut-states.visual.spec.ts-snapshots/po-input-state-label-help-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.45 KB
...-states.visual.spec.ts-snapshots/po-input-state-label-helper-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.15 KB
...es.visual.spec.ts-snapshots/po-input-state-label-helper-help-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.48 KB
...input-states.visual.spec.ts-snapshots/po-input-state-loading-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.29 KB
...tates.visual.spec.ts-snapshots/po-input-state-loading-helper-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.48 KB
...visual.spec.ts-snapshots/po-input-state-loading-label-helper-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.3 KB
...nput-states.visual.spec.ts-snapshots/po-input-state-readonly-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+4.68 KB
...nput-states.visual.spec.ts-snapshots/po-input-state-required-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+6.21 KB
...tates.visual.spec.ts-snapshots/po-input-state-required-error-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+351 Bytes
...gress/po-progress.visual.spec.ts-snapshots/po-progress-basic-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+2.74 KB
...po-select/po-select.visual.spec.ts-snapshots/po-select-basic-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+4.1 KB
...po-switch/po-switch.visual.spec.ts-snapshots/po-switch-basic-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+5.34 KB
...__/po-table/po-table.visual.spec.ts-snapshots/po-table-basic-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+1.07 KB
...pshots__/po-tag/po-tag.visual.spec.ts-snapshots/po-tag-basic-chromium-linux.png
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| import { Component } from '@angular/core'; | ||
|
|
||
| @Component({ | ||
| selector: 'app-root', | ||
| template: '<router-outlet></router-outlet>', | ||
| standalone: false | ||
| }) | ||
| export class AppComponent {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,135 @@ | ||
| import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http'; | ||
| import { BrowserModule } from '@angular/platform-browser'; | ||
| import { FormsModule } from '@angular/forms'; | ||
| import { NgModule } from '@angular/core'; | ||
| import { RouterModule, Routes } from '@angular/router'; | ||
|
|
||
| import { PoModule } from '@po-ui/ng-components'; | ||
|
|
||
| import { AppComponent } from './app.component'; | ||
|
|
||
| // Sample components - Buttons & Controls | ||
| import { SamplePoButtonBasicComponent } from '../../../projects/ui/src/lib/components/po-button/samples/sample-po-button-basic/sample-po-button-basic.component'; | ||
| import { SamplePoButtonGroupBasicComponent } from '../../../projects/ui/src/lib/components/po-button-group/samples/sample-po-button-group-basic/sample-po-button-group-basic.component'; | ||
|
|
||
| // Sample components - Form Fields | ||
| import { SamplePoInputBasicComponent } from '../../../projects/ui/src/lib/components/po-field/po-input/samples/sample-po-input-basic/sample-po-input-basic.component'; | ||
| import { SamplePoCheckboxBasicComponent } from '../../../projects/ui/src/lib/components/po-field/po-checkbox/samples/sample-po-checkbox-basic/sample-po-checkbox-basic.component'; | ||
| import { SamplePoSwitchBasicComponent } from '../../../projects/ui/src/lib/components/po-field/po-switch/samples/sample-po-switch-basic/sample-po-switch-basic.component'; | ||
| import { SamplePoSelectBasicComponent } from '../../../projects/ui/src/lib/components/po-field/po-select/samples/sample-po-select-basic/sample-po-select-basic.component'; | ||
|
|
||
| // Sample components - Data Display | ||
| import { SamplePoTableBasicComponent } from '../../../projects/ui/src/lib/components/po-table/samples/sample-po-table-basic/sample-po-table-basic.component'; | ||
| import { SamplePoTagBasicComponent } from '../../../projects/ui/src/lib/components/po-tag/samples/sample-po-tag-basic/sample-po-tag-basic.component'; | ||
|
|
||
| // Sample components - Layout & Navigation | ||
| import { SamplePoAccordionBasicComponent } from '../../../projects/ui/src/lib/components/po-accordion/samples/sample-po-accordion-basic/sample-po-accordion-basic.component'; | ||
| import { SamplePoDividerBasicComponent } from '../../../projects/ui/src/lib/components/po-divider/samples/sample-po-divider-basic/sample-po-divider-basic.component'; | ||
| import { SamplePoProgressBasicComponent } from '../../../projects/ui/src/lib/components/po-progress/samples/sample-po-progress-basic/sample-po-progress-basic.component'; | ||
|
|
||
| // Visual test - po-input states (legacy route, kept for backward compatibility) | ||
| import { VisualTestPoInputStatesComponent } from '../po-input/po-input-states.component'; | ||
|
|
||
| // Visual test - Field state components (co-located in e2e/visual/fields/) | ||
| import { VisualTestPoInputFieldStatesComponent } from '../fields/po-input/po-input-states.component'; | ||
| import { VisualTestPoDecimalStatesComponent } from '../fields/po-decimal/po-decimal-states.component'; | ||
| import { VisualTestPoEmailStatesComponent } from '../fields/po-email/po-email-states.component'; | ||
| import { VisualTestPoNumberStatesComponent } from '../fields/po-number/po-number-states.component'; | ||
| import { VisualTestPoPasswordStatesComponent } from '../fields/po-password/po-password-states.component'; | ||
| import { VisualTestPoUrlStatesComponent } from '../fields/po-url/po-url-states.component'; | ||
| import { VisualTestPoLoginStatesComponent } from '../fields/po-login/po-login-states.component'; | ||
| import { VisualTestPoComboStatesComponent } from '../fields/po-combo/po-combo-states.component'; | ||
| import { VisualTestPoDatepickerStatesComponent } from '../fields/po-datepicker/po-datepicker-states.component'; | ||
| import { VisualTestPoDatepickerRangeStatesComponent } from '../fields/po-datepicker-range/po-datepicker-range-states.component'; | ||
| import { VisualTestPoLookupStatesComponent } from '../fields/po-lookup/po-lookup-states.component'; | ||
| import { VisualTestPoMultiselectStatesComponent } from '../fields/po-multiselect/po-multiselect-states.component'; | ||
| import { VisualTestPoSelectStatesComponent } from '../fields/po-select/po-select-states.component'; | ||
| import { VisualTestPoTextareaStatesComponent } from '../fields/po-textarea/po-textarea-states.component'; | ||
| import { VisualTestPoRichTextStatesComponent } from '../fields/po-rich-text/po-rich-text-states.component'; | ||
| import { VisualTestPoUploadStatesComponent } from '../fields/po-upload/po-upload-states.component'; | ||
| import { VisualTestPoCheckboxStatesComponent } from '../fields/po-checkbox/po-checkbox-states.component'; | ||
| import { VisualTestPoCheckboxGroupStatesComponent } from '../fields/po-checkbox-group/po-checkbox-group-states.component'; | ||
| import { VisualTestPoSwitchStatesComponent } from '../fields/po-switch/po-switch-states.component'; | ||
| import { VisualTestPoRadioGroupStatesComponent } from '../fields/po-radio-group/po-radio-group-states.component'; | ||
|
|
||
| const visualRoutes: Routes = [ | ||
| // Basic sample routes | ||
| { path: 'visual/po-button-basic', component: SamplePoButtonBasicComponent }, | ||
| { path: 'visual/po-button-group-basic', component: SamplePoButtonGroupBasicComponent }, | ||
| { path: 'visual/po-input-basic', component: SamplePoInputBasicComponent }, | ||
| { path: 'visual/po-checkbox-basic', component: SamplePoCheckboxBasicComponent }, | ||
| { path: 'visual/po-switch-basic', component: SamplePoSwitchBasicComponent }, | ||
| { path: 'visual/po-select-basic', component: SamplePoSelectBasicComponent }, | ||
| { path: 'visual/po-table-basic', component: SamplePoTableBasicComponent }, | ||
| { path: 'visual/po-tag-basic', component: SamplePoTagBasicComponent }, | ||
| { path: 'visual/po-accordion-basic', component: SamplePoAccordionBasicComponent }, | ||
| { path: 'visual/po-divider-basic', component: SamplePoDividerBasicComponent }, | ||
| { path: 'visual/po-progress-basic', component: SamplePoProgressBasicComponent }, | ||
| { path: 'visual/po-input-states', component: VisualTestPoInputStatesComponent }, | ||
|
|
||
| // Field state combination routes (e2e/visual/fields/) | ||
| { path: 'visual/fields/po-input-states', component: VisualTestPoInputFieldStatesComponent }, | ||
| { path: 'visual/fields/po-decimal-states', component: VisualTestPoDecimalStatesComponent }, | ||
| { path: 'visual/fields/po-email-states', component: VisualTestPoEmailStatesComponent }, | ||
| { path: 'visual/fields/po-number-states', component: VisualTestPoNumberStatesComponent }, | ||
| { path: 'visual/fields/po-password-states', component: VisualTestPoPasswordStatesComponent }, | ||
| { path: 'visual/fields/po-url-states', component: VisualTestPoUrlStatesComponent }, | ||
| { path: 'visual/fields/po-login-states', component: VisualTestPoLoginStatesComponent }, | ||
| { path: 'visual/fields/po-combo-states', component: VisualTestPoComboStatesComponent }, | ||
| { path: 'visual/fields/po-datepicker-states', component: VisualTestPoDatepickerStatesComponent }, | ||
| { path: 'visual/fields/po-datepicker-range-states', component: VisualTestPoDatepickerRangeStatesComponent }, | ||
| { path: 'visual/fields/po-lookup-states', component: VisualTestPoLookupStatesComponent }, | ||
| { path: 'visual/fields/po-multiselect-states', component: VisualTestPoMultiselectStatesComponent }, | ||
| { path: 'visual/fields/po-select-states', component: VisualTestPoSelectStatesComponent }, | ||
| { path: 'visual/fields/po-textarea-states', component: VisualTestPoTextareaStatesComponent }, | ||
| { path: 'visual/fields/po-rich-text-states', component: VisualTestPoRichTextStatesComponent }, | ||
| { path: 'visual/fields/po-upload-states', component: VisualTestPoUploadStatesComponent }, | ||
| { path: 'visual/fields/po-checkbox-states', component: VisualTestPoCheckboxStatesComponent }, | ||
| { path: 'visual/fields/po-checkbox-group-states', component: VisualTestPoCheckboxGroupStatesComponent }, | ||
| { path: 'visual/fields/po-switch-states', component: VisualTestPoSwitchStatesComponent }, | ||
| { path: 'visual/fields/po-radio-group-states', component: VisualTestPoRadioGroupStatesComponent } | ||
| ]; | ||
|
|
||
| @NgModule({ | ||
| declarations: [ | ||
| AppComponent, | ||
| // Basic samples | ||
| SamplePoButtonBasicComponent, | ||
| SamplePoButtonGroupBasicComponent, | ||
| SamplePoInputBasicComponent, | ||
| SamplePoCheckboxBasicComponent, | ||
| SamplePoSwitchBasicComponent, | ||
| SamplePoSelectBasicComponent, | ||
| SamplePoTableBasicComponent, | ||
| SamplePoTagBasicComponent, | ||
| SamplePoAccordionBasicComponent, | ||
| SamplePoDividerBasicComponent, | ||
| SamplePoProgressBasicComponent, | ||
| VisualTestPoInputStatesComponent, | ||
| // Field state components | ||
| VisualTestPoInputFieldStatesComponent, | ||
| VisualTestPoDecimalStatesComponent, | ||
| VisualTestPoEmailStatesComponent, | ||
| VisualTestPoNumberStatesComponent, | ||
| VisualTestPoPasswordStatesComponent, | ||
| VisualTestPoUrlStatesComponent, | ||
| VisualTestPoLoginStatesComponent, | ||
| VisualTestPoComboStatesComponent, | ||
| VisualTestPoDatepickerStatesComponent, | ||
| VisualTestPoDatepickerRangeStatesComponent, | ||
| VisualTestPoLookupStatesComponent, | ||
| VisualTestPoMultiselectStatesComponent, | ||
| VisualTestPoSelectStatesComponent, | ||
| VisualTestPoTextareaStatesComponent, | ||
| VisualTestPoRichTextStatesComponent, | ||
| VisualTestPoUploadStatesComponent, | ||
| VisualTestPoCheckboxStatesComponent, | ||
| VisualTestPoCheckboxGroupStatesComponent, | ||
| VisualTestPoSwitchStatesComponent, | ||
| VisualTestPoRadioGroupStatesComponent | ||
| ], | ||
| bootstrap: [AppComponent], | ||
| imports: [BrowserModule, FormsModule, RouterModule.forRoot(visualRoutes, {}), PoModule], | ||
| providers: [provideHttpClient(withInterceptorsFromDi())] | ||
| }) | ||
| export class VisualAppModule {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| <!doctype html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="utf-8" /> | ||
| <title>PO UI Visual Regression Tests</title> | ||
| <base href="/" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
| </head> | ||
| <body> | ||
| <app-root></app-root> | ||
| </body> | ||
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| import { enableProdMode, provideZoneChangeDetection } from '@angular/core'; | ||
| import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; | ||
|
|
||
| import { VisualAppModule } from './app.module'; | ||
|
|
||
| platformBrowserDynamic() | ||
| .bootstrapModule(VisualAppModule, { applicationProviders: [provideZoneChangeDetection()] }) | ||
| .catch(err => console.error('Error in visual-app bootstrap:', err)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| import 'zone.js'; |
41 changes: 41 additions & 0 deletions
41
e2e/visual/fields/po-checkbox-group/po-checkbox-group-states.component.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| <div style="padding: 16px; display: flex; flex-direction: column; gap: 24px"> | ||
| <!-- State: basic --> | ||
| <div data-testid="state-basic"> | ||
| <po-checkbox-group name="basic" p-label="Grupo basico" [p-options]="options"></po-checkbox-group> | ||
| </div> | ||
|
|
||
| <!-- State: label + helper --> | ||
| <div data-testid="state-label-helper"> | ||
| <po-checkbox-group | ||
| name="label-helper" | ||
| p-label="Grupo com helper" | ||
| p-helper="Texto de ajuda do helper" | ||
| [p-options]="options" | ||
| ></po-checkbox-group> | ||
| </div> | ||
|
|
||
| <!-- State: label + help-text --> | ||
| <div data-testid="state-label-help"> | ||
| <po-checkbox-group | ||
| name="label-help" | ||
| p-label="Grupo com help" | ||
| p-help="Texto de apoio do campo" | ||
| [p-options]="options" | ||
| ></po-checkbox-group> | ||
| </div> | ||
|
|
||
| <!-- State: disabled --> | ||
| <div data-testid="state-disabled"> | ||
| <po-checkbox-group | ||
| name="disabled" | ||
| p-label="Grupo desabilitado" | ||
| p-disabled | ||
| [p-options]="options" | ||
| ></po-checkbox-group> | ||
| </div> | ||
|
|
||
| <!-- State: required --> | ||
| <div data-testid="state-required"> | ||
| <po-checkbox-group name="required" p-label="Grupo obrigatorio" p-required [p-options]="options"></po-checkbox-group> | ||
| </div> | ||
| </div> |
14 changes: 14 additions & 0 deletions
14
e2e/visual/fields/po-checkbox-group/po-checkbox-group-states.component.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| import { Component } from '@angular/core'; | ||
|
|
||
| @Component({ | ||
| selector: 'app-visual-test-po-checkbox-group-states', | ||
| templateUrl: './po-checkbox-group-states.component.html', | ||
| standalone: false | ||
| }) | ||
| export class VisualTestPoCheckboxGroupStatesComponent { | ||
| options = [ | ||
| { label: 'Opcao 1', value: '1' }, | ||
| { label: 'Opcao 2', value: '2' }, | ||
| { label: 'Opcao 3', value: '3' } | ||
| ]; | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 CI baseline regeneration overwrites committed baselines, making visual regression tests always pass on cache miss
When
cache-hit != 'true'(which happens whenever spec/HTML files change, when the cache is evicted, or on first runs for new branches), the CI runsnpx playwright test --update-snapshotswhich regenerates all 186 committed baseline screenshots from the current code. The subsequentnpx playwright testthen compares against those just-generated baselines, which trivially always passes.This completely defeats the purpose of visual regression testing in the exact scenario where it matters most: when a developer modifies UI components AND updates test files in the same PR. The
--update-snapshotsflag updates ALL snapshots (not just missing ones), so even existing tests that should catch regressions in unchanged components get their baselines silently overwritten.Additionally, the
restore-keysfallback (visual-baselines-${{ runner.os }}-) provides no benefit—actions/cache@v4setscache-hittofalsefor restore-key matches, so the restored baselines are immediately overwritten by the regeneration step.The baselines are committed to the repo but ignored by CI
There are 186 baseline PNGs committed in
e2e/visual/__snapshots__/which represent the approved visual state. The checkout step (actions/checkout@v3) makes them available, but the regeneration step at line 255 overwrites them. The fix should check if committed baselines already exist before regenerating, e.g.:Was this helpful? React with 👍 or 👎 to provide feedback.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
O ponto é válido, mas intencional neste caso. As baselines commitadas no repo são geradas em ambiente local (para desenvolvimento) e possuem dimensões ligeiramente diferentes do ambiente CI (GitHub Actions Ubuntu 24.04) — por exemplo, o
po-textarearenderiza com 7px de diferença na altura entre os dois ambientes. Se usássemos as baselines commitadas diretamente no CI, os testes sempre falhariam por mismatch de dimensão.O fluxo desenhado é:
Quando os arquivos de spec/HTML mudam, o cache key muda e baselines são regeneradas — isso é esperado, pois os testes mudaram.
Para detecção de regressão cross-versão mais robusta (comparando contra baselines de uma branch base), seria necessário um approach mais sofisticado como Chromatic ou cache baseado na branch target. Isso pode ser evoluído em iterações futuras.