Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(397)

Issue 1871883002: Make Safari tests more robust. (Closed)

Created:
4 years, 8 months ago by ahe
Modified:
4 years, 6 months ago
Reviewers:
Bill Hesse
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 3

Patch Set 2 : Convert nuke_safari.sh to Dart. #

Patch Set 3 : Cleaned up #

Patch Set 4 : Status updates and fix a typo. #

Total comments: 18

Patch Set 5 : Merged with 0554fedc2e8ee0ec1527cbc9ec6c0367c639b000 #

Patch Set 6 : Address comments. #

Total comments: 4

Patch Set 7 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+511 lines, -175 lines) Patch
M tests/co19/co19-dart2js.status View 1 2 3 4 11 chunks +38 lines, -8 lines 0 comments Download
M tests/html/html.status View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M tools/bots/compiler.py View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
A tools/safari_factory_reset.py View 1 2 3 4 5 1 chunk +27 lines, -0 lines 0 comments Download
M tools/testing/dart/browser_controller.dart View 1 2 3 4 5 6 18 chunks +208 lines, -160 lines 0 comments Download
A tools/testing/dart/reset_safari.dart View 1 1 chunk +227 lines, -0 lines 0 comments Download
M tools/testing/dart/test_configurations.dart View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M tools/testing/dart/test_options.dart View 1 2 3 4 5 6 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
ahe
Sorry, this is very much work in progress. I've been running Safari tests like this: ...
4 years, 8 months ago (2016-04-08 12:56:52 UTC) #2
ahe
Please take a look, I've cleaned up the code and I'm ready for a thorough ...
4 years, 8 months ago (2016-04-18 15:02:57 UTC) #3
Bill Hesse
https://codereview.chromium.org/1871883002/diff/60001/tools/safari_factory_reset.py File tools/safari_factory_reset.py (right): https://codereview.chromium.org/1871883002/diff/60001/tools/safari_factory_reset.py#newcode18 tools/safari_factory_reset.py:18: dart_test_script = string.join([tools_dir, dart_script_name], os.sep) I would join tools_dir ...
4 years, 7 months ago (2016-04-25 08:20:19 UTC) #4
ahe
Thank you, Bill. Please take another look. https://codereview.chromium.org/1871883002/diff/60001/tools/safari_factory_reset.py File tools/safari_factory_reset.py (right): https://codereview.chromium.org/1871883002/diff/60001/tools/safari_factory_reset.py#newcode18 tools/safari_factory_reset.py:18: dart_test_script = ...
4 years, 6 months ago (2016-05-24 08:44:42 UTC) #5
ahe
ping
4 years, 6 months ago (2016-05-31 06:02:43 UTC) #6
Bill Hesse
On 2016/05/31 06:02:43, ahe wrote: > ping ack
4 years, 6 months ago (2016-05-31 06:43:02 UTC) #7
ahe
ping
4 years, 6 months ago (2016-06-03 15:58:31 UTC) #8
ahe
ping
4 years, 6 months ago (2016-06-06 07:11:58 UTC) #9
Bill Hesse
LGTM. https://codereview.chromium.org/1871883002/diff/100001/tools/testing/dart/browser_controller.dart File tools/testing/dart/browser_controller.dart (right): https://codereview.chromium.org/1871883002/diff/100001/tools/testing/dart/browser_controller.dart#newcode285 tools/testing/dart/browser_controller.dart:285: Future<Null> notifyGetDriverPage() => new Future<Null>.value(); This could use ...
4 years, 6 months ago (2016-06-09 17:35:42 UTC) #10
ahe
Committed patchset #7 (id:120001) manually as 199806da039db6dd03a64737a18e0cc97ed5dd0f (presubmit successful).
4 years, 6 months ago (2016-06-15 08:16:21 UTC) #12
ahe
4 years, 6 months ago (2016-06-15 08:16:54 UTC) #13
Message was sent while issue was closed.
Thank you, Bill.

https://codereview.chromium.org/1871883002/diff/100001/tools/testing/dart/bro...
File tools/testing/dart/browser_controller.dart (right):

https://codereview.chromium.org/1871883002/diff/100001/tools/testing/dart/bro...
tools/testing/dart/browser_controller.dart:285: Future<Null>
notifyGetDriverPage() => new Future<Null>.value();
On 2016/06/09 17:35:42, Bill Hesse wrote:
> This could use a comment as explanation, that this signals when the driver
page
> is requested, so actions (like foregrounding the browser) can be taken.  Would
a
> better name be onDriverPageRequested? 

Done.

https://codereview.chromium.org/1871883002/diff/100001/tools/testing/dart/tes...
File tools/testing/dart/test_options.dart (right):

https://codereview.chromium.org/1871883002/diff/100001/tools/testing/dart/tes...
tools/testing/dart/test_options.dart:341: 'reset-browser-configuration',
On 2016/06/09 17:35:42, Bill Hesse wrote:
> All the internal names of flags have (or should have) underscores, not
hyphens. 
> That is the standard we have been using in the rest of the file.

Done.

Powered by Google App Engine
This is Rietveld 408576698