Project Number Date
ApolloFullRunnerReport apollo-test-2.88 20 lip 2021, 18:16

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Invoice 25 1 0 0 0 26 1 1 2 1m 34s 248ms Failed
Feature Invoice
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 8s 649ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 204ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 863ms
When Click invoice button 1s 123ms
And Set default invoice currency value 189ms
Then Check that default currency value in invoice form is "EUR" 429ms
When Change invoice default currency value in database for "USD" transport type alias "SMALLS_IMPORT" and principal alias "swisskrono" 114ms
And Clear all cache 2s 297ms
And Login as "swisskrono-admin" 11s 390ms
And Go to "TRANSPORT_TABLE" 364ms
And Show all transport types 1s 151ms
And Click invoice button 12s 605ms
Then Check that default currency value in invoice form is "USD" 175ms
After Hooks.deleteTransportAfterTest() 10s 184ms
After Hooks.rollbackInvoiceCurrency() 2s 288ms
Scenario Outline Check default value of currency in invoice form [A-7389]
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 11s 434ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 117ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 763ms
When Click invoice button 10s 901ms
And Set default invoice currency value 176ms
Then Check that default currency value in invoice form is "EUR" 142ms
When Change invoice default currency value in database for "USD" transport type alias "SMALLS_EXPORT" and principal alias "swisskrono" 110ms
And Clear all cache 2s 097ms
And Login as "swisskrono-admin" 10s 808ms
And Go to "TRANSPORT_TABLE" 370ms
And Show all transport types 1s 164ms
And Click invoice button 12s 440ms
Then Check that default currency value in invoice form is "USD" 160ms
java.lang.AssertionError: Domyślną walutą dla tego pryncypała powinno być USD!
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Transport.InvoiceTest.checkThatDefaultCurrencyValueInInvoiceFormIs(InvoiceTest.java:33)
	at ✽.Check that default currency value in invoice form is "USD"(file:Features/Atom/Transport/TransportTable/Invoice.feature:17)
After Hooks.deleteTransportAfterTest() 10s 180ms
After Hooks.rollbackInvoiceCurrency() 2s 316ms