mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[Infra UI] Hosts flyout test fix (#161244)
Closes #159368 ## Summary I saw that the test was failing because of a missing environment set. I guess that happened because the test runner doesn't include it like it is included locally so I removed that check so the test shouldn't be flaky.
This commit is contained in:
parent
569e873ffb
commit
9d57196a54
1 changed files with 1 additions and 5 deletions
|
@ -245,9 +245,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
|
|||
});
|
||||
});
|
||||
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/159368
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/159369
|
||||
describe.skip('#Single host Flyout', () => {
|
||||
describe('#Single host Flyout', () => {
|
||||
before(async () => {
|
||||
await setHostViewEnabled(true);
|
||||
await pageObjects.common.navigateToApp(HOSTS_VIEW_PATH);
|
||||
|
@ -334,13 +332,11 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
|
|||
|
||||
const query = decodeURIComponent(url.query ?? '');
|
||||
|
||||
const environment = 'environment=ENVIRONMENT_ALL';
|
||||
const kuery = 'kuery=host.hostname:"Jennys-MBP.fritz.box"';
|
||||
const rangeFrom = 'rangeFrom=2023-03-28T18:20:00.000Z';
|
||||
const rangeTo = 'rangeTo=2023-03-28T18:21:00.000Z';
|
||||
|
||||
expect(url.pathname).to.eql('/app/apm/services');
|
||||
expect(query).to.contain(environment);
|
||||
expect(query).to.contain(kuery);
|
||||
expect(query).to.contain(rangeFrom);
|
||||
expect(query).to.contain(rangeTo);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue