mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
e2e: Waits for login before moving forward (#21185)
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import React, { PureComponent, SyntheticEvent, ChangeEvent } from 'react';
|
||||
import React, { ChangeEvent, PureComponent, SyntheticEvent } from 'react';
|
||||
import { Tooltip } from '@grafana/ui';
|
||||
import appEvents from 'app/core/app_events';
|
||||
import { AppEvents } from '@grafana/data';
|
||||
import { e2e } from '@grafana/e2e';
|
||||
|
||||
import appEvents from 'app/core/app_events';
|
||||
|
||||
interface Props {
|
||||
onSubmit: (pw: string) => void;
|
||||
@@ -115,7 +117,7 @@ export class ChangePassword extends PureComponent<Props, State> {
|
||||
placement="bottom"
|
||||
content="If you skip you will be prompted to change password next time you login."
|
||||
>
|
||||
<a className="btn btn-link" onClick={this.onSkip}>
|
||||
<a className="btn btn-link" onClick={this.onSkip} aria-label={e2e.pages.Login.selectors.skip}>
|
||||
Skip
|
||||
</a>
|
||||
</Tooltip>
|
||||
|
||||
Reference in New Issue
Block a user