mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 01:35:49 +03:00
Fix other test
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
4719084af2
commit
95e7e366ed
1 changed files with 5 additions and 0 deletions
|
@ -55,6 +55,11 @@ describe('Login', function() {
|
|||
it('should show form with change server link', function() {
|
||||
const root = render();
|
||||
|
||||
// Set non-empty flows & matrixClient to get past the loading spinner
|
||||
root.setState({
|
||||
currentFlow: "m.login.password",
|
||||
});
|
||||
|
||||
const form = ReactTestUtils.findRenderedComponentWithType(
|
||||
root,
|
||||
sdk.getComponent('auth.PasswordLogin'),
|
||||
|
|
Loading…
Reference in a new issue