Index: tst_cloud_sync - treatment_screen/test.py =================================================================== diff -u -r9361208e8ceaef9ae779a84b3c08ea19604e980d -rbf98ed485921dcfa4ae44169eaba81cc6d1e0325 --- tst_cloud_sync - treatment_screen/test.py (.../test.py) (revision 9361208e8ceaef9ae779a84b3c08ea19604e980d) +++ tst_cloud_sync - treatment_screen/test.py (.../test.py) (revision bf98ed485921dcfa4ae44169eaba81cc6d1e0325) @@ -317,29 +317,29 @@ test.startSection("Renaming the cloudsync,sd-card, usb-disk, application folder name") try: - rename_file(config.SD_CARD_CLOUDSYNC_FOLDER_PATH,"cloudsync") + rename_file(config.SD_CARD_CLOUDSYNC_FOLDER_PATH,"cloudsync") utils.waitForGUI(5) except: test.log(str("cloudsync main desktop folder name not changed")) finally: rename_old_name(config.SD_CARD_CLOUDSYNC_FOLDER_PATH,"cloudsync") - + try: rename_file(config.SD_CARD_LOCATION,"sd-card") utils.waitForGUI(5) except: test.log(str("sd-card folder name not changed")) finally: rename_old_name(config.SD_CARD_LOCATION,"sd-card") - + try: rename_file(config.USB_DISK_FOLDER_LOCATION,"usb-disk") utils.waitForGUI(5) except: test.log(str("usb_disk folder name not changed")) finally: rename_old_name(config.USB_DISK_FOLDER_LOCATION,"usb-disk") - + try: rename_file(config.APPLICATION_FOLDER_LOCATION,"application") utils.waitForGUI(5) @@ -348,6 +348,18 @@ test.log(str("Setings wifi screen not visible")) finally: rename_old_name(config.APPLICATION_FOLDER_LOCATION,"application") + + try: + rename_file(config.CANBUS_FOLDER_LOCATION,"canbus") + HD_DG_VERSION_SERIAL_REQUEST = "1657706421,13,0,1001,3,HD1234567890123,DG1234567890123,06300216" + hd_simulator.cmd_send_serial_hd_data(serial = HD_VERSION_SERIAL_REQUEST[5]) + dg_simulator.cmd_send_serial_dg_data(serial = DG_VERSION_SERIAL_REQUEST[6]) + utils.waitForGUI(5) + verify_wifi_scan() + except: + test.log(str("Setings wifi screen not visible")) + finally: + rename_old_name(config.CANBUS_FOLDER_LOCATION,"canbus") test.endSection() def verify_cloudsync_treatment(): @@ -396,6 +408,10 @@ utils.waitForGUI(0.5) startApplication(config.AUT_NAME) utils.waitForGUI(1.5) + HD_DG_VERSION_SERIAL_REQUEST = "1657706421,13,0,1001,3,HD1234567890123,DG1234567890123,06300216" + hd_simulator.cmd_send_serial_hd_data(serial = HD_VERSION_SERIAL_REQUEST[5]) + dg_simulator.cmd_send_serial_dg_data(serial = DG_VERSION_SERIAL_REQUEST[6]) + utils.waitForGUI(1.5) verify_files_error_message() except: test.log(str("Cloudsync desktop folder name not changed"))