Untitled
unknown
plain_text
17 days ago
1.7 kB
2
Indexable
Never
Feature: Global trade item number (EAN) creation As a PID Administrator I want to be able to create new GTIN (EAN) BO So that later on I can define GTIN Range (EAN) for item Background: Given User is logged in as *PID Administrator* (parametr) When I navigate to /ean/create Then Save button should be disabled Scenario Outline: EAN successfull creation by fulfilling only required fields with valid values When I fill "GTIN (EAN)" field with <val> value And I select "Yes" option from the "Puma Owned" dropdown And I click "Save" button Then User should be redirected to /x/y Scenario: EAN unsuccessfull creation by fulfilling only required fields with already-existing GTIN When I fill "GTIN (EAN)" field with "1234567" value And I select "Yes" option from the "Puma Owned" dropdown And I click "Save" button Then Validation message "xyz" should be visible Scenario: EAN unsuccessfull creation by providing incorrect value in GTIN field When I fill "GTIN (EAN)" field with "12345678" value // or "abcdefg" And I select "Yes" option from the "Puma Owned" dropdown And I click "Save" button Then Validation message "xyz" should be visible Scenario: EAN unsuccessfull creation by providing incorrect value in Info and Remark fields When I fill "GTIN (EAN)" field with "1234567" value And I select "Yes" option from the "Puma Owned" dropdown And I fill "Info" field with "1234" value And I fill "Remark" field with "1234" value And I click "Save" button Then Validation message "xyz" should be visible Scenario: EAN unsuccessfull creation by not fulfilling any form fields // TODO Examples: |val| |1234567| |0000000| |0000001|
Leave a Comment