17 lines
519 B
Gherkin
17 lines
519 B
Gherkin
Feature: Inventory Management UI
|
|
|
|
Background:
|
|
Given I am logged in as "admin@perauset.org"
|
|
|
|
Scenario: Add inventory item
|
|
When I navigate to "/inventory"
|
|
Then I should see heading "Inventory"
|
|
And I click "Add Item"
|
|
And I fill in "Item Name" with "Olive Oil"
|
|
And I fill in "Unit" with "liter"
|
|
And I fill in "Current Quantity" with "20"
|
|
And I fill in "Minimum Quantity" with "5"
|
|
And I select "Kitchen" from "Category"
|
|
And I click "Create Item"
|
|
Then I should see "Olive Oil"
|