AkrosAG / Akros-Marketplace

Apache License 2.0
3 stars 5 forks source link

Under "Angebote" search, the "von Grosse" accepts all alpha and numeric format #286

Open Dummylearners opened 1 year ago

Dummylearners commented 1 year ago

Issue found during testing #195

Image

Image

Image

Image

balsih commented 1 year ago

@Dummylearners this bug misses how the feature should actually work. I guess only positive numeric values (positive integers) should be possible. The question remaining is what the maximum size should be.

Dummylearners commented 1 year ago

@balsih , there should be limit of rooms or defined area.

  1. Numbers should not accept any negetive value.
  2. Room limit should be updated according to the published advertisments.

image

Nice to have features like in these Examples: This are taken from Homegate. image

image

LanaKast commented 1 year ago

We can create a new ticket to support this feature for the February goal.

LanaKast commented 1 year ago

Ticket #287 can also be marked as "Done" simultaneously with this ticket.

thuead commented 1 year ago

Test Environment: Goolge Chrome Browser Test OS: Windows

Precondition:

Web main landing page is open and "Angebot" is selected.

TC_01 When entering an integer, these values are taken over and the search criteria are adapted accordingly.

Test_Steps:

  1. Select "Zimmer" in the search criteria.
  2. Click in the searchfield "Von Grösse".
  3. Enter a positive integer of quadratmeters.
  4. Click on the button "SUCHE".
  5. Check the accommodation displayed below for the size.

Result: Test passed 10.02.2023 - 09:45 Uhr

All rooms with the same or larger size than in the search criteria are displayed

TC_02 Under "Angebote" the search field "von Grösse" accept alphabetic letters.

Test_Steps:

  1. Click in the searchfield "Von Grösse".
  2. Try to enter a letter in the search field.
  3. Check whether the letters can be entered in the search field.

Result: Test passed 10.02.2023 - 09:48 Uhr

It not possible to enter letters in the field "Von Grösse".

TC_03 Under "Angebote" the search field "von Grösse" accepts decimal numbers.

Test_Steps:

  1. Click in the searchfield "Von Grösse".
  2. Try to enter a decimal number in the search field.
  3. Check whether the decimal number can be entered in the search field.

Result: Test passed 10.02.2023 - 09:53 Uhr

It not possible to enter decimal numbers in the field "Von Grösse"

TC_04 Under "Angebote" the search field "von Grösse" accept negativ numbers.

Test_Steps:

  1. Click in the searchfield "Von Grösse".
  2. Try to enter a negativ number in the search field.
  3. Check whether the negativ number can be entered in the search field.

Result: Test passed 10.02.2023 - 10:08 Uhr

It not possible to enter negativ decimal numbers in the field "Von Grösse"

Image