Project Number Date
ApolloFullRunnerReport apollo-test-2.83 17 lip 2021, 03:37

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 32s 469ms Failed
Feature Invoice
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 8s 601ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 195ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 832ms
When Click invoice button 1s 138ms
And Set default invoice currency value 422ms
Then Check that default currency value in invoice form is "EUR" 152ms
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 398ms
And Login as "swisskrono-admin" 11s 199ms
And Go to "TRANSPORT_TABLE" 362ms
And Show all transport types 1s 162ms
And Click invoice button 11s 957ms
Then Check that default currency value in invoice form is "USD" 182ms
After Hooks.deleteTransportAfterTest() 10s 200ms
After Hooks.rollbackInvoiceCurrency() 2s 378ms
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 111ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 153ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 800ms
When Click invoice button 10s 417ms
And Set default invoice currency value 217ms
Then Check that default currency value in invoice form is "EUR" 138ms
When Change invoice default currency value in database for "USD" transport type alias "SMALLS_EXPORT" and principal alias "swisskrono" 114ms
And Clear all cache 2s 173ms
And Login as "swisskrono-admin" 11s 011ms
And Go to "TRANSPORT_TABLE" 361ms
And Show all transport types 1s 163ms
And Click invoice button 11s 914ms
Then Check that default currency value in invoice form is "USD" 169ms
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 191ms
After Hooks.rollbackInvoiceCurrency() 2s 213ms