diff --git a/src/common-components/textbox-question/textbox-question.spec.js b/src/common-components/textbox-question/textbox-question.spec.js index e92ed342d..bfc65da16 100644 --- a/src/common-components/textbox-question/textbox-question.spec.js +++ b/src/common-components/textbox-question/textbox-question.spec.js @@ -53,7 +53,7 @@ describe("textboxQuestion.vue", () => { expect(paragraph.attributes("class")).toContain("rounded-pill"); }); - it.only("Should return text-center class", async () => { + it.only("Should return form-control class", async () => { // Act const wrapper = shallowMount(textboxQuestion, { global: { @@ -70,7 +70,7 @@ describe("textboxQuestion.vue", () => { // Assert const paragraph = wrapper.find("input"); - expect(paragraph.attributes("class")).toContain("text-center"); + expect(paragraph.attributes("class")).toContain("form-control"); }); it("Should render the 'questionText' data value as the label text when disableAutoFill is false.", async () => {