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

[Develop] Hotfix/join Merge hotfix that enables join flow back to develop
This commit is contained in:
picklesrus 2019-11-18 12:44:03 -05:00 committed by GitHub
commit a111be6db9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View file

@ -19,7 +19,7 @@ const Types = keyMirror({
});
module.exports.getInitialState = () => ({
useScratch3Registration: false,
useScratch3Registration: true,
accountNavOpen: false,
canceledDeletionOpen: false,
loginError: null,

View file

@ -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());

View file

@ -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