Given
Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz"
3s 245ms
And
Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz"
1s 415ms
And
Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation
097ms
When
Click invoice button
2s 651ms
And
Set default invoice currency value
158ms
Then
Check that default currency value in invoice form is "EUR"
140ms
When
Change invoice default currency value in database for "USD" transport type alias "SMALLS_IMPORT" and principal alias "swisskrono"
102ms
And
Clear all cache
2s 377ms
And
Login as "swisskrono-admin"
2s 518ms
And
Go to "TRANSPORT_TABLE"
361ms
And
Show all transport types
1s 182ms
And
Click invoice button
289ms
Then
Check that default currency value in invoice form is "USD"
168ms
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)