mirror of https://github.com/vector-im/riot-web
parent
f1ea5ff6f3
commit
1c7d67e8b3
|
@ -75,6 +75,11 @@ describe('Login', function() {
|
||||||
|
|
||||||
const root = render();
|
const root = render();
|
||||||
|
|
||||||
|
// Set non-empty flows & matrixClient to get past the loading spinner
|
||||||
|
root.setState({
|
||||||
|
currentFlow: "m.login.password",
|
||||||
|
});
|
||||||
|
|
||||||
const form = ReactTestUtils.findRenderedComponentWithType(
|
const form = ReactTestUtils.findRenderedComponentWithType(
|
||||||
root,
|
root,
|
||||||
sdk.getComponent('auth.PasswordLogin'),
|
sdk.getComponent('auth.PasswordLogin'),
|
||||||
|
|
Loading…
Reference in New Issue