New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 649033 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Last visit > 30 days ago
Closed: Feb 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

create /update orientation test case for EC

Project Member Reported by dchan@chromium.org, Sep 21 2016

Issue description

see https://testtracker.googleplex.com/efforts/testcase/detail/5805776?tp_id=382&result=&environment=

please update test case to ensure the value is send properly 
1- orientation of device
2- lid position
 

Comment 1 by lhui@chromium.org, Sep 21 2016

Hi,

The accelerometer and display angle are the two commands we should be using.

ectool motionsense = position of the DUT

ectool motionsense lid_angle = angle of display relative to closed/clamped position (range = 0-360)

Regards,
Lawrence

Comment 2 Deleted

Status: Assigned (was: Fixed)
Status: Fixed (was: Assigned)
Test Setup
1. Login as guest
2. Open CROSH shell
3. type "shell" to start shell
4. sudo su to login as root
5. On some platform 'ectool motionsense kb_wake' will show when virtual keyboard will become active at what lid angle.

Test Steps:
1. Execute "watch ectool motionsense"
1.1. rotate device along x, y, and z axis

2. Execute "watch ectool motionsense lid_angle"
2.1 Slowly close/open the lid and check the lid angle.

3. Open browser
3.1 Fully open the lid (tablet mode)
3.2 Tap any input field, virtual keyboard should be displayed.
3.3 Slowly close the lid and note when the virtual keyboard will disappear
3.4 Once pass 180 degree, virtual keyboard should not show when tap on any input field should.

Verification Steps:
1. Motion sensor data are updating as you move in different direction. Data for all sensor should be changing.
2. Lid angle should change while open/close lid.
3. Check that the virtual keyboard show up and disappear as expected.

Comment 5 by twreid@chromium.org, Feb 21 2017

Status: Verified (was: Fixed)
This has been added to testtracker

https://testtracker.googleplex.com/testplans/testcase/detail/280307?id=382&revision=274

Sign in to add a comment