Given
Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz"
7s 482ms
And
Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz"
2s 263ms
And
Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation
621ms
When
Click invoice button
3s 213ms
And
Set default invoice currency value
173ms
Then
Check that default currency value in invoice form is "EUR"
148ms
When
Change invoice default currency value in database for "USD" transport type alias "SMALLS_IMPORT" and principal alias "swisskrono"
148ms
And
Clear all cache
2s 409ms
And
Login as "swisskrono-admin"
9s 898ms
And
Go to "TRANSPORT_TABLE"
427ms
And
Show all transport types
1s 185ms
And
Click invoice button
511ms
Then
Check that default currency value in invoice form is "USD"
156ms
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)