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

Issue 822128 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

Investigate js2gtest for adding Files.app UI Tests

Project Member Reported by sashab@chromium.org, Mar 15 2018

Issue description

Our current integration tests are heavy, and not everything can be tested with unit tests. Investigate what would be involved in adding a new UI testing suite using js2gtest for the files app, which would include some of our existing integration tests as well as (hopefully lots of) new ones.

NOTE: JS2gtest doesn't currently support extensions, but this may be an easy fix (calamity). Also, we might be able to run the Files app in a chrome:// URL in the meantime, and mock out app APIs.
 

Comment 1 by sashab@chromium.org, Mar 15 2018

Labels: M-67

Comment 2 by sashab@chromium.org, Mar 22 2018

Status: Started (was: Assigned)
The webui team seem to be moving away from js2gtest according doc below.  I have organized discussion with dpapad next week, and I will ask about this.

https://docs.google.com/document/d/1Z18WTNv28z5FW3smNEm_GtsfVD2IL-CmmAikwjw3ryo/edit#heading=h.v9zqfotyndh6

If js2gtest can be made to support running apps, it still requires a compilation step, and will only run in browser_tests.  It does not offer any of the desired benefits for:
* development workflow
* helping to test touch features
* ease to create and debug automated tests

Status: Fixed (was: Started)
Confirmed with dpapad@ that js2gtests is not the direction that we should be going.

Sign in to add a comment