Adding id examples for UI automation (#5508)
* Adding id examples * Adding id examples
Этот коммит содержится в:
@@ -413,6 +413,7 @@ export default class LoginController extends React.Component {
|
|||||||
</div>
|
</div>
|
||||||
<div className='form-group'>
|
<div className='form-group'>
|
||||||
<button
|
<button
|
||||||
|
id='loginButton'
|
||||||
type='submit'
|
type='submit'
|
||||||
className='btn btn-primary'
|
className='btn btn-primary'
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -48,6 +48,7 @@ export default class SettingItemMax extends React.Component {
|
|||||||
if (this.props.submit) {
|
if (this.props.submit) {
|
||||||
submit = (
|
submit = (
|
||||||
<input
|
<input
|
||||||
|
id='saveSetting'
|
||||||
type='submit'
|
type='submit'
|
||||||
className='btn btn-sm btn-primary'
|
className='btn btn-sm btn-primary'
|
||||||
href='#'
|
href='#'
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ export default class SettingItemMin extends React.Component {
|
|||||||
editButton = (
|
editButton = (
|
||||||
<li className='col-xs-12 col-sm-3 section-edit'>
|
<li className='col-xs-12 col-sm-3 section-edit'>
|
||||||
<a
|
<a
|
||||||
|
id={this.props.title}
|
||||||
className='theme'
|
className='theme'
|
||||||
href='#'
|
href='#'
|
||||||
onClick={this.props.updateSection}
|
onClick={this.props.updateSection}
|
||||||
|
|||||||
@@ -467,6 +467,7 @@ export default class SidebarHeaderDropdown extends React.Component {
|
|||||||
<Dropdown.Menu>
|
<Dropdown.Menu>
|
||||||
<li>
|
<li>
|
||||||
<a
|
<a
|
||||||
|
id='accountSettings'
|
||||||
href='#'
|
href='#'
|
||||||
onClick={this.toggleAccountSettingsModal}
|
onClick={this.toggleAccountSettingsModal}
|
||||||
>
|
>
|
||||||
@@ -480,6 +481,7 @@ export default class SidebarHeaderDropdown extends React.Component {
|
|||||||
{teamLink}
|
{teamLink}
|
||||||
<li>
|
<li>
|
||||||
<a
|
<a
|
||||||
|
id='logout'
|
||||||
href='#'
|
href='#'
|
||||||
onClick={() => GlobalActions.emitUserLoggedOutEvent()}
|
onClick={() => GlobalActions.emitUserLoggedOutEvent()}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -684,6 +684,7 @@ class UserSettingsGeneralTab extends React.Component {
|
|||||||
</label>
|
</label>
|
||||||
<div className='col-sm-7'>
|
<div className='col-sm-7'>
|
||||||
<input
|
<input
|
||||||
|
id='firstName'
|
||||||
className='form-control'
|
className='form-control'
|
||||||
type='text'
|
type='text'
|
||||||
onChange={this.updateFirstName}
|
onChange={this.updateFirstName}
|
||||||
@@ -706,6 +707,7 @@ class UserSettingsGeneralTab extends React.Component {
|
|||||||
</label>
|
</label>
|
||||||
<div className='col-sm-7'>
|
<div className='col-sm-7'>
|
||||||
<input
|
<input
|
||||||
|
id='lastName'
|
||||||
className='form-control'
|
className='form-control'
|
||||||
type='text'
|
type='text'
|
||||||
onChange={this.updateLastName}
|
onChange={this.updateLastName}
|
||||||
@@ -1123,6 +1125,7 @@ class UserSettingsGeneralTab extends React.Component {
|
|||||||
<div>
|
<div>
|
||||||
<div className='modal-header'>
|
<div className='modal-header'>
|
||||||
<button
|
<button
|
||||||
|
id='closeUserSettings'
|
||||||
type='button'
|
type='button'
|
||||||
className='close'
|
className='close'
|
||||||
data-dismiss='modal'
|
data-dismiss='modal'
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user