mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-04 03:51:25 +02:00
Fix other test
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
1c7d67e8b3
commit
bf30cfe699
@ -55,6 +55,11 @@ describe('Login', function() {
|
|||||||
it('should show form with change server link', function() {
|
it('should show form with change server link', 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…
x
Reference in New Issue
Block a user