Unverified Commit a111be6d authored by picklesrus's avatar picklesrus Committed by GitHub

Merge pull request #3540 from LLK/hotfix/join-flow

[Develop] Hotfix/join Merge hotfix that enables join flow back to develop
parents 6bf2f15e 9bc60390
...@@ -19,7 +19,7 @@ const Types = keyMirror({ ...@@ -19,7 +19,7 @@ const Types = keyMirror({
}); });
module.exports.getInitialState = () => ({ module.exports.getInitialState = () => ({
useScratch3Registration: false, useScratch3Registration: true,
accountNavOpen: false, accountNavOpen: false,
canceledDeletionOpen: false, canceledDeletionOpen: false,
loginError: null, loginError: null,
......
...@@ -23,7 +23,9 @@ tap.beforeEach(function () { ...@@ -23,7 +23,9 @@ tap.beforeEach(function () {
return driver.get(rootUrl); 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') clickText('Join Scratch')
.then(() => findByXpath('//iframe[contains(@class, "mod-registration")]')) .then(() => findByXpath('//iframe[contains(@class, "mod-registration")]'))
.then(() => t.end()); .then(() => t.end());
......
...@@ -28,7 +28,7 @@ describe('unit test lib/validate.js', () => { ...@@ -28,7 +28,7 @@ describe('unit test lib/validate.js', () => {
expect(navigationReducer(defaultState, {type: 'anything'}).loginOpen).toBe(false); expect(navigationReducer(defaultState, {type: 'anything'}).loginOpen).toBe(false);
expect(navigationReducer(defaultState, {type: 'anything'}).registrationOpen).toBe(false); expect(navigationReducer(defaultState, {type: 'anything'}).registrationOpen).toBe(false);
expect(navigationReducer(defaultState, {type: 'anything'}).searchTerm).toBe(''); expect(navigationReducer(defaultState, {type: 'anything'}).searchTerm).toBe('');
expect(navigationReducer(defaultState, {type: 'anything'}).useScratch3Registration).toBe(false); expect(navigationReducer(defaultState, {type: 'anything'}).useScratch3Registration).toBe(true);
}); });
// handleToggleAccountNav // handleToggleAccountNav
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment