Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lims 3260: dowload orders XLXS sheet if order without article #447

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ghada-37
Copy link
Collaborator

https://modeso.atlassian.net/browse/LIMS-3260

➜  1lims-automation git:(LIMS-3260) ✗ nosetests -vs --nologcapture --tc-file=config.ini ui_testing/testcases/extended_tests/test001_order.py:OrdersWithoutArticleTestCases.test003_export_xslx_file
2020-09-29 01:47:11.021 | INFO     | api_testing.apis.base_api:_get_authorized_session:46 - Get authorized api session.
2020-09-29 01:47:11.021 | INFO     | api_testing.apis.base_api:_get_authorized_session:47 - admin:admin
2020-09-29 01:47:11.505 | INFO     | api_testing.apis.base_api:_get_authorized_session:58 - session ID : RngmhmtoXM6e_HuTuzOrf5ZBAMU8B2_kYMFqAi3rKks .....
New: Orders without articles: exporting an order, should not have article and ...       
2020-09-29 01:47:32.024 | INFO     | ui_testing.testcases.base_test:setUp:27 - Test case : test003_export_xslx_file
2020-09-29 01:47:32.032 | INFO     | api_testing.apis.test_unit_api:set_name_configuration_name_only:437 - set test unit configuration
2020-09-29 01:47:32.527 | INFO     | api_testing.apis.base_api:set_configuration:73 - status code: 1
2020-09-29 01:47:32.527 | INFO     | api_testing.apis.orders_api:set_configuration:498 - set order configuration
2020-09-29 01:47:32.925 | INFO     | api_testing.apis.base_api:set_configuration:73 - status code: 1
2020-09-29 01:47:32.926 | INFO     | api_testing.apis.base_api:wrapper:130 - GET : https://automation.1lims.com/api/modulesConfigurations/getComponentConfigs
2020-09-29 01:47:33.226 | DEBUG    | api_testing.apis.base_api:wrapper:137 - status code: 1
2020-09-29 01:47:33.226 | INFO     | test001_order:setUp:39 - go to Modules Configurations
2020-09-29 01:47:35.988 | INFO     | ui_testing.pages.base_pages:wait_until_page_is_loaded:606 - wait until page is loaded
2020-09-29 01:47:36.027 | DEBUG    | ui_testing.pages.base_pages:sleep_tiny:39 - wait up to 0.5 sec
2020-09-29 01:47:37.038 | DEBUG    | ui_testing.pages.base_pages:sleep_tiny:39 - wait up to 0.5 sec
2020-09-29 01:47:37.873 | INFO     | ui_testing.pages.base_pages:save:55 - save the changes
2020-09-29 01:47:37.873 | DEBUG    | ui_testing.pages.base_pages:sleep_tiny:39 - wait up to 0.5 sec
2020-09-29 01:47:38.739 | DEBUG    | ui_testing.pages.base_pages:sleep_tiny:39 - wait up to 0.5 sec
2020-09-29 01:47:39.914 | DEBUG    | ui_testing.pages.base_pages:sleep_tiny:39 - wait up to 0.5 sec
2020-09-29 01:47:43.671 | INFO     | ui_testing.pages.base_pages:wait_until_page_is_loaded:606 - wait until page is loaded
2020-09-29 01:47:43.713 | DEBUG    | ui_testing.pages.base_pages:sleep_tiny:39 - wait up to 0.5 sec
2020-09-29 01:47:44.427 | DEBUG    | ui_testing.pages.base_pages:sleep_tiny:39 - wait up to 0.5 sec
2020-09-29 01:47:45.205 | INFO     | api_testing.apis.base_api:wrapper:130 - GET : https://automation.1lims.com/api/orders
2020-09-29 01:47:45.467 | DEBUG    | api_testing.apis.base_api:wrapper:137 - status code: 1
2020-09-29 01:47:45.468 | INFO     | api_testing.apis.base_api:wrapper:130 - GET : https://automation.1lims.com/api/orders/suborder/?orderId=58&deleted=0
2020-09-29 01:47:45.717 | DEBUG    | api_testing.apis.base_api:wrapper:137 - status code: 1
2020-09-29 01:47:45.718 | INFO     | api_testing.apis.base_api:wrapper:130 - GET : https://automation.1lims.com/api/orders/suborder/?orderId=57&deleted=0
2020-09-29 01:47:46.122 | DEBUG    | api_testing.apis.base_api:wrapper:137 - status code: 1
2020-09-29 01:47:46.123 | INFO     | api_testing.apis.base_api:wrapper:130 - GET : https://automation.1lims.com/api/orders/suborder/?orderId=56&deleted=0
2020-09-29 01:47:46.365 | DEBUG    | api_testing.apis.base_api:wrapper:137 - status code: 1
2020-09-29 01:47:46.366 | INFO     | api_testing.apis.base_api:wrapper:130 - GET : https://automation.1lims.com/api/orders/suborder/?orderId=55&deleted=0
2020-09-29 01:47:46.524 | DEBUG    | api_testing.apis.base_api:wrapper:137 - status code: 1
2020-09-29 01:47:46.525 | INFO     | api_testing.apis.base_api:wrapper:130 - GET : https://automation.1lims.com/api/orders/suborder/?orderId=54&deleted=0
2020-09-29 01:47:46.674 | DEBUG    | api_testing.apis.base_api:wrapper:137 - status code: 1
2020-09-29 01:47:46.675 | INFO     | api_testing.apis.base_api:wrapper:130 - GET : https://automation.1lims.com/api/orders/suborder/?orderId=53&deleted=0
2020-09-29 01:47:46.792 | DEBUG    | api_testing.apis.base_api:wrapper:137 - status code: 1
2020-09-29 01:47:46.793 | INFO     | api_testing.apis.base_api:wrapper:130 - GET : https://automation.1lims.com/api/orders/suborder/?orderId=52&deleted=0
2020-09-29 01:47:46.916 | DEBUG    | api_testing.apis.base_api:wrapper:137 - status code: 1
2020-09-29 01:47:46.917 | INFO     | api_testing.apis.base_api:wrapper:130 - GET : https://automation.1lims.com/api/orders/suborder/?orderId=51&deleted=0
2020-09-29 01:47:47.048 | DEBUG    | api_testing.apis.base_api:wrapper:137 - status code: 1
2020-09-29 01:47:47.048 | INFO     | api_testing.apis.base_api:wrapper:130 - GET : https://automation.1lims.com/api/orders/suborder/?orderId=50&deleted=0
2020-09-29 01:47:47.187 | DEBUG    | api_testing.apis.base_api:wrapper:137 - status code: 1
2020-09-29 01:47:47.188 | INFO     | api_testing.apis.base_api:wrapper:130 - GET : https://automation.1lims.com/api/orders/suborder/?orderId=49&deleted=0
2020-09-29 01:47:47.305 | DEBUG    | api_testing.apis.base_api:wrapper:137 - status code: 1
2020-09-29 01:47:47.306 | INFO     | api_testing.apis.base_api:wrapper:130 - GET : https://automation.1lims.com/api/orders/suborder/?orderId=48&deleted=0
2020-09-29 01:47:47.428 | DEBUG    | api_testing.apis.base_api:wrapper:137 - status code: 1
2020-09-29 01:47:47.429 | INFO     | api_testing.apis.base_api:wrapper:130 - GET : https://automation.1lims.com/api/orders/suborder/?orderId=47&deleted=0
2020-09-29 01:47:47.559 | DEBUG    | api_testing.apis.base_api:wrapper:137 - status code: 1
2020-09-29 01:47:47.560 | INFO     | api_testing.apis.base_api:wrapper:130 - GET : https://automation.1lims.com/api/orders/suborder/?orderId=46&deleted=0
2020-09-29 01:47:47.679 | DEBUG    | api_testing.apis.base_api:wrapper:137 - status code: 1
2020-09-29 01:47:47.680 | INFO     | api_testing.apis.base_api:wrapper:130 - GET : https://automation.1lims.com/api/orders/suborder/?orderId=45&deleted=0
2020-09-29 01:47:47.848 | DEBUG    | api_testing.apis.base_api:wrapper:137 - status code: 1
2020-09-29 01:47:47.849 | INFO     | api_testing.apis.base_api:wrapper:130 - GET : https://automation.1lims.com/api/orders/suborder/?orderId=44&deleted=0
2020-09-29 01:47:48.152 | DEBUG    | api_testing.apis.base_api:wrapper:137 - status code: 1
2020-09-29 01:47:48.152 | INFO     | api_testing.apis.base_api:wrapper:130 - GET : https://automation.1lims.com/api/orders/suborder/?orderId=43&deleted=0
2020-09-29 01:47:48.289 | DEBUG    | api_testing.apis.base_api:wrapper:137 - status code: 1
2020-09-29 01:47:48.290 | INFO     | api_testing.apis.base_api:wrapper:130 - GET : https://automation.1lims.com/api/orders/suborder/?orderId=41&deleted=0
2020-09-29 01:47:48.407 | DEBUG    | api_testing.apis.base_api:wrapper:137 - status code: 1
2020-09-29 01:47:48.407 | INFO     | api_testing.apis.base_api:wrapper:130 - GET : https://automation.1lims.com/api/orders/suborder/?orderId=40&deleted=0
2020-09-29 01:47:48.532 | DEBUG    | api_testing.apis.base_api:wrapper:137 - status code: 1
2020-09-29 01:47:48.532 | INFO     | api_testing.apis.base_api:wrapper:130 - GET : https://automation.1lims.com/api/orders/suborder/?orderId=39&deleted=0
2020-09-29 01:47:48.665 | DEBUG    | api_testing.apis.base_api:wrapper:137 - status code: 1
2020-09-29 01:47:48.665 | INFO     | api_testing.apis.base_api:wrapper:130 - GET : https://automation.1lims.com/api/orders/suborder/?orderId=38&deleted=0
2020-09-29 01:47:48.788 | DEBUG    | api_testing.apis.base_api:wrapper:137 - status code: 1
2020-09-29 01:47:48.788 | INFO     | test001_order:test003_export_xslx_file:213 -  * Download XSLX sheet
2020-09-29 01:47:49.253 | INFO     | ui_testing.pages.base_pages:download_xslx_sheet:239 - download XSLX sheet
2020-09-29 01:48:19.959 | INFO     | test001_order:test003_export_xslx_file:217 - Comparing the order no. 1 
2020-09-29 01:48:19.962 | INFO     | test001_order:test003_export_xslx_file:217 - Comparing the order no. 2 
2020-09-29 01:48:19.965 | INFO     | test001_order:test003_export_xslx_file:217 - Comparing the order no. 3 
2020-09-29 01:48:19.968 | INFO     | test001_order:test003_export_xslx_file:217 - Comparing the order no. 4 
2020-09-29 01:48:19.971 | INFO     | test001_order:test003_export_xslx_file:217 - Comparing the order no. 5 
2020-09-29 01:48:19.974 | INFO     | test001_order:test003_export_xslx_file:217 - Comparing the order no. 6 
2020-09-29 01:48:19.978 | INFO     | test001_order:test003_export_xslx_file:217 - Comparing the order no. 7 
2020-09-29 01:48:19.984 | INFO     | test001_order:test003_export_xslx_file:217 - Comparing the order no. 8 
2020-09-29 01:48:19.989 | INFO     | test001_order:test003_export_xslx_file:217 - Comparing the order no. 9 
2020-09-29 01:48:19.994 | INFO     | test001_order:test003_export_xslx_file:217 - Comparing the order no. 10 
2020-09-29 01:48:20.000 | INFO     | test001_order:test003_export_xslx_file:217 - Comparing the order no. 11 
2020-09-29 01:48:20.005 | INFO     | test001_order:test003_export_xslx_file:217 - Comparing the order no. 12 
2020-09-29 01:48:20.011 | INFO     | test001_order:test003_export_xslx_file:217 - Comparing the order no. 13 
2020-09-29 01:48:20.016 | INFO     | test001_order:test003_export_xslx_file:217 - Comparing the order no. 14 
2020-09-29 01:48:20.022 | INFO     | test001_order:test003_export_xslx_file:217 - Comparing the order no. 15 
2020-09-29 01:48:20.027 | INFO     | test001_order:test003_export_xslx_file:217 - Comparing the order no. 16 
2020-09-29 01:48:20.032 | INFO     | test001_order:test003_export_xslx_file:217 - Comparing the order no. 17 
2020-09-29 01:48:20.038 | INFO     | test001_order:test003_export_xslx_file:217 - Comparing the order no. 18 
2020-09-29 01:48:20.043 | INFO     | test001_order:test003_export_xslx_file:217 - Comparing the order no. 19 
2020-09-29 01:48:20.049 | INFO     | test001_order:test003_export_xslx_file:217 - Comparing the order no. 20 
2020-09-29 01:48:20.054 | INFO     | test001_order:test003_export_xslx_file:217 - Comparing the order no. 21 
2020-09-29 01:48:20.059 | INFO     | test001_order:test003_export_xslx_file:217 - Comparing the order no. 22 
2020-09-29 01:48:20.065 | INFO     | test001_order:test003_export_xslx_file:217 - Comparing the order no. 23 
2020-09-29 01:48:20.070 | INFO     | test001_order:test003_export_xslx_file:217 - Comparing the order no. 24 
2020-09-29 01:48:20.076 | INFO     | test001_order:test003_export_xslx_file:217 - Comparing the order no. 25 
2020-09-29 01:48:20.081 | INFO     | test001_order:test003_export_xslx_file:217 - Comparing the order no. 26 
2020-09-29 01:48:20.084 | INFO     | api_testing.apis.base_api:wrapper:130 - GET : https://automation.1lims.com/api/modulesConfigurations/getComponentConfigs
2020-09-29 01:48:20.203 | DEBUG    | api_testing.apis.base_api:wrapper:137 - status code: 1
2020-09-29 01:48:22.499 | INFO     | ui_testing.pages.base_pages:wait_until_page_is_loaded:606 - wait until page is loaded
2020-09-29 01:48:22.538 | DEBUG    | ui_testing.pages.base_pages:sleep_tiny:39 - wait up to 0.5 sec
2020-09-29 01:48:23.257 | DEBUG    | ui_testing.pages.base_pages:sleep_tiny:39 - wait up to 0.5 sec
2020-09-29 01:48:24.074 | INFO     | ui_testing.pages.base_pages:save:55 - save the changes
2020-09-29 01:48:24.074 | DEBUG    | ui_testing.pages.base_pages:sleep_tiny:39 - wait up to 0.5 sec
2020-09-29 01:48:24.947 | DEBUG    | ui_testing.pages.base_pages:sleep_tiny:39 - wait up to 0.5 sec
2020-09-29 01:48:26.691 | INFO     | ui_testing.testcases.base_test:tearDown:33 - go to dashboard page
2020-09-29 01:48:28.867 | INFO     | ui_testing.testcases.base_test:tearDown:35 - TearDown.     
ok

----------------------------------------------------------------------
Ran 1 test in 77.351s

OK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant