fix(test): Increase automatedBrowser timeout to fetch fxaStatus. (#5274) r=vladikoff

* fix(test): Increase automatedBrowser timeout to fetch fxaStatus.

200ms does not seem to be enough on Circle. Bump to 500ms.

fixes #5247

* refactor(test): Move the flaky handshake tests to the top of the circle list.
This commit is contained in:
Shane Tomlinson 2017-07-24 15:36:46 +01:00 коммит произвёл Vlad Filippov
Родитель 294a3f65cd
Коммит 59f014ed01
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -129,7 +129,7 @@ define(function (require, exports, module) {
* @private
*/
_fetchFxaStatus () {
const TEST_REQUEST_DELAY_MS = this.isAutomatedBrowser() ? 200 : 0;
const TEST_REQUEST_DELAY_MS = this.isAutomatedBrowser() ? 500 : 0;
const channel = this._notificationChannel;
return p().delay(TEST_REQUEST_DELAY_MS)

Просмотреть файл

@ -8,6 +8,8 @@ define([
], function (intern, selectCircleTests) {
intern.functionalSuites = selectCircleTests([
'tests/functional/sync_v3_sign_up',
'tests/functional/fx_desktop_handshake',
'tests/functional/settings_secondary_emails.js',
// flaky tests go above here.
'tests/functional/avatar',
@ -21,7 +23,6 @@ define([
'tests/functional/cookies_disabled',
'tests/functional/delete_account',
'tests/functional/force_auth',
'tests/functional/fx_desktop_handshake',
'tests/functional/fx_fennec_v1_force_auth',
'tests/functional/fx_fennec_v1_sign_in',
'tests/functional/fx_fennec_v1_sign_up',
@ -52,7 +53,6 @@ define([
'tests/functional/sync_v3_force_auth',
'tests/functional/sync_v3_settings',
'tests/functional/sync_v3_sign_in',
'tests/functional/sync_v3_sign_up',
]);
return intern;