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

Script for issue 974 #1919

Merged

Conversation

GetmanetsIrina
Copy link
Contributor

@GetmanetsIrina GetmanetsIrina commented Jun 6, 2018

ATF Test Scripts to check #974

This PR is ready for review.

Summary

ATF test script to verify the issue.

ATF version

develop

CLA

@Jack-Byrne
Copy link
Collaborator

@dboltovskyi Experiencing some failures when using the webengine builds/branches

==============================
Start 'test_scripts/Defects/6_1/974_updateDeviceList_after_closingConnection.lua'
==============================
SDL build option REMOTE_CONTROL is unavailable.
Assume that SDL was built with REMOTE_CONTROL = ON
Default mobile device transport: TCP
=====================================================================================================
Description: ATF test script
Severity: Major
=====================================================================================================
--- Preconditions -----------------------------------------------------------------------------------
kill: (86644): No such process
[13:25:23,004] Clean_environment                                                                     [SUCCESS] (406 ms)
SDL pid 86666
tcp        0      0 127.0.0.1:8087          0.0.0.0:*               LISTEN     
HMI initialized
HMI is ready
[13:25:24,444] Start_SDL__HMI                                                                        [SUCCESS] (678 ms)
--- Test --------------------------------------------------------------------------------------------
[13:25:25,151] Connect_device                                                                        [FAIL] (94 ms)
 HMI call BasicCommunication.UpdateDeviceList: ValidIf: 
number of array elements params.deviceList: expected 1, actual: 2
[13:25:25,245] Discover_device_after_device_connect                                                  [FAIL] (14 ms)
 HMI call BasicCommunication.UpdateDeviceList: ValidIf: 
number of array elements params.deviceList: expected 1, actual: 2
Disconnected!!!
[13:25:25,260] Close_Connection                                                                      [SUCCESS] (43 ms)
[13:25:25,303] Discover_device_after_device_disconnect                                               [FAIL] (340 ms)
 HMI call BasicCommunication.UpdateDeviceList: ValidIf: 
deviceList array in UpdateDeviceList is not empty. Received elements number '1'
--- Postconditions ----------------------------------------------------------------------------------
[13:25:25,643] Stop_SDL                                                                              [SUCCESS] (4 ms)
Total executing time is 4s 726ms (summary 4726ms)
==============================
Finish 'test_scripts/Defects/6_1/974_updateDeviceList_after_closingConnection.lua'

@dboltovskyi
Copy link
Contributor

dboltovskyi commented Feb 25, 2020

@JackLivio Please notice, current PR is designed to work with develop branch of sdl_core and sdl_atf
I would like to notice after merge of WenEngine feature some adjustments requires to be bone in scripts with UpdateDeviceList
I would propose to merge this PR into develop if you're Ok with it.
And I'll prepare some update for the script from this PR and other scripts from already merged PRs: #1921, #1929, #2137, #1962, #2143
And will push it as a separate commit into #2323

@Jack-Byrne Jack-Byrne merged commit 5359e05 into smartdevicelink:develop Feb 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants