diff --git a/src/redux/navigation.js b/src/redux/navigation.js index 9afb32a54..8191ce5d6 100644 --- a/src/redux/navigation.js +++ b/src/redux/navigation.js @@ -19,7 +19,7 @@ const Types = keyMirror({ }); module.exports.getInitialState = () => ({ - useScratch3Registration: false, + useScratch3Registration: true, accountNavOpen: false, canceledDeletionOpen: false, loginError: null, diff --git a/test/integration-legacy/smoke-testing/test-join.js b/test/integration-legacy/smoke-testing/test-join.js index ea524b061..052853e0b 100644 --- a/test/integration-legacy/smoke-testing/test-join.js +++ b/test/integration-legacy/smoke-testing/test-join.js @@ -23,7 +23,9 @@ tap.beforeEach(function () { return driver.get(rootUrl); }); -test('Clicking Join Scratch opens scratchr2 iframe', t => { +// Skipping this test while launching new join flow. +// TODO: Add new smoke tests for the new Join flow! +test('Clicking Join Scratch opens scratchr2 iframe', {skip: true}, t => { clickText('Join Scratch') .then(() => findByXpath('//iframe[contains(@class, "mod-registration")]')) .then(() => t.end()); diff --git a/test/unit/redux/navigation.test.js b/test/unit/redux/navigation.test.js index 1a57bf012..db8a591aa 100644 --- a/test/unit/redux/navigation.test.js +++ b/test/unit/redux/navigation.test.js @@ -28,7 +28,7 @@ describe('unit test lib/validate.js', () => { expect(navigationReducer(defaultState, {type: 'anything'}).loginOpen).toBe(false); expect(navigationReducer(defaultState, {type: 'anything'}).registrationOpen).toBe(false); expect(navigationReducer(defaultState, {type: 'anything'}).searchTerm).toBe(''); - expect(navigationReducer(defaultState, {type: 'anything'}).useScratch3Registration).toBe(false); + expect(navigationReducer(defaultState, {type: 'anything'}).useScratch3Registration).toBe(true); }); // handleToggleAccountNav