Conversation
Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium) from 4.45.0 to 4.46.0. - [Release notes](https://github.com/SeleniumHQ/selenium/releases) - [Changelog](https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES) - [Commits](SeleniumHQ/selenium@selenium-4.45.0...selenium-4.46.0) --- updated-dependencies: - dependency-name: selenium-webdriver dependency-version: 4.46.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [simplecov](https://github.com/simplecov-ruby/simplecov) from 0.22.0 to 1.0.1. - [Release notes](https://github.com/simplecov-ruby/simplecov/releases) - [Changelog](https://github.com/simplecov-ruby/simplecov/blob/main/CHANGELOG.md) - [Commits](simplecov-ruby/simplecov@v0.22.0...v1.0.1) --- updated-dependencies: - dependency-name: simplecov dependency-version: 1.0.1 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…ent questionnaire
…link-fields Fix: undefined method 'strftime' for ActionText::RichText in questionnaire edit view
…river-4.46.0 Bump selenium-webdriver from 4.45.0 to 4.46.0
Bump simplecov from 0.22.0 to 1.0.1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request improves the handling of prefilled answers for "datetime" and "link" question types in the student questionnaire form, ensuring that content stored as ActionText (rich text) or plain text is displayed and saved correctly. It also adds a system test to verify this behavior.
Improvements to answer handling in the questionnaire form:
edit.html.erbto consistently extract and sanitize the value for "datetime" and "link" fields, supporting both plain text and ActionText content, and ensuring robust parsing for datetime values.Automated testing:
student_questionnaire_flow_spec.rbthat verifies "datetime" and "link" answers are correctly prefilled from ActionText content, can be edited, and are saved as expected.