@gamelearn/arcade-components 3.18.3 → 3.18.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -58078,6 +58078,7 @@ function ApplicableBox({ setSurveyData: l, survey: e, id: n, translate: t, chang
58078
58078
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
58079
58079
  "button",
58080
58080
  {
58081
+ "data-testid": `applicablebox-${OPTIONS[f]}`,
58081
58082
  type: "button",
58082
58083
  onClick: () => o(d),
58083
58084
  className: `unset-button survey--response__item ${e[n] === d ? "selected" : ""}`,
@@ -58165,6 +58166,7 @@ function SurveyComponent({ emitEvent: l, soundActions: e }) {
58165
58166
  "label",
58166
58167
  {
58167
58168
  className: "survey--questions__item",
58169
+ "data-testid": `survey.question${s + 1}`,
58168
58170
  htmlFor: u(`survey.question${s + 1}`, { ordinal: s + 1 }),
58169
58171
  children: u(`survey.question${s + 1}`, { ordinal: s + 1 })
58170
58172
  }
@@ -58185,6 +58187,7 @@ function SurveyComponent({ emitEvent: l, soundActions: e }) {
58185
58187
  /* @__PURE__ */ jsxRuntimeExports.jsx(
58186
58188
  "button",
58187
58189
  {
58190
+ "data-testid": "backButton",
58188
58191
  id: "survey-button-back",
58189
58192
  type: "button",
58190
58193
  disabled: s === 0,
@@ -58197,6 +58200,7 @@ function SurveyComponent({ emitEvent: l, soundActions: e }) {
58197
58200
  d && s === PAGES.length - 1 ? /* @__PURE__ */ jsxRuntimeExports.jsx(
58198
58201
  "button",
58199
58202
  {
58203
+ "data-testid": "survey.finish",
58200
58204
  id: "survey-button",
58201
58205
  type: "button",
58202
58206
  disabled: !n[PAGES[s].id],
@@ -58210,6 +58214,7 @@ function SurveyComponent({ emitEvent: l, soundActions: e }) {
58210
58214
  !d && s !== PAGES.length ? /* @__PURE__ */ jsxRuntimeExports.jsx(
58211
58215
  "button",
58212
58216
  {
58217
+ "data-testid": "nextButton",
58213
58218
  id: "survey-button",
58214
58219
  type: "button",
58215
58220
  disabled: !n[PAGES[s].id],