scenarioo / scenarioo-js

Scenarioo writer library to produce feature rich e2e test reports, e.g. from Protractor/WebDriverJS tests with Jasmine
http://www.scenarioo.org
MIT License
10 stars 3 forks source link

Scenario Summary not created for some E2E Tests (List Custom Tabs, List Scenarios) #88

Closed davidlahner closed 5 years ago

davidlahner commented 5 years ago

Even though the E2E Tests List Custom Tabs and List Scenarios are succesful and do have Scenarios (one and three respectively), the Scenarioo Viewer Web App shows 0 Scenarios on the overview page.

Looking at the generated files, I noticed, that the scenarios-tag, which should contain the scenario-summaries, is empty.

davidlahner commented 5 years ago

The problem lies in scenario-js. If a test contains a scenario without a description, the following exception occurs: An error was thrown in an afterAll AfterAll Error: scenario: Invalid type: undefined (expected string) (/description, /properties/description/type) Since description is not documented to be mandatory, this has to be fixed in scenario-js.