Merge pull request #6716 from mozilla/issue-6713, r=@vladkoff
This commit is contained in:
Коммит
a95ded1727
|
@ -16,7 +16,7 @@ const ios10UserAgent = uaStrings['ios_firefox_6_1'];
|
|||
const ADD_AVATAR_BUTTON_SELECTOR = '#change-avatar .settings-unit-toggle.primary-button';
|
||||
const AVATAR_CHANGE_URL = config.fxaContentRoot + 'settings/avatar/change';
|
||||
const AVATAR_CHANGE_URL_AUTOMATED = config.fxaContentRoot + 'settings/avatar/change?automatedBrowser=true';
|
||||
const PASSWORD = 'password';
|
||||
const PASSWORD = 'passwordzxcv';
|
||||
const SETTINGS_URL = config.fxaContentRoot + 'settings';
|
||||
const SETTINGS_URL_IOS10 = `${SETTINGS_URL}?forceUA='${encodeURIComponent(ios10UserAgent)}`;
|
||||
const SIGNIN_URL = config.fxaContentRoot + 'signin';
|
||||
|
|
|
@ -13,7 +13,7 @@ const selectors = require('./lib/selectors');
|
|||
const config = intern._config;
|
||||
const PAGE_COMPLETE_SIGNIN_URL = config.fxaContentRoot + 'complete_signin';
|
||||
const PAGE_SIGNIN_URL = config.fxaContentRoot + 'signin?context=fx_desktop_v1&service=sync';
|
||||
const PASSWORD = 'password';
|
||||
const PASSWORD = 'passwordzxcv';
|
||||
|
||||
|
||||
let code;
|
||||
|
|
|
@ -25,7 +25,7 @@ const {
|
|||
thenify,
|
||||
} = FunctionalHelpers;
|
||||
|
||||
const PASSWORD = 'password';
|
||||
const PASSWORD = 'passwordzxcv';
|
||||
let email;
|
||||
|
||||
const setupTest = thenify(function (options) {
|
||||
|
|
|
@ -10,7 +10,7 @@ const FunctionalHelpers = require('./lib/helpers');
|
|||
const config = intern._config;
|
||||
const CONTENT_SERVER_ROOT = config.fxaContentRoot;
|
||||
const TRUSTED_REDIRECT_URI = `${config.fxaOAuthApp}api/oauth`;
|
||||
const PASSWORD = 'password';
|
||||
const PASSWORD = 'passwordzxcv';
|
||||
|
||||
const clearBrowserState = FunctionalHelpers.clearBrowserState;
|
||||
const getQueryParamValue = FunctionalHelpers.getQueryParamValue;
|
||||
|
|
|
@ -16,7 +16,7 @@ const TIMEOUT = 90 * 1000;
|
|||
|
||||
const TRUSTED_OAUTH_APP = config.fxaOAuthApp;
|
||||
const UNTRUSTED_OAUTH_APP = config.fxaUntrustedOauthApp;
|
||||
const PASSWORD = 'password';
|
||||
const PASSWORD = 'passwordzxcv';
|
||||
|
||||
let email;
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ const selectors = require('./lib/selectors');
|
|||
|
||||
const SIGNIN_URL = `${config.fxaContentRoot}signin`;
|
||||
|
||||
const PASSWORD = 'password';
|
||||
const PASSWORD = 'passwordzxcv';
|
||||
let email, secret;
|
||||
|
||||
const {
|
||||
|
|
|
@ -20,7 +20,7 @@ otplib.authenticator.options = {encoding: 'hex'};
|
|||
const SIGNUP_URL = `${config.fxaContentRoot}signup`;
|
||||
const SETTINGS_URL = `${config.fxaContentRoot}settings`;
|
||||
|
||||
const PASSWORD = 'password';
|
||||
const PASSWORD = 'passwordzxcv';
|
||||
let authenticator, email, secret, code;
|
||||
|
||||
const thenify = FunctionalHelpers.thenify;
|
||||
|
|
|
@ -15,7 +15,7 @@ const SIGNUP_URL = `${config.fxaContentRoot}signup`;
|
|||
const SIGNIN_URL = `${config.fxaContentRoot}signin`;
|
||||
const SETTINGS_URL = `${config.fxaContentRoot}settings`;
|
||||
const RESET_PASSWORD_URL = config.fxaContentRoot + 'reset_password?context=fx_desktop_v3&service=sync&automatedBrowser=true&forceAboutAccounts=true';
|
||||
const PASSWORD = 'password';
|
||||
const PASSWORD = 'passwordzxcv';
|
||||
const NEW_PASSWORD = '()()():|';
|
||||
let email, recoveryKey;
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ const RESET_PAGE_URL = config.fxaContentRoot + 'reset_password';
|
|||
const CONFIRM_PAGE_URL = config.fxaContentRoot + 'confirm_reset_password';
|
||||
const COMPLETE_PAGE_URL_ROOT = config.fxaContentRoot + 'complete_reset_password';
|
||||
|
||||
const PASSWORD = 'password';
|
||||
const PASSWORD = 'passwordzxcv';
|
||||
const TIMEOUT = 90 * 1000;
|
||||
|
||||
let client;
|
||||
|
|
|
@ -28,7 +28,7 @@ const SEND_SMS_NO_QUERY_URL = `${config.fxaContentRoot}sms`;
|
|||
|
||||
|
||||
let email;
|
||||
const PASSWORD = 'password';
|
||||
const PASSWORD = 'passwordzxcv';
|
||||
|
||||
let testPhoneNumber;
|
||||
let formattedPhoneNumber;
|
||||
|
|
|
@ -14,7 +14,7 @@ const config = intern._config;
|
|||
const SIGNUP_URL = config.fxaContentRoot + 'signup';
|
||||
const SIGNIN_URL = config.fxaContentRoot + 'signin';
|
||||
const SETTINGS_URL = config.fxaContentRoot + 'settings';
|
||||
const PASSWORD = 'password';
|
||||
const PASSWORD = 'passwordzxcv';
|
||||
const NEW_PASSWORD = 'password1';
|
||||
|
||||
let email;
|
||||
|
|
|
@ -13,7 +13,7 @@ const selectors = require('./lib/selectors');
|
|||
const config = intern._config;
|
||||
const SIGNUP_URL = config.fxaContentRoot + 'signup';
|
||||
const SIGNIN_URL = config.fxaContentRoot + 'signin';
|
||||
const PASSWORD = 'password';
|
||||
const PASSWORD = 'passwordzxcv';
|
||||
|
||||
let client;
|
||||
let email;
|
||||
|
|
|
@ -13,7 +13,7 @@ const config = intern._config;
|
|||
|
||||
const SIGNUP_URL = `${config.fxaContentRoot}signup`;
|
||||
const SETTINGS_URL = `${config.fxaContentRoot}settings`;
|
||||
const PASSWORD = 'password';
|
||||
const PASSWORD = 'passwordzxcv';
|
||||
const SYNC_SIGNIN_URL = `${config.fxaContentRoot}signin?context=fx_desktop_v3&service=sync`;
|
||||
|
||||
let email;
|
||||
|
|
|
@ -9,7 +9,7 @@ const TestHelpers = require('../lib/helpers');
|
|||
const FunctionalHelpers = require('./lib/helpers');
|
||||
const selectors = require('./lib/selectors');
|
||||
|
||||
const PASSWORD = 'password';
|
||||
const PASSWORD = 'passwordzxcv';
|
||||
let email;
|
||||
|
||||
const click = FunctionalHelpers.click;
|
||||
|
|
|
@ -13,7 +13,7 @@ const config = intern._config;
|
|||
|
||||
const SIGNUP_URL = `${config.fxaContentRoot}signup`;
|
||||
const SETTINGS_URL = `${config.fxaContentRoot}settings`;
|
||||
const PASSWORD = 'password';
|
||||
const PASSWORD = 'passwordzxcv';
|
||||
const SYNC_SIGNIN_URL = `${config.fxaContentRoot}signin?context=fx_desktop_v3&service=sync`;
|
||||
const SIGNIN_URL = `${config.fxaContentRoot}signin`;
|
||||
const RECOVERY_CODES_URL = `${config.fxaContentRoot}settings/two_step_authentication/recovery_codes`;
|
||||
|
|
|
@ -31,7 +31,7 @@ const {
|
|||
testIsBrowserNotifiedOfMessage: testIsBrowserNotified,
|
||||
} = FxDesktopHelpers;
|
||||
|
||||
const PASSWORD = 'password';
|
||||
const PASSWORD = 'passwordzxcv';
|
||||
let email;
|
||||
|
||||
const setupTest = thenify(function (options = {}) {
|
||||
|
|
|
@ -12,7 +12,7 @@ const uaStrings = require('./lib/ua-strings');
|
|||
|
||||
const config = intern._config;
|
||||
|
||||
const PASSWORD = 'password';
|
||||
const PASSWORD = 'passwordzxcv';
|
||||
const RESET_PASSWORD_URL = `${config.fxaContentRoot}reset_password?context=fx_desktop_v3&service=sync&automatedBrowser=true&forceAboutAccounts=true`;
|
||||
|
||||
let email;
|
||||
|
|
Загрузка…
Ссылка в новой задаче