Add an end-to-end test for stickers (#7733)
* Add an end-to-end test for stickers * More logs on login * Wait for spinners to go away * Factor out spinner waiting as it seems useful * Move stickers to the end * More waiting * When all else fails... add sleeps * Waiting for the server picker to appear seems to work..? * Typos Co-authored-by: J. Ryan Stinnett <jryans@gmail.com> * remove commented code from registration usecase Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
This commit is contained in:
parent
84e15fa148
commit
5fe8442f44
8 changed files with 376 additions and 4 deletions
|
@ -315,6 +315,7 @@ export default class PasswordLogin extends React.PureComponent<IProps, IState> {
|
|||
case LoginField.Email:
|
||||
classes.error = this.props.loginIncorrect && !this.props.username;
|
||||
return <EmailField
|
||||
id="mx_LoginForm_email"
|
||||
className={classNames(classes)}
|
||||
name="username" // make it a little easier for browser's remember-password
|
||||
autoComplete="email"
|
||||
|
@ -333,6 +334,7 @@ export default class PasswordLogin extends React.PureComponent<IProps, IState> {
|
|||
case LoginField.MatrixId:
|
||||
classes.error = this.props.loginIncorrect && !this.props.username;
|
||||
return <Field
|
||||
id="mx_LoginForm_username"
|
||||
className={classNames(classes)}
|
||||
name="username" // make it a little easier for browser's remember-password
|
||||
autoComplete="username"
|
||||
|
@ -360,6 +362,7 @@ export default class PasswordLogin extends React.PureComponent<IProps, IState> {
|
|||
/>;
|
||||
|
||||
return <Field
|
||||
id="mx_LoginForm_phone"
|
||||
className={classNames(classes)}
|
||||
name="phoneNumber"
|
||||
autoComplete="tel-national"
|
||||
|
@ -447,6 +450,7 @@ export default class PasswordLogin extends React.PureComponent<IProps, IState> {
|
|||
{ loginType }
|
||||
{ loginField }
|
||||
<Field
|
||||
id="mx_LoginForm_password"
|
||||
className={pwFieldClass}
|
||||
autoComplete="password"
|
||||
type="password"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue