Skip to content

negative/positive numbers validation #63

Description

@scottnath

Plugin needs validation to configure this plugin to only allow negative or positive numbers

Feature: Negative or positive
  As a content creator
  I want to have feedback if I entered incorrect numbers
  So that I can understand that I am not allowed to enter numbers which are positive or negative

  Scenario: Negative not allowed
    Given that I put a negative number in the number field
      And that negative numbers are not allowed
     When the plugin's validation checks the input
     Then then it should recognize that I have entered a negative number
      And it should give a message saying I am not allowed to enter negative numbers

  Scenario: Positive not allowed
    Given that I put a positive number in the number field
      And that positive numbers are not allowed
     When the plugin's validation checks the input
     Then then it should recognize that I have entered a positive number
      And it should give a message saying I am not allowed to enter positive numbers

Negative or positive

  • Negative
  • Positive

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions