-
Notifications
You must be signed in to change notification settings - Fork 815
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test to ensure a correct interaction with caching.
This snapshot test will only be enforced after #3464 is fixed, at which point the snapshot test should be similar to test_component_classes_opacity, but where each sentence is slightly visible in a faded shade or red.
- Loading branch information
1 parent
56a3410
commit 594f0ed
Showing
3 changed files
with
83 additions
and
26 deletions.
There are no files selected for viewing
This file contains 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
25 changes: 25 additions & 0 deletions
25
tests/snapshot_tests/snapshot_apps/component_classes_opacity.tcss
This file contains 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,25 @@ | ||
|
||
* { | ||
max-height: 3; | ||
} | ||
Checkbox > .toggle--label, | ||
DataTable > .datatable--header, | ||
DirectoryTree > .directory-tree--file, | ||
DirectoryTree > .directory-tree--folder, | ||
Footer > .footer--description, | ||
Footer > .footer--key, | ||
Input > .input--placeholder, | ||
Markdown > .code_inline, | ||
Markdown > .em, | ||
Markdown > .s, | ||
Markdown > .strong, | ||
OptionList > .option-list--option-highlighted, | ||
ProgressBar Bar > .bar--bar, | ||
RadioButton > .toggle--label, | ||
SelectionList > .selection-list--button-highlighted, | ||
Switch > .switch--slider, | ||
Toast > .toast--title, | ||
Tree > .tree--label { | ||
text-opacity: 50%; | ||
color:red; | ||
} |
This file contains 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