Project Number Date
ApolloFullRunnerReport apollo-test-2.53 24 cze 2021, 06:22

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@deleteModeOfTransportationAfterTest 508 7 54 0 0 569 46 7 53 24m 52s 562ms Failed
View Feature Advice transport
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 7s 878ms
And Create default accepted mode of transportation by API with "pba1-carrier" 2s 798ms
And Create transport "CREATE_LOAD_EXPORT" by JSON file as "super-admin-bausch" 2s 354ms
And Set "advice" inputs from JSON file "ADVICE_LOAD_EXPORT" "super-admin-bausch" 002ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "true" confirmation 632ms
And Confirm status "ORDER_COMPLETNESS" by Public API "v1" 397ms
And Click button advice in transport table "LOAD_EXPORT" 2s 064ms
And Set advice window in schedule 3s 405ms
And Fill advice form 11s 569ms
And Click advice save button and wait for advice form to disappear 33s 846ms
And Create transport "CREATE_LOAD_EXPORT" by JSON file as "super-admin-bausch" 16s 286ms
And Confirm status "ORDER_COMPLETNESS" by Public API "v1" 311ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "true" confirmation 601ms
When Go to "TRANSPORT_TABLE" 407ms
And Show all transport types 1s 158ms
And Click button advice in transport table "LOAD_EXPORT" 2s 418ms
And Set advice window in schedule 3s 269ms
And Select driver "Marek Kanarek" from suggestions 2s 572ms
Then Verify if mode of transportation select is empty 101ms
After Hooks.deleteAllTransports() 48s 706ms
After Hooks.deleteModeOfTransportationAfterTest() 464ms
View Feature Advice transport
- order: advice data => advice window [A-7478]
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 4s 934ms
And Create default accepted mode of transportation by API with "pba1-carrier" 2s 346ms
And Create transport "CREATE_EXW_DELIVERY" by JSON file as "super-admin-bausch" 2s 281ms
And Set "advice" inputs from JSON file "ADVICE_EXW_DELIVERY" "super-admin-bausch" 005ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "true" confirmation 876ms
When Go to "TRANSPORT_TABLE" 396ms
And Show all transport types 1s 146ms
And Click button advice in transport table "EXW_DELIVERY" 827ms
And Fill advice form 10s 662ms
And Click advice save button and wait for advice form to disappear 33s 264ms
And Click button advice in transport table "EXW_DELIVERY" 273ms
And Set advice window in schedule 3s 361ms
And Change filled value in transport details "rodo-acceptance" "checkbox" "true" "0" 2s 681ms
And Click advice save button and wait for advice form to disappear 34s 434ms
And Go to "TRANSPORT_TABLE" 413ms
And Show all transport types 1s 178ms
And Go to transport details "EXW_DELIVERY" 4s 883ms
Then Check are advice values equals 2s 656ms
After Hooks.deleteTransportAfterTest() 948ms
After Hooks.deleteModeOfTransportationAfterTest() 406ms
View Feature Mode of transportation mail
Given Set token of apiUsername "super-admin-bausch" 283ms
And Prepare user "super-admin-bausch" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 926ms
When Create default mode of transportation by API with "pba1-carrier" 682ms
Then Update mode of transportation by API with "pba1-carrier": "BBBB0000" "Model2" "Marka2" "CCCC0000" 386ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Środek transportu BBBB0000 został zaktualizowany" 7s 380ms
Then Check if user got a mail 000ms
After Hooks.cleanUserDetailsAfterTest() 1s 635ms
After Hooks.deleteModeOfTransportationAfterTest() 379ms
View Feature Mode of transportation mail
Scenario Outline Check if mail was sent after creating mode of transportation
Steps
Given Set token of apiUsername "super-admin-bausch" 256ms
And Prepare user "super-admin-bausch" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 713ms
When Create default mode of transportation by API with "pba1-carrier" 524ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Nowy środek transportu" 3m 20s 742ms
Then Check if user got a mail 000ms
java.lang.AssertionError: Użytkownik nie otrzymał maila. Actual: 
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failEquals(Assert.java:185)
	at org.junit.Assert.assertNotEquals(Assert.java:161)
	at CucumberTests.Mail.MailTest.checkIfUseGotMail(MailTest.java:39)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/MOTMail.feature:21)
After Hooks.cleanUserDetailsAfterTest() 1s 567ms
After Hooks.deleteModeOfTransportationAfterTest() 344ms
View Feature Create mode of transportation
Given Set token of apiUsername "super-admin-bausch" 289ms
When Create default mode of transportation by API with "pba1-carrier" 518ms
After Hooks.deleteModeOfTransportationAfterTest() 347ms
View Feature Create mode of transportation
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 6s 263ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 1s 298ms
When Create mode of transportation with "AAAA0000" "Marka" "Model" "BBBB0000" 17s 582ms
Then Check if "AAAA0000" "Marka" "Model" "BBBB0000" are visible in mode of transportation details page 315ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 652ms
And Check if "AAAA0000" "Marka" "Model" "BBBB0000" are visible in correct columns 358ms
After Hooks.deleteModeOfTransportationAfterTest() 379ms
View Feature Mode of transportation - Advice
Given Set token of apiUsername "super-admin-bausch" 262ms
And Create default mode of transportation by API with "pba1-carrier" 521ms
And Set status of MOT to "AWAITING_VERIFICATION" 314ms
And Create transport "CREATE_LOAD_EXPORT" by JSON file as "super-admin-bausch" 16s 176ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 673ms
And Confirm status "ORDER_COMPLETNESS" by Public API "v1" 318ms
When Login as "super-admin-bausch" 5s 860ms
And Go to "TRANSPORT_TABLE" 439ms
And Click button advice in transport table "LOAD_EXPORT" 209ms
And Set advice window in schedule 3s 608ms
Then Check if "AAAA0000" MOT is NOT visible in advice form 16s 577ms
After Hooks.deleteTransportAfterTest() 627ms
After Hooks.deleteModeOfTransportationAfterTest() 381ms
View Feature Mode of transportation - Advice
Given Set token of apiUsername "super-admin-bausch" 255ms
And Create default mode of transportation by API with "pba1-carrier" 499ms
And Set status of MOT to "DISABLED" 370ms
And Create transport "CREATE_LOAD_EXPORT" by JSON file as "super-admin-bausch" 16s 158ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 766ms
And Confirm status "ORDER_COMPLETNESS" by Public API "v1" 341ms
When Login as "super-admin-bausch" 2s 553ms
And Go to "TRANSPORT_TABLE" 389ms
And Click button advice in transport table "LOAD_EXPORT" 338ms
And Set advice window in schedule 3s 482ms
Then Check if "AAAA0000" MOT is NOT visible in advice form 16s 527ms
After Hooks.deleteTransportAfterTest() 655ms
After Hooks.deleteModeOfTransportationAfterTest() 319ms
View Feature Mode of transportation - Advice
Given Set token of apiUsername "super-admin-bausch" 255ms
And Create default mode of transportation by API with "pba1-carrier" 486ms
And Set status of MOT to "ACCEPTED" 358ms
And Create transport "CREATE_LOAD_EXPORT" by JSON file as "super-admin-bausch" 16s 151ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 689ms
And Confirm status "ORDER_COMPLETNESS" by Public API "v1" 350ms
When Login as "super-admin-bausch" 2s 638ms
And Go to "TRANSPORT_TABLE" 375ms
And Click button advice in transport table "LOAD_EXPORT" 337ms
And Set advice window in schedule 3s 512ms
Then Check if "AAAA0000" MOT can be selected in advice form 1s 653ms
After Hooks.deleteTransportAfterTest() 657ms
After Hooks.deleteModeOfTransportationAfterTest() 362ms
View Feature Mode of transportation - Advice
Given Set token of apiUsername "super-admin-bausch" 263ms
And Create default mode of transportation by API with "pba1-carrier" 495ms
And Set status of MOT to "UPDATED" 331ms
And Create transport "CREATE_LOAD_EXPORT" by JSON file as "super-admin-bausch" 16s 184ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 680ms
And Confirm status "ORDER_COMPLETNESS" by Public API "v1" 343ms
When Login as "super-admin-bausch" 2s 404ms
And Go to "TRANSPORT_TABLE" 369ms
And Click button advice in transport table "LOAD_EXPORT" 327ms
And Set advice window in schedule 3s 380ms
Then Check if "AAAA0000" MOT can be selected in advice form 1s 617ms
After Hooks.deleteTransportAfterTest() 588ms
After Hooks.deleteModeOfTransportationAfterTest() 352ms
View Feature Mode of transportation - Advice
Given Set token of apiUsername "super-admin-bausch" 257ms
And Create default mode of transportation by API with "pba1-carrier" 448ms
And Set status of MOT to "REJECTED" 389ms
And Create transport "CREATE_LOAD_EXPORT" by JSON file as "super-admin-bausch" 16s 136ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 670ms
And Confirm status "ORDER_COMPLETNESS" by Public API "v1" 355ms
When Login as "super-admin-bausch" 2s 512ms
And Go to "TRANSPORT_TABLE" 387ms
And Click button advice in transport table "LOAD_EXPORT" 345ms
And Set advice window in schedule 3s 465ms
Then Check if "AAAA0000" MOT is visible in advice form 1s 606ms
And Check if "AAAA0000" MOT cannot be selected in advice form 15s 486ms
After Hooks.deleteTransportAfterTest() 709ms
After Hooks.deleteModeOfTransportationAfterTest() 357ms
View Feature Mode of transportation - Advice
Given Set token of apiUsername "super-admin-bausch" 259ms
And Create default mode of transportation by API with "pba1-carrier" 495ms
And Set status of MOT to "BLOCKED" 343ms
And Create transport "CREATE_LOAD_EXPORT" by JSON file as "super-admin-bausch" 16s 124ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 621ms
And Confirm status "ORDER_COMPLETNESS" by Public API "v1" 362ms
When Login as "super-admin-bausch" 2s 455ms
And Go to "TRANSPORT_TABLE" 343ms
And Click button advice in transport table "LOAD_EXPORT" 310ms
And Set advice window in schedule 3s 669ms
Then Check if "AAAA0000" MOT is visible in advice form 1s 666ms
And Check if "AAAA0000" MOT cannot be selected in advice form 15s 522ms
After Hooks.deleteTransportAfterTest() 744ms
After Hooks.deleteModeOfTransportationAfterTest() 344ms
View Feature Mode of transportation - Sections
Given Set token of apiUsername "super-admin-bausch" 245ms
And Create mode of transportation by API with "pba1-carrier": "WINTER_MAPPING" "Model" "Marka" "3141592" 495ms
When Login as "pba1-carrier" 2s 471ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 1s 353ms
And Go to mode of transportation details 277ms
And Open new "WINTER_MAPPING" document modal 204ms
Then Check default values in "WINTER_MAPPING" document form 085ms
And Fill "WINTER_MAPPING" document form 000ms
And Save new document 15s 256ms
And Verify that MOT has "WINTER_MAPPING" document 042ms
After Hooks.deleteModeOfTransportationAfterTest() 383ms
View Feature Mode of transportation - Sections
Given Set token of apiUsername "super-admin-bausch" 255ms
And Create mode of transportation by API with "pba1-carrier": "SUMMER_MAPPING" "Model" "Marka" "3141592" 492ms
When Login as "pba1-carrier" 2s 525ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 1s 292ms
And Go to mode of transportation details 260ms
And Open new "SUMMER_MAPPING" document modal 160ms
Then Check default values in "SUMMER_MAPPING" document form 060ms
And Fill "SUMMER_MAPPING" document form 000ms
And Save new document 15s 176ms
And Verify that MOT has "SUMMER_MAPPING" document 044ms
After Hooks.deleteModeOfTransportationAfterTest() 482ms
View Feature Mode of transportation - Sections
Given Set token of apiUsername "super-admin-bausch" 262ms
And Create mode of transportation by API with "pba1-carrier": "SENSOR_CALIBRATION_CERTIFICATE" "Model" "Marka" "3141592" 502ms
When Login as "pba1-carrier" 2s 487ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 1s 266ms
And Go to mode of transportation details 276ms
And Open new "SENSOR_CALIBRATION_CERTIFICATE" document modal 211ms
Then Check default values in "SENSOR_CALIBRATION_CERTIFICATE" document form 168ms
And Fill "SENSOR_CALIBRATION_CERTIFICATE" document form 612ms
And Save new document 15s 213ms
And Verify that MOT has "SENSOR_CALIBRATION_CERTIFICATE" document 041ms
After Hooks.deleteModeOfTransportationAfterTest() 383ms
View Feature Mode of transportation - Sections
Given Set token of apiUsername "super-admin-bausch" 261ms
And Create mode of transportation by API with "pba1-carrier": "WINTER_MAPPING" "Model" "Marka" "3141592" 494ms
And Add "WINTER_MAPPING" document to mode of transportation by API with "pba1-carrier" 358ms
When Login as "super-admin-bausch" 2s 534ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 615ms
And Go to mode of transportation details 317ms
Then Verify that MOT has "WINTER_MAPPING" document 039ms
And Accept "WINTER_MAPPING" document 16s 285ms
And Verify that "WINTER_MAPPING" document is accepted 085ms
After Hooks.deleteModeOfTransportationAfterTest() 499ms
View Feature Mode of transportation - Sections
Given Set token of apiUsername "super-admin-bausch" 273ms
And Create mode of transportation by API with "pba1-carrier": "SUMMER_MAPPING" "Model" "Marka" "3141592" 456ms
And Add "SUMMER_MAPPING" document to mode of transportation by API with "pba1-carrier" 320ms
When Login as "super-admin-bausch" 2s 344ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 641ms
And Go to mode of transportation details 346ms
Then Verify that MOT has "SUMMER_MAPPING" document 039ms
And Accept "SUMMER_MAPPING" document 16s 173ms
And Verify that "SUMMER_MAPPING" document is accepted 096ms
After Hooks.deleteModeOfTransportationAfterTest() 402ms
View Feature Mode of transportation - Sections
Given Set token of apiUsername "super-admin-bausch" 257ms
And Create mode of transportation by API with "pba1-carrier": "SENSOR_CALIBRATION_CERTIFICATE" "Model" "Marka" "3141592" 484ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 462ms
When Login as "super-admin-bausch" 2s 539ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 656ms
And Go to mode of transportation details 334ms
Then Verify that MOT has "SENSOR_CALIBRATION_CERTIFICATE" document 048ms
And Accept "SENSOR_CALIBRATION_CERTIFICATE" document 16s 285ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is accepted 089ms
After Hooks.deleteModeOfTransportationAfterTest() 510ms
View Feature Mode of transportation - Sections
Given Set token of apiUsername "super-admin-bausch" 260ms
And Create mode of transportation by API with "pba1-carrier": "SENSOR_CALIBRATION_CERTIFICATE" "Model" "Marka" "3141592" 481ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 456ms
When Login as "super-admin-bausch" 2s 593ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 654ms
And Go to mode of transportation details 354ms
Then Verify that MOT has "SENSOR_CALIBRATION_CERTIFICATE" document 048ms
And Reject "SENSOR_CALIBRATION_CERTIFICATE" document 17s 375ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is rejected 071ms
After Hooks.deleteModeOfTransportationAfterTest() 360ms
View Feature Mode of transportation - Sections
Given Set token of apiUsername "super-admin-bausch" 242ms
And Create mode of transportation by API with "pba1-carrier": "WINTER_MAPPING" "Model" "Marka" "3141592" 434ms
And Add "WINTER_MAPPING" document to mode of transportation by API with "pba1-carrier" 331ms
When Login as "super-admin-bausch" 2s 380ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 670ms
And Go to mode of transportation details 323ms
Then Verify that MOT has "WINTER_MAPPING" document 037ms
And Verify that "WINTER_MAPPING" document can not be rejected 15s 025ms
After Hooks.deleteModeOfTransportationAfterTest() 502ms
View Feature Mode of transportation - Sections
Given Set token of apiUsername "super-admin-bausch" 266ms
And Create mode of transportation by API with "pba1-carrier": "SUMMER_MAPPING" "Model" "Marka" "3141592" 493ms
And Add "SUMMER_MAPPING" document to mode of transportation by API with "pba1-carrier" 359ms
When Login as "super-admin-bausch" 2s 631ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 649ms
And Go to mode of transportation details 311ms
Then Verify that MOT has "SUMMER_MAPPING" document 046ms
And Verify that "SUMMER_MAPPING" document can not be rejected 15s 045ms
After Hooks.deleteModeOfTransportationAfterTest() 398ms
View Feature Mode of transportation - Sections
Given Set token of apiUsername "super-admin-bausch" 255ms
And Create mode of transportation by API with "pba1-carrier": "WINTER_MAPPING" "Model" "Marka" "3141592" 501ms
And Add "WINTER_MAPPING" document to mode of transportation by API with "pba1-carrier" 356ms
When Login as "super-admin-bausch" 2s 532ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 642ms
And Go to mode of transportation details 350ms
Then Verify that MOT has "WINTER_MAPPING" document 048ms
And Disable "WINTER_MAPPING" document 15s 782ms
And Verify that "WINTER_MAPPING" document disappeared from MOT details 15s 037ms
After Hooks.deleteModeOfTransportationAfterTest() 513ms
View Feature Mode of transportation - Sections
Given Set token of apiUsername "super-admin-bausch" 256ms
And Create mode of transportation by API with "pba1-carrier": "SUMMER_MAPPING" "Model" "Marka" "3141592" 506ms
And Add "SUMMER_MAPPING" document to mode of transportation by API with "pba1-carrier" 363ms
When Login as "super-admin-bausch" 2s 678ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 637ms
And Go to mode of transportation details 332ms
Then Verify that MOT has "SUMMER_MAPPING" document 046ms
And Disable "SUMMER_MAPPING" document 15s 818ms
And Verify that "SUMMER_MAPPING" document disappeared from MOT details 15s 086ms
After Hooks.deleteModeOfTransportationAfterTest() 493ms
View Feature Mode of transportation - Sections
Given Set token of apiUsername "super-admin-bausch" 251ms
And Create mode of transportation by API with "pba1-carrier": "SENSOR_CALIBRATION_CERTIFICATE" "Model" "Marka" "3141592" 480ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 455ms
When Login as "super-admin-bausch" 2s 584ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 599ms
And Go to mode of transportation details 310ms
Then Verify that MOT has "SENSOR_CALIBRATION_CERTIFICATE" document 033ms
And Disable "SENSOR_CALIBRATION_CERTIFICATE" document 15s 795ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document disappeared from MOT details 15s 059ms
After Hooks.deleteModeOfTransportationAfterTest() 398ms
View Feature Mode of transportation - Sections
Given Set token of apiUsername "super-admin-bausch" 264ms
And Create mode of transportation by API with "pba1-carrier": "WINTER_MAPPING" "Model" "Marka" "3141592" 494ms
And Add "WINTER_MAPPING" document to mode of transportation by API with "pba1-carrier" 406ms
When Login as "pba1-carrier" 5s 191ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 1s 390ms
And Go to mode of transportation details 325ms
And Verify that MOT has "WINTER_MAPPING" document 047ms
Then Edit "WINTER_MAPPING" document 2s 447ms
And Update "WINTER_MAPPING" document 253ms
And Verify that "WINTER_MAPPING" document is updated 301ms
And If user is login then logout 245ms
And Login as "super-admin-bausch" 2s 554ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 652ms
And Go to mode of transportation details 294ms
And Verify that "WINTER_MAPPING" document has updated date 073ms
After Hooks.deleteModeOfTransportationAfterTest() 384ms
View Feature Mode of transportation - Sections
Given Set token of apiUsername "super-admin-bausch" 259ms
And Create mode of transportation by API with "pba1-carrier": "SUMMER_MAPPING" "Model" "Marka" "3141592" 481ms
And Add "SUMMER_MAPPING" document to mode of transportation by API with "pba1-carrier" 367ms
When Login as "pba1-carrier" 2s 274ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 1s 277ms
And Go to mode of transportation details 303ms
And Verify that MOT has "SUMMER_MAPPING" document 047ms
Then Edit "SUMMER_MAPPING" document 2s 448ms
And Update "SUMMER_MAPPING" document 245ms
And Verify that "SUMMER_MAPPING" document is updated 227ms
And If user is login then logout 247ms
And Login as "super-admin-bausch" 2s 522ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 620ms
And Go to mode of transportation details 308ms
And Verify that "SUMMER_MAPPING" document has updated date 058ms
After Hooks.deleteModeOfTransportationAfterTest() 355ms
View Feature Mode of transportation - Sections
Given Set token of apiUsername "super-admin-bausch" 250ms
And Create mode of transportation by API with "pba1-carrier": "SENSOR_CALIBRATION_CERTIFICATE" "Model" "Marka" "3141592" 424ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 428ms
When Login as "pba1-carrier" 2s 097ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 1s 406ms
And Go to mode of transportation details 287ms
And Verify that MOT has "SENSOR_CALIBRATION_CERTIFICATE" document 034ms
Then Edit "SENSOR_CALIBRATION_CERTIFICATE" document 5s 260ms
And Update "SENSOR_CALIBRATION_CERTIFICATE" document 204ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is updated 353ms
And If user is login then logout 223ms
And Login as "super-admin-bausch" 2s 471ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 617ms
And Go to mode of transportation details 323ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document has updated date 169ms
After Hooks.deleteModeOfTransportationAfterTest() 5s 494ms
View Feature Mode of transportation - Sections
Given Set token of apiUsername "super-admin-bausch" 270ms
And Create mode of transportation by API with "pba1-carrier": "WINTER_MAPPING" "Model" "Marka" "3141592" 486ms
And Add "WINTER_MAPPING" document to mode of transportation by API with "pba1-carrier" 349ms
When Login as "super-admin-bausch" 2s 404ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 637ms
And Go to mode of transportation details 316ms
Then Verify that MOT has "WINTER_MAPPING" document 043ms
And Verify that "WINTER_MAPPING" document is "true" to edition 171ms
After Hooks.deleteModeOfTransportationAfterTest() 375ms
View Feature Mode of transportation - Sections
Given Set token of apiUsername "super-admin-bausch" 247ms
And Create mode of transportation by API with "pba1-carrier": "SUMMER_MAPPING" "Model" "Marka" "3141592" 483ms
And Add "SUMMER_MAPPING" document to mode of transportation by API with "pba1-carrier" 356ms
When Login as "super-admin-bausch" 2s 406ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 631ms
And Go to mode of transportation details 313ms
Then Verify that MOT has "SUMMER_MAPPING" document 044ms
And Verify that "SUMMER_MAPPING" document is "true" to edition 167ms
After Hooks.deleteModeOfTransportationAfterTest() 393ms
View Feature Mode of transportation - Sections
Given Set token of apiUsername "super-admin-bausch" 263ms
And Create mode of transportation by API with "pba1-carrier": "SENSOR_CALIBRATION_CERTIFICATE" "Model" "Marka" "3141592" 474ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 455ms
When Login as "super-admin-bausch" 2s 456ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 610ms
And Go to mode of transportation details 319ms
Then Verify that MOT has "SENSOR_CALIBRATION_CERTIFICATE" document 040ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is "true" to edition 511ms
After Hooks.deleteModeOfTransportationAfterTest() 399ms
View Feature Mode of transportation - Sections
Given Set token of apiUsername "super-admin-bausch" 261ms
And Create mode of transportation by API with "pba1-carrier": "WINTER_MAPPING" "Model" "Marka" "3141592" 482ms
And Add "WINTER_MAPPING" document to mode of transportation by API with "pba1-carrier" 352ms
And Accept "WINTER_MAPPING" document by API 420ms
When Login as "super-admin-bausch" 2s 363ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 617ms
And Go to mode of transportation details 340ms
Then Verify that MOT has "WINTER_MAPPING" document 038ms
And Verify that "WINTER_MAPPING" document is "false" to edition 161ms
After Hooks.deleteModeOfTransportationAfterTest() 383ms
View Feature Mode of transportation - Sections
Given Set token of apiUsername "super-admin-bausch" 256ms
And Create mode of transportation by API with "pba1-carrier": "SUMMER_MAPPING" "Model" "Marka" "3141592" 471ms
And Add "SUMMER_MAPPING" document to mode of transportation by API with "pba1-carrier" 369ms
And Accept "SUMMER_MAPPING" document by API 435ms
When Login as "super-admin-bausch" 2s 404ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 616ms
And Go to mode of transportation details 332ms
Then Verify that MOT has "SUMMER_MAPPING" document 043ms
And Verify that "SUMMER_MAPPING" document is "false" to edition 158ms
After Hooks.deleteModeOfTransportationAfterTest() 399ms
View Feature Mode of transportation - Sections
Given Set token of apiUsername "super-admin-bausch" 257ms
And Create mode of transportation by API with "pba1-carrier": "SENSOR_CALIBRATION_CERTIFICATE" "Model" "Marka" "3141592" 498ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 454ms
And Accept "SENSOR_CALIBRATION_CERTIFICATE" document by API 437ms
When Login as "super-admin-bausch" 2s 385ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 614ms
And Go to mode of transportation details 306ms
Then Verify that MOT has "SENSOR_CALIBRATION_CERTIFICATE" document 044ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is "false" to edition 521ms
After Hooks.deleteModeOfTransportationAfterTest() 486ms
View Feature Mode of transportation - Sections
Given Set token of apiUsername "super-admin-bausch" 257ms
And Create mode of transportation by API with "pba1-carrier": "SENSOR_CALIBRATION_CERTIFICATE" "Model" "Marka" "3141592" 478ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 469ms
And Accept "SENSOR_CALIBRATION_CERTIFICATE" document by API 421ms
And Reject "SENSOR_CALIBRATION_CERTIFICATE" document by API 486ms
When Login as "super-admin-bausch" 2s 375ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 613ms
And Go to mode of transportation details 353ms
Then Verify that MOT has "SENSOR_CALIBRATION_CERTIFICATE" document 040ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is "true" to edition 414ms
After Hooks.deleteModeOfTransportationAfterTest() 453ms
View Feature Mode of transportation - Sections
Given Set token of apiUsername "super-admin-bausch" 248ms
When Create default mode of transportation by API with "pba1-carrier" 454ms
And Login as "bausch-admin" 2s 097ms
Then Go to "MODE_OF_TRANSPORTATION_TAB" 568ms
And Go to mode of transportation details 257ms
When Disable mode of transportation 126ms
And Go to the last mode of transportations table page 15s 029ms
Then Verify that mode of transportation is not visible in the table 15s 067ms
After Hooks.deleteModeOfTransportationAfterTest() 417ms
View Feature Mode of transportation - Sections
Given Set token of apiUsername "super-admin-bausch" 243ms
When Create default mode of transportation by API with "pba1-carrier" 517ms
And Login as "pba1-carrier" 5s 279ms
Then Go to "MODE_OF_TRANSPORTATION_TAB" 1s 380ms
And Go to mode of transportation details 301ms
When Disable mode of transportation 172ms
And Go to the last mode of transportations table page 15s 048ms
Then Verify that mode of transportation is not visible in the table 15s 031ms
After Hooks.deleteModeOfTransportationAfterTest() 278ms
View Feature Mode of transportation - Sections
Given Set token of apiUsername "super-admin-bausch" 231ms
When Create default mode of transportation by API with "pba1-carrier" 462ms
And Login as "bausch-admin" 2s 380ms
Then Go to "MODE_OF_TRANSPORTATION_TAB" 650ms
And Disable mode of transportation by API 382ms
Then Show disabled mode of transportations in the table 151ms
And Go to the last mode of transportations table page 869ms
Then Verify that mode of transportation is visible in the table 120ms
After Hooks.deleteModeOfTransportationAfterTest() 501ms
View Feature Mode of transportation - Sections
Given Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 2s 663ms
And Create default mode of transportation by API with "pba1-carrier" 501ms
When Go to "MODE_OF_TRANSPORTATION_TAB" 688ms
And Go to mode of transportation details 315ms
Then Edit mode of transportation with "BBBB0000" "Marka" "Model" "AAAA0000" 1s 737ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 550ms
Then Check if "BBBB0000" "Marka" "Model" "AAAA0000" are visible in correct columns 355ms
After Hooks.deleteModeOfTransportationAfterTest() 396ms
View Feature Mode of transportation status
Given Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 2s 555ms
When Create default mode of transportation by API with "pba1-carrier" 483ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 608ms
And Go to mode of transportation details 271ms
Then Reject mode of transportation 153ms
And Verify that user is redirected to mode of transportation tab 517ms
Then Check if "Odrzucony" status is visible in mode of transportation table 094ms
After Hooks.deleteModeOfTransportationAfterTest() 356ms
View Feature Mode of transportation status
Scenario Outline Check if mode transportation status change appropriate to performed actions by users
Steps
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 2s 581ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 1s 253ms
And Create mode of transportation with "AAAA0000" "Marka" "Model" "BBBB0000" 17s 442ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 603ms
And Check if "Niezaakceptowany" status is visible in mode of transportation table 096ms
And Go to mode of transportation details 283ms
And Add "WINTER_MAPPING" document to mode of transportation 15s 488ms
And Add "SUMMER_MAPPING" document to mode of transportation 15s 424ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation 16s 191ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 640ms
And Check if "Niezaakceptowany" status is visible in mode of transportation table 066ms
And If user is login then logout 255ms
And Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 2s 808ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 662ms
And Go to mode of transportation details 357ms
And Accept "WINTER_MAPPING" document 16s 319ms
And Accept "SUMMER_MAPPING" document 16s 165ms
And Accept "SENSOR_CALIBRATION_CERTIFICATE" document 16s 411ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 722ms
And Check if "Niezaakceptowany" status is visible in mode of transportation table 080ms
And Go to mode of transportation details 329ms
And Approve mode of transportation 147ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 545ms
And Check if "Zaakceptowany" status is visible in mode of transportation table 065ms
org.junit.ComparisonFailure: Status Zaakceptowany jest widoczny w tabeli expected:<[Z]aakceptowany> but was:<[Niez]aakceptowany>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.ModeOfTransportation.MOTTableTest.checkIfStatusIsVisibleInCreatedMOT(MOTTableTest.java:71)
	at ✽.Check if "Zaakceptowany" status is visible in mode of transportation table(file:Features/Atom/ModeOfTransportation/MOTStatus.feature:49)
And Go to mode of transportation details 000ms
And Reject "SENSOR_CALIBRATION_CERTIFICATE" document 000ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is rejected 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Zablokowany" status is visible in mode of transportation table 000ms
And Go to mode of transportation details 000ms
And Accept "SENSOR_CALIBRATION_CERTIFICATE" document 000ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is accepted 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Zaakceptowany" status is visible in mode of transportation table 000ms
And Go to mode of transportation details 000ms
And Reject mode of transportation 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Odrzucony" status is visible in mode of transportation table 000ms
And Go to mode of transportation details 000ms
And Confirm mode of transportation 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Zaakceptowany" status is visible in mode of transportation table 000ms
And If user is login then logout 000ms
And Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Go to mode of transportation details 000ms
And Add another "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Zaktualizowany" status is visible in mode of transportation table 000ms
And If user is login then logout 000ms
And Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Go to mode of transportation details 000ms
And Accept "SENSOR_CALIBRATION_CERTIFICATE" document 000ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is accepted 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Zaakceptowany" status is visible in mode of transportation table 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Disable mode of transportation by API 000ms
And Show disabled mode of transportations in the table 000ms
And Go to the last mode of transportations table page 000ms
And Check if "Wyłączony" status is visible in mode of transportation table 000ms
After Hooks.deleteModeOfTransportationAfterTest() 524ms
View Feature Mode of transportation status
Given Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 2s 667ms
When Create default mode of transportation by API with "pba1-carrier" 503ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 466ms
And Accept "SENSOR_CALIBRATION_CERTIFICATE" document by API 426ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 646ms
And Go to mode of transportation details 331ms
Then Approve mode of transportation 141ms
And Check if confirm mode of transportation button is visible 832ms
Then Go to "MODE_OF_TRANSPORTATION_TAB" 588ms
And Verify that user is redirected to mode of transportation tab 090ms
Then Check if "Zaakceptowany" status is visible in mode of transportation table 087ms
After Hooks.deleteModeOfTransportationAfterTest() 407ms
View Feature Mode of transportation status
Given Set token of apiUsername "super-admin-bausch" 261ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 1s 815ms
And Add "SUMMER_MAPPING" document to mode of transportation by API with "pba1-carrier" 358ms
When Login as "super-admin-bausch" 2s 375ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 639ms
And Go to mode of transportation details 339ms
And Verify that MOT has "SUMMER_MAPPING" document 045ms
Then Disable "SUMMER_MAPPING" document 15s 845ms
And Verify that "SUMMER_MAPPING" document disappeared from MOT details 15s 044ms
And Check if mode of transportation has status "Zaakceptowany" 088ms
After Hooks.deleteModeOfTransportationAfterTest() 506ms
View Feature Mode of transportation status
Given Set token of apiUsername "super-admin-bausch" 266ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 1s 796ms
When Login as "super-admin-bausch" 2s 606ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 629ms
And Go to mode of transportation details 320ms
And Verify that MOT has "SENSOR_CALIBRATION_CERTIFICATE" document 045ms
Then Disable "SENSOR_CALIBRATION_CERTIFICATE" document 15s 807ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document disappeared from MOT details 15s 036ms
And Check if mode of transportation has status "Zablokowany" 089ms
After Hooks.deleteModeOfTransportationAfterTest() 436ms
View Feature Mode of transportation status
Given Set token of apiUsername "super-admin-bausch" 264ms
And Create mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 492ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 457ms
When Login as "super-admin-bausch" 2s 538ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 577ms
And Go to mode of transportation details 315ms
Then Approve mode of transportation 136ms
And Check if mode of transportation has status "Niezaakceptowany" 066ms
And Check if error message is visible in mode of transportation details 206ms
After Hooks.deleteModeOfTransportationAfterTest() 324ms
View Feature Mode of transportation status
Given Set token of apiUsername "super-admin-bausch" 236ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 1s 709ms
And Add "SUMMER_MAPPING" document to mode of transportation by API with "pba1-carrier" 342ms
When Login as "super-admin-bausch" 2s 264ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 611ms
And Go to mode of transportation details 348ms
And Verify that MOT has "SUMMER_MAPPING" document 044ms
Then Disable "SUMMER_MAPPING" document 15s 786ms
And Verify that "SUMMER_MAPPING" document disappeared from MOT details 15s 055ms
And Check if mode of transportation has status "Zaakceptowany" 091ms
After Hooks.deleteModeOfTransportationAfterTest() 437ms
View Feature Mode of transportation status
Given Set token of apiUsername "super-admin-bausch" 255ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 1s 794ms
When Login as "super-admin-bausch" 2s 597ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 639ms
And Go to mode of transportation details 331ms
And Verify that MOT has "SENSOR_CALIBRATION_CERTIFICATE" document 042ms
Then Disable "SENSOR_CALIBRATION_CERTIFICATE" document 15s 788ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document disappeared from MOT details 15s 090ms
And Check if mode of transportation has status "Zablokowany" 087ms
After Hooks.deleteModeOfTransportationAfterTest() 416ms
View Feature Mode of transportation status
Given Set token of apiUsername "super-admin-bausch" 267ms
And Create mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 484ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 455ms
When Login as "super-admin-bausch" 2s 586ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 620ms
And Go to mode of transportation details 347ms
Then Approve mode of transportation 148ms
And Check if mode of transportation has status "Niezaakceptowany" 071ms
And Check if error message is visible in mode of transportation details 164ms
After Hooks.deleteModeOfTransportationAfterTest() 386ms
View Feature Mode of transportation table
Scenario Outline Check if mode of transportation documents data are in correct columns of table
Steps
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 2s 782ms
And Create default mode of transportation by API with "pba1-carrier" 781ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 570ms
When Go to "MODE_OF_TRANSPORTATION_TAB" 607ms
Then Check if "SENSOR_CALIBRATION_CERTIFICATE" document data is visible in correct columns 3s 275ms
org.junit.ComparisonFailure: Dane widoczne w kolumnie 'Ważność kalibracji' są nie poprawne expected:<2022-06-2[3]> but was:<2022-06-2[4]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.ModeOfTransportation.MOTTableTest.checkIfDocumentDataIsVisibleInCorrectColumns(MOTTableTest.java:113)
	at ✽.Check if "SENSOR_CALIBRATION_CERTIFICATE" document data is visible in correct columns(file:Features/Atom/ModeOfTransportation/ModeOfTransportationTable.feature:34)
After Hooks.deleteModeOfTransportationAfterTest() 374ms
View Feature Mode of transportation table
Scenario Outline Check if mode of transportation documents data are in correct columns of table
Steps
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 2s 573ms
And Create default mode of transportation by API with "pba1-carrier" 763ms
And Add "SUMMER_MAPPING" document to mode of transportation by API with "pba1-carrier" 453ms
When Go to "MODE_OF_TRANSPORTATION_TAB" 509ms
Then Check if "SUMMER_MAPPING" document data is visible in correct columns 3s 172ms
org.junit.ComparisonFailure: Dane widoczne w kolumnie 'Mapowanie letnie' są nie poprawne expected:<2021-06-2[3]> but was:<2021-06-2[4]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.ModeOfTransportation.MOTTableTest.checkIfDocumentDataIsVisibleInCorrectColumns(MOTTableTest.java:118)
	at ✽.Check if "SUMMER_MAPPING" document data is visible in correct columns(file:Features/Atom/ModeOfTransportation/ModeOfTransportationTable.feature:34)
After Hooks.deleteModeOfTransportationAfterTest() 328ms
View Feature Mode of transportation table
Scenario Outline Check if mode of transportation documents data are in correct columns of table
Steps
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 2s 404ms
And Create default mode of transportation by API with "pba1-carrier" 975ms
And Add "WINTER_MAPPING" document to mode of transportation by API with "pba1-carrier" 465ms
When Go to "MODE_OF_TRANSPORTATION_TAB" 576ms
Then Check if "WINTER_MAPPING" document data is visible in correct columns 3s 184ms
org.junit.ComparisonFailure: Dane widoczne w kolumnie 'Mapowanie zimowe' są nie poprawne expected:<2021-06-2[3]> but was:<2021-06-2[4]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.ModeOfTransportation.MOTTableTest.checkIfDocumentDataIsVisibleInCorrectColumns(MOTTableTest.java:123)
	at ✽.Check if "WINTER_MAPPING" document data is visible in correct columns(file:Features/Atom/ModeOfTransportation/ModeOfTransportationTable.feature:34)
After Hooks.deleteModeOfTransportationAfterTest() 358ms
View Feature Status confirmation
Given Set token of apiUsername "super-admin-bausch" 266ms
And Get custom field settings for "LOAD_EXPORT" transport type and "bausch" company 202ms
And Mark custom fields as not obligatory 886ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 1s 861ms
And Create transport "CREATE_LOAD_EXPORT" by JSON file as "super-admin-bausch" 2s 332ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 662ms
And Confirm status "ORDER_COMPLETNESS" by Public API "v1" 364ms
When Create advice by JSON file "CREATE_ADVICE_FOR_LOAD_EXPORT" as "super-admin-bausch" 4s 760ms
And Login as "bausch-admin" 6s 036ms
And Go to "TRANSPORT_TABLE" 536ms
And Find transport in table with status "advice-added" 3s 629ms
And Confirm statuses until reach "on-the-way" 13s 812ms
When Open statuses popup 159ms
And Toggle status date confirmation checkbox 431ms
And Confirm statuses until reach "process-ended" 5s 198ms
Then Check if transport has "process-ended" 074ms
After Hooks.rollbackAllCustomFieldsSettings() 2s 568ms
After Hooks.deleteModeOfTransportationAfterTest() 469ms
View Feature Status confirmation
Scenario Outline Check if it is not possible to confirm status with invalid confirmation date [A-7159]
Steps
Given Set token of apiUsername "super-admin-bausch" 247ms
And Get custom field settings for "LOAD_EXPORT" transport type and "bausch" company 190ms
And Mark custom fields as not obligatory 759ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 1s 692ms
And Create transport "CREATE_LOAD_EXPORT" by JSON file as "super-admin-bausch" 2s 250ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 585ms
And Confirm status "ORDER_COMPLETNESS" by Public API "v1" 349ms
When Create advice by JSON file "CREATE_ADVICE_FOR_LOAD_EXPORT" as "super-admin-bausch" 2s 313ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.put(RequestSpecificationImpl.groovy:179)
	at io.restassured.internal.RequestSpecificationImpl.put(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:98)
	at CucumberTests.Transport.AdviceTransport.createAdviceByJSONFile(AdviceTransport.java:335)
	at ✽.Create advice by JSON file "CREATE_ADVICE_FOR_LOAD_EXPORT" as "super-admin-bausch"(file:Features/Atom/Statuses/ConfirmStatuses.feature:323)
And Login as "bausch-admin" 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Find transport in table with status "advice-added" 000ms
And Confirm statuses until reach "on-the-way" 000ms
And Open statuses popup 000ms
And Toggle status date confirmation checkbox 000ms
And Change status execution date to "1" days from today 000ms
Then Verify that status cannot be confirmed 000ms
After Hooks.deleteTransportAfterTest() 654ms
After Hooks.rollbackAllCustomFieldsSettings() 2s 384ms
After Hooks.deleteModeOfTransportationAfterTest() 424ms
View Feature Status confirmation
Scenario Outline Check if it is not possible to confirm status with invalid confirmation date [A-7159]
Steps
Given Set token of apiUsername "super-admin-bausch" 251ms
And Get custom field settings for "LOAD_EXPORT" transport type and "bausch" company 171ms
And Mark custom fields as not obligatory 811ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 1s 883ms
And Create transport "CREATE_LOAD_EXPORT" by JSON file as "super-admin-bausch" 2s 281ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 656ms
And Confirm status "ORDER_COMPLETNESS" by Public API "v1" 350ms
When Create advice by JSON file "CREATE_ADVICE_FOR_LOAD_EXPORT" as "super-admin-bausch" 2s 309ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.put(RequestSpecificationImpl.groovy:179)
	at io.restassured.internal.RequestSpecificationImpl.put(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:98)
	at CucumberTests.Transport.AdviceTransport.createAdviceByJSONFile(AdviceTransport.java:335)
	at ✽.Create advice by JSON file "CREATE_ADVICE_FOR_LOAD_EXPORT" as "super-admin-bausch"(file:Features/Atom/Statuses/ConfirmStatuses.feature:323)
And Login as "bausch-admin" 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Find transport in table with status "advice-added" 000ms
And Confirm statuses until reach "on-the-way" 000ms
And Open statuses popup 000ms
And Toggle status date confirmation checkbox 000ms
And Change status execution date to "-1" days from today 000ms
Then Verify that status cannot be confirmed 000ms
After Hooks.deleteTransportAfterTest() 634ms
After Hooks.rollbackAllCustomFieldsSettings() 2s 416ms
After Hooks.deleteModeOfTransportationAfterTest() 470ms