File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export class SnapshotFormatter {
2020
2121 // Top-level content of the snapshot.
2222 if (
23- this . #snapshot. verbose &&
23+ ! this . #snapshot. verbose &&
2424 this . #snapshot. hasSelectedElement &&
2525 ! this . #snapshot. selectedElementUid
2626 ) {
Original file line number Diff line number Diff line change 11exports[`snapshotFormatter > does not include a note if the snapshot is already verbose 1`] = `
2- Note: there is a selected element in the DevTools Elements panel but it is not included into the current a11y tree snapshot.
3- Get a verbose snapshot to include all elements if you are interested in the selected element.
4-
52uid=1_1 checkbox "checkbox" checked
63 uid=1_2 statictext "text"
74
@@ -14,6 +11,9 @@ uid=1_1 checkbox "checkbox" checked [selected in the DevTools Elements panel]
1411`;
1512
1613exports[`snapshotFormatter > formats with DevTools data not included into a snapshot 1`] = `
14+ Note: there is a selected element in the DevTools Elements panel but it is not included into the current a11y tree snapshot.
15+ Get a verbose snapshot to include all elements if you are interested in the selected element.
16+
1717uid=1_1 checkbox "checkbox" checked
1818 uid=1_2 statictext "text"
1919
You can’t perform that action at this time.
0 commit comments