mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[ML] Functional tests - stabilize and re-enable a11y tests (#118500)
This PR stabilizes the data frame analytics job row result link usage in tests and re-enables the a11y ML tests.
This commit is contained in:
parent
a0cf6d3708
commit
3768cc6de3
2 changed files with 8 additions and 5 deletions
|
@ -13,8 +13,7 @@ export default function ({ getService }: FtrProviderContext) {
|
|||
const a11y = getService('a11y');
|
||||
const ml = getService('ml');
|
||||
|
||||
// FLAKY https://github.com/elastic/kibana/issues/118417
|
||||
describe.skip('ml', () => {
|
||||
describe('ml', () => {
|
||||
const esArchiver = getService('esArchiver');
|
||||
|
||||
before(async () => {
|
||||
|
|
|
@ -157,9 +157,13 @@ export function MachineLearningDataFrameAnalyticsTableProvider({ getService }: F
|
|||
}
|
||||
|
||||
public async openResultsView(analyticsId: string) {
|
||||
await this.assertJobRowViewButtonExists(analyticsId);
|
||||
await testSubjects.click(this.rowSelector(analyticsId, 'mlAnalyticsJobViewButton'));
|
||||
await testSubjects.existOrFail('mlPageDataFrameAnalyticsExploration', { timeout: 20 * 1000 });
|
||||
await retry.tryForTime(20 * 1000, async () => {
|
||||
await this.assertJobRowViewButtonExists(analyticsId);
|
||||
await testSubjects.click(this.rowSelector(analyticsId, 'mlAnalyticsJobViewButton'));
|
||||
await testSubjects.existOrFail('mlPageDataFrameAnalyticsExploration', {
|
||||
timeout: 5 * 1000,
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
public async openMapView(analyticsId: string) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue