Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: choice response id validation #2574

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

pnal
Copy link
Contributor

@pnal pnal commented Feb 4, 2025

This PR adds pre-validation for choice identifiers selected by a test taker

How to test:

  • run a delivery with choice interaction
  • fake selected choice identifier in DOM or (move request)
  • submit
  • check delivery results and Response saved for the item includes a fake one
  • enable the FF
  • do the same
  • ensure that submit in the same case is declined with a message
Screenshare.-.2025-02-04.8_45_48.PM.mp4

Copy link

github-actions bot commented Feb 4, 2025

Front-end summary Node 18

💯 Total ✅ Passed ⏭️ Skipped ❌ Failed
709 709 0 0

Copy link

github-actions bot commented Feb 4, 2025

Version

Target Version 48.20.0
Last version 48.19.1

There are 0 BREAKING CHANGE, 1 feature, 1 fix

Copy link
Contributor

@tikhanovichA tikhanovichA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Checklist

  • New code is covered by tests (if applicable)
  • Tests are running successfully (old and new ones) on my local machine (if applicable)
  • New code is respecting code style rules
  • New code is respecting best practices
  • New code is not subject to concurrency issues (if applicable)
  • Feature is working correctly on my local machine (if applicable)
  • Acceptance criteria are respected
  • Pull request title and description are meaningful
  • Pull request's target is not master
  • Commits are following conventional commits
  • Commits messages are meaningful
  • Commits are atomic
  • Changelog is updated according to changes (if applicable)
  • Documentation is updated according to changes (if applicable)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants