Given
Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz"
3s 238ms
And
Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz"
1s 368ms
And
Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation
106ms
When
Click invoice button
2s 654ms
And
Set default invoice currency value
194ms
Then
Check that default currency value in invoice form is "EUR"
155ms
When
Change invoice default currency value in database for "USD" transport type alias "SMALLS_IMPORT" and principal alias "swisskrono"
112ms
And
Clear all cache
2s 430ms
And
Login as "swisskrono-admin"
2s 440ms
And
Go to "TRANSPORT_TABLE"
421ms
And
Show all transport types
1s 188ms
And
Click invoice button
301ms
Then
Check that default currency value in invoice form is "USD"
181ms
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)