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

[INF-227] Enforce correct response value complies with base type #2433

Merged
merged 16 commits into from
Jan 31, 2024

Conversation

KirylHatalski
Copy link
Contributor

@KirylHatalski KirylHatalski commented Jan 12, 2024

Ticket: INF-227

What's Changed

  • Fixed test creator ability to set incorrect type of data on correct answer step

Demo

image

How to test

  • Create a test with an item with a Text Entry interaction with Response base type set as integer.
  • Try to set correct answer with float or string
  • Value should be converted to setted type

Kitchen

Copy link
Contributor

@viktar-dzmitryieu-tao viktar-dzmitryieu-tao left a comment

Choose a reason for hiding this comment

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

  • 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

Copy link
Contributor

@andreluizmachado andreluizmachado left a comment

Choose a reason for hiding this comment

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

Before my approval, can you check why ci is failing?

Copy link

github-actions bot commented Jan 17, 2024

Front-end summary Node 18

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

@codecov-commenter
Copy link

codecov-commenter commented Jan 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0ea6f4f) 16.07% compared to head (13e16a1) 16.07%.
Report is 16 commits behind head on develop.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #2433   +/-   ##
==========================================
  Coverage      16.07%   16.07%           
  Complexity      4207     4207           
==========================================
  Files            391      391           
  Lines          13486    13486           
==========================================
  Hits            2168     2168           
  Misses         11318    11318           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@viktar-dzmitryieu-tao viktar-dzmitryieu-tao left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link

Version

Target Version 30.5.4
Last version 30.5.3

There are 0 BREAKING CHANGE, 0 feature, 16 fixes

@KirylHatalski KirylHatalski merged commit 4d78206 into develop Jan 31, 2024
5 of 6 checks passed
@KirylHatalski KirylHatalski deleted the fix/INF-227/tc-input-types-conversion branch January 31, 2024 12:11
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.

4 participants