Skip to content

[Price/isPaid] 0.01 isn't a valid value for the price of a paid competitive event and workshop #3222

Description

@Yana-Iv

Environment: Windows 10 (v.:1809), Google Chrome (v.: 141.0.7390.123 );
Reproducible: always
Build found: commit 5c92e43

SCENARIO-I
Preconditions

  1. Go to https://pozashkillia-test.iea.gov.ua/#/
  2. Log in as a service provider.
  3. Open the New Competition window.
  4. Fill in the required fields to create a competition draft.

Steps to reproduce

  1. Select the 'isPaid: true' function on the 'Опис' tab.
  2. Enter 0,01 or 0.01 value for the price.
  3. Pay attention to the result.

Actual result

Image

Expected result
0.01 is a valid value for the price of a paid competitive event

SCENARIO-II
Preconditions

  1. Go to https://pozashkillia-test.iea.gov.ua/#/
  2. Log in as a service provider.
  3. Open the New Workshop window.
  4. Fill in the required fields to create a competition draft.

Steps to reproduce

  1. Select the 'isPaid: true' function on the 'Додатково' tab.
  2. Enter 0,01 or 0.01 value for the price.
  3. Pay attention to the result.

Actual result

Image

Expected result
0.01 is a valid value for the price of a paid workshop.

Postconditions
Delete the competition draft.

User story
https://github.com/ita-social-projects/OoS-Frontend/wiki/Validation-Rules-For-All-the-Forms

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

  • Status
    In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions