Cover oauth with e2e tests and fix some old and newly introduced bugs

This commit is contained in:
SleepWalker
2019-12-26 14:18:58 +02:00
parent 8e95fd835e
commit d9fc503f9e
21 changed files with 538 additions and 169 deletions

View File

@@ -89,12 +89,12 @@ class RootPage extends React.PureComponent<{
<Route path="/rules" component={RulesPage} />
<Route path="/dev" component={DevPage} />
{user.isGuest ? (
<AuthFlowRoute path="/" component={AuthPage} />
) : (
{!user.isGuest && (
<AuthFlowRoute exact path="/" component={ProfilePage} />
)}
<AuthFlowRoute path="/" component={AuthPage} />
<Route component={PageNotFound} />
</Switch>
</div>