mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
fix(tests): serverless observability flaky test (#166205)
This commit is contained in:
parent
3b25d5adad
commit
2a4cb333ec
3 changed files with 21 additions and 6 deletions
|
@ -24,8 +24,6 @@ export default ({ getPageObject, getService }: FtrProviderContext) => {
|
|||
await svlObltNavigation.navigateToLandingPage();
|
||||
|
||||
await svlCommonNavigation.sidenav.clickLink({ deepLinkId: 'observability-overview:cases' });
|
||||
|
||||
await common.clickAndValidate('configure-case-button', 'case-configure-title');
|
||||
});
|
||||
|
||||
after(async () => {
|
||||
|
@ -34,6 +32,10 @@ export default ({ getPageObject, getService }: FtrProviderContext) => {
|
|||
});
|
||||
|
||||
describe('Closure options', function () {
|
||||
before(async () => {
|
||||
await common.clickAndValidate('configure-case-button', 'case-configure-title');
|
||||
});
|
||||
|
||||
it('defaults the closure option correctly', async () => {
|
||||
await cases.common.assertRadioGroupValue('closure-options-radio-group', 'close-by-user');
|
||||
});
|
||||
|
|
|
@ -9,11 +9,19 @@ import { FtrProviderContext } from '../../ftr_provider_context';
|
|||
|
||||
export default function ({ getPageObject, getService }: FtrProviderContext) {
|
||||
const svlObltOnboardingPage = getPageObject('svlObltOnboardingPage');
|
||||
const svlCommonPage = getPageObject('svlCommonPage');
|
||||
const svlObltNavigation = getService('svlObltNavigation');
|
||||
const SvlObltOnboardingStreamLogFilePage = getPageObject('SvlObltOnboardingStreamLogFilePage');
|
||||
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/165885
|
||||
describe.skip('landing page', function () {
|
||||
describe('landing page', function () {
|
||||
before(async () => {
|
||||
await svlCommonPage.login();
|
||||
});
|
||||
|
||||
after(async () => {
|
||||
await svlCommonPage.forceLogout();
|
||||
});
|
||||
|
||||
it('has quickstart badge', async () => {
|
||||
await svlObltNavigation.navigateToLandingPage();
|
||||
await svlObltOnboardingPage.assertQuickstartBadgeExists();
|
||||
|
|
|
@ -11,15 +11,20 @@ import { FtrProviderContext } from '../../ftr_provider_context';
|
|||
export default function ({ getPageObject, getService }: FtrProviderContext) {
|
||||
const svlObltOnboardingPage = getPageObject('svlObltOnboardingPage');
|
||||
const svlObltNavigation = getService('svlObltNavigation');
|
||||
const svlCommonPage = getPageObject('svlCommonPage');
|
||||
const svlCommonNavigation = getPageObject('svlCommonNavigation');
|
||||
const browser = getService('browser');
|
||||
|
||||
// Failing: See https://github.com/elastic/kibana/issues/165924
|
||||
describe.skip('navigation', function () {
|
||||
describe('navigation', function () {
|
||||
before(async () => {
|
||||
await svlCommonPage.login();
|
||||
await svlObltNavigation.navigateToLandingPage();
|
||||
});
|
||||
|
||||
after(async () => {
|
||||
await svlCommonPage.forceLogout();
|
||||
});
|
||||
|
||||
it('navigate observability sidenav & breadcrumbs', async () => {
|
||||
const expectNoPageReload = await svlCommonNavigation.createNoPageReloadCheck();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue