mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Synthetics] Add test id attributes to synthetics retest elements (#168888)
## Summary Adds test IDs to some newly-added elements. This is useful to us for E2E testing purposes. We can select other attributes/text for these features, but it is beneficial to have the added assurance and simplicity of using a test ID to find these elements.
This commit is contained in:
parent
de21794287
commit
0ede530ae3
2 changed files with 6 additions and 1 deletions
|
@ -182,7 +182,11 @@ export const TestRunsTable = ({
|
|||
<StatusBadge status={parseBadgeStatus(status ?? 'skipped')} />
|
||||
</EuiFlexItem>
|
||||
<EuiFlexItem>
|
||||
<EuiIconTip type="refresh" content={FINAL_ATTEMPT_LABEL} />
|
||||
<EuiIconTip
|
||||
data-test-subj="isRetestIcon"
|
||||
type="refresh"
|
||||
content={FINAL_ATTEMPT_LABEL}
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
</EuiFlexGroup>
|
||||
);
|
||||
|
|
|
@ -61,6 +61,7 @@ export const TestRunsTableHeader = ({
|
|||
<EuiFlexItem grow={false}>
|
||||
<EuiSwitch
|
||||
compressed
|
||||
data-test-subj="toggleRetestSwitch"
|
||||
label={ONLY_SHOW_RETEST}
|
||||
checked={showOnlyFinalAttempts}
|
||||
onChange={(e) => dispatch(showOnlyFinalAttemptsAction(e.target.checked))}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue