mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
use more robust way of entering value (#116566)
This commit is contained in:
parent
c84d20b892
commit
2ba7cdcf30
2 changed files with 9 additions and 4 deletions
|
@ -193,8 +193,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
|
|||
});
|
||||
});
|
||||
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/115529
|
||||
describe.skip('Elastic charts', () => {
|
||||
describe('Elastic charts', () => {
|
||||
beforeEach(async () => {
|
||||
await visualBuilder.toggleNewChartsLibraryWithDebug(true);
|
||||
await visualBuilder.clickPanelOptions('timeSeries');
|
||||
|
|
|
@ -664,7 +664,10 @@ export class VisualBuilderPageObject extends FtrService {
|
|||
public async setBackgroundColor(colorHex: string): Promise<void> {
|
||||
await this.clickColorPicker();
|
||||
await this.checkColorPickerPopUpIsPresent();
|
||||
await this.find.setValue('.euiColorPicker input', colorHex);
|
||||
await this.testSubjects.setValue('euiColorPickerInput_top', colorHex, {
|
||||
clearWithKeyboard: true,
|
||||
typeCharByChar: true,
|
||||
});
|
||||
await this.clickColorPicker();
|
||||
await this.visChart.waitForVisualizationRenderingStabilized();
|
||||
}
|
||||
|
@ -677,7 +680,10 @@ export class VisualBuilderPageObject extends FtrService {
|
|||
public async setColorPickerValue(colorHex: string, nth: number = 0): Promise<void> {
|
||||
await this.clickColorPicker(nth);
|
||||
await this.checkColorPickerPopUpIsPresent();
|
||||
await this.find.setValue('.euiColorPicker input', colorHex);
|
||||
await this.testSubjects.setValue('euiColorPickerInput_top', colorHex, {
|
||||
clearWithKeyboard: true,
|
||||
typeCharByChar: true,
|
||||
});
|
||||
await this.clickColorPicker(nth);
|
||||
await this.visChart.waitForVisualizationRenderingStabilized();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue