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

Issue 863800 link

Starred by 0 users

Issue metadata

Status: Fixed
Owner:
Closed: Jul 16
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Add an auto-stepper to integration tests StepRunner

Project Member Reported by noel@chromium.org, Jul 16

Issue description

In step-by-step-mode test mode [1], the test extension pauses
and outputs

  "Type step() to continue ..."

in the console (assuming you are devtools inspecting the test
extension). Typing that in the devtools console runs the next
test step.

There should be a way to autoStep() the lot, ie., type in all
those "step()"s automatically.

This auto-stepping ability is useful in various other testing
scenarios outside of integration tests.

[1] eg., running browser tests with extra flags
 --enable-file-manager-step-by-step-tests \
 --ui-test-action-timeout=10000000 \
 --remote-debugging-port=9222

 
Project Member

Comment 1 by bugdroid1@chromium.org, Jul 16

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/db22bae6f7dcdfbdbb26007baaee9b44a05277e4

commit db22bae6f7dcdfbdbb26007baaee9b44a05277e4
Author: Noel Gordon <noel@chromium.org>
Date: Mon Jul 16 10:52:39 2018

Add autoStep helper to FileManager integration test extensions

Add autoStep() helper for step-by-step mode. Typing it at the devtools
console (or evaluating it in other remote inspection tools) causes all
the test steps to run automatically in step by step mode [1].

[1] out/Release/browser_tests --enable-file-manager-step-by-step-tests

Tbr: lucmult
Bug:  863800 ,836254
Cq-Include-Trybots: luci.chromium.try:closure_compilation
Change-Id: I5923f2ad0cc4fcc98e20e7bdf66e9ad504a4f9cf
Reviewed-on: https://chromium-review.googlesource.com/1137968
Reviewed-by: Noel Gordon <noel@chromium.org>
Commit-Queue: Noel Gordon <noel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#575220}
[modify] https://crrev.com/db22bae6f7dcdfbdbb26007baaee9b44a05277e4/ui/file_manager/integration_tests/remote_call.js

Status: Fixed (was: Untriaged)

Sign in to add a comment