-
Notifications
You must be signed in to change notification settings - Fork 239
feat(visual-regression): testes visuais para todos os fields #2791
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
1
commit into
master
Choose a base branch
from
visual-regression/prototype-playwright-v3
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
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 visual regression tests always pass on cache miss due to self-comparison
When the baselines cache key doesn't match exactly (which happens whenever any
*.visual.spec.tsor*.component.htmlfile ine2e/visual/changes), the CI workflow generates fresh baselines with--update-snapshots(line 255) and then immediately runs the tests comparing against those same just-generated baselines (line 259). Since the screenshots are compared against themselves, the tests always pass unconditionally. This means any PR that adds or modifies visual test files — including this very PR — will never detect a visual regression, even if the actual UI components have visual defects. The 186 committed baseline PNGs in__snapshots__/are also overwritten in every CI run (either by cache restore or by--update-snapshots), so they are never used as a reference in CI.Prompt for agents
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.
Esse trade-off é intencional e está documentado na descrição da PR. O motivo: as baselines commitadas no repo são geradas em ambiente local e possuem dimensões diferentes do CI (ex:
<textarea>renderiza com 7px de diferença na altura entre Ubuntu local e GitHub Actions Ubuntu 24.04). Usar as baselines commitadas diretamente no CI sempre falharia por mismatch de dimensão.O fluxo atual:
Para detecção cross-versão mais robusta (comparando PRs contra baselines da branch base), a sugestão de usar
visual-baselines-${{ runner.os }}-${{ github.event.pull_request.base.sha }}é boa e pode ser implementada numa iteração futura.