diff --git a/src/ux-components/radio-horizontal/radio-horizontal.spec.js b/src/ux-components/radio-horizontal/radio-horizontal.spec.js index d98130c33..ec12ce7ea 100644 --- a/src/ux-components/radio-horizontal/radio-horizontal.spec.js +++ b/src/ux-components/radio-horizontal/radio-horizontal.spec.js @@ -1,10 +1,10 @@ import { shallowMount } from "@vue/test-utils"; -import radio from "./radio"; +import radioHorizontal from "./radio-horizontal"; describe("radio.vue", () => { it("Should render the 'radioID' prop value as the label and id value as well as the radio button value, groupName as the name value, and fire a click even that sets the display data attribute to true.", async () => { // Act - const wrapper = shallowMount(radio, { + const wrapper = shallowMount(radioHorizontal, { propsData: { radioID: "2023", groupName: "TestGroup", @@ -31,9 +31,9 @@ describe("radio.vue", () => { expect(label.attributes()).toEqual({ role: "radio", - tabindex: "0", + tabindex: "-1", for: "2023", - class: "d-flex flex-column justify-content-center py-3 px-4", + class: "d-flex flex-column justify-content-center py-3 px-4 last-item", "aria-checked": "false" }); diff --git a/src/ux-components/radio-horizontal/radio-horizontal.vue b/src/ux-components/radio-horizontal/radio-horizontal.vue index 73d8a72d0..41fea15b3 100644 --- a/src/ux-components/radio-horizontal/radio-horizontal.vue +++ b/src/ux-components/radio-horizontal/radio-horizontal.vue @@ -1,7 +1,7 @@