[TSVB] Remove temporary fix for Borealis in TSVB test (#212050)

## Summary

Fixes a workaround implemented in the TSVB functional tests to cover a
flaky test that wasn't possible to solve locally.
This commit is contained in:
Marco Vettorello 2025-03-10 13:21:34 +01:00 committed by GitHub
parent 6f831770fd
commit d6afbe9675
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -311,8 +311,8 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
// We need to use OR condition here because of how visColors are set inconsistently
// See https://github.com/elastic/kibana/issues/206380
const [firstColor, secondColor] = areaColors!;
expect(['#16c5c0', '#54b399']).contain(firstColor); // first color in elastic palette
expect(['#a6edea', '#6092c0']).contain(secondColor); // second color in elastic palette
expect(firstColor).to.be('#16c5c0'); // first color in elastic palette
expect(secondColor).to.be('#a6edea'); // second color in elastic palette
expect(areaColors).to.length(2);
expect(firstAreaChartData).to.eql(firstAreaExpectedChartData);
expect(secondAreaChartData).to.eql(secondAreaExpectedChartData);