summaryrefslogtreecommitdiff
path: root/tests/unit/Global/__snapshots__/InfoTooltip.spec.js.snap
diff options
context:
space:
mode:
authorYoshie Muranaka <yoshiemuranaka@gmail.com>2021-01-29 20:48:54 +0300
committerYoshie Muranaka <yoshiemuranaka@gmail.com>2021-01-29 20:48:54 +0300
commit6e89ba6c924d8607169dd9dfe7d130b55a21a7e4 (patch)
treedc7d767126b78e26d9bc7409aa84130063618601 /tests/unit/Global/__snapshots__/InfoTooltip.spec.js.snap
parent6e2cb978428ba078ebe0d171a69322308ab48d48 (diff)
downloadwebui-vue-6e89ba6c924d8607169dd9dfe7d130b55a21a7e4.tar.xz
Update failing unit tests
Accessibility updates for icon only buttons required updates to snapshot unit tests. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ia2bb1576f53d3f38c4c68879b5273edd3d33b92d
Diffstat (limited to 'tests/unit/Global/__snapshots__/InfoTooltip.spec.js.snap')
-rw-r--r--tests/unit/Global/__snapshots__/InfoTooltip.spec.js.snap7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/unit/Global/__snapshots__/InfoTooltip.spec.js.snap b/tests/unit/Global/__snapshots__/InfoTooltip.spec.js.snap
index 9b660389..9f988f53 100644
--- a/tests/unit/Global/__snapshots__/InfoTooltip.spec.js.snap
+++ b/tests/unit/Global/__snapshots__/InfoTooltip.spec.js.snap
@@ -2,7 +2,6 @@
exports[`InfoTooltip.vue should render correctly 1`] = `
<button
- aria-label="global.ariaLabel.tooltip"
class="btn btn-tooltip btn-icon-only btn-link"
title="A tooltip test title"
type="button"
@@ -24,5 +23,11 @@ exports[`InfoTooltip.vue should render correctly 1`] = `
d="M8,15c-3.9,0-7-3.1-7-7s3.1-7,7-7s7,3.1,7,7S11.9,15,8,15z M8,2C4.7,2,2,4.7,2,8s2.7,6,6,6s6-2.7,6-6S11.3,2,8,2z"
/>
</svg>
+
+ <span
+ class="sr-only"
+ >
+ global.ariaLabel.tooltip
+ </span>
</button>
`;