Skip to content

Commit

Permalink
Edit: Cucumber tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BPTdev committed Feb 28, 2024
1 parent 7f892ab commit 894c4d6
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 12 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file added Ui/.DS_Store
Binary file not shown.
10 changes: 10 additions & 0 deletions Ui/frontend/features/detected_labels.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

Feature: Display Detected Labels with Confidence Levels

Background: The user has uploaded an image for analysis

Scenario: Displaying the list of detected labels with confidence levels
Given the user has successfully uploaded an image
When the system processes the image and detects labels
Then the user is presented with a list of detected labels
And each label is accompanied by its level of confidence
12 changes: 12 additions & 0 deletions Ui/frontend/features/parameters_adjustment.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

Feature: Parameters Adjustment for Label Detection

Background: The user is on the parameters adjustment zone

Scenario: Adjusting parameters for label detection
Given the user sets the "amount of labels" to display to "5"
And the user sets the "level of confidence" threshold to "80%"
And the user submits the parameters
Then the system updates the displayed labels to match the new parameters
And only labels with a confidence level of "80%" or higher are displayed
And no more than "5" labels are displayed
12 changes: 0 additions & 12 deletions Ui/frontend/features/stepDefinations/LanguageByLocal.js

This file was deleted.

0 comments on commit 894c4d6

Please sign in to comment.