Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
}
};

// Failing: See https://github.com/elastic/kibana/issues/261850
describe.skip('For each artifact list under management', function () {
describe('For each artifact list under management', function () {
targetTags(this, ['@ess', '@serverless']);
this.timeout(60_000 * 5);

Expand Down Expand Up @@ -221,8 +220,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
};

for (const testData of getArtifactsListTestsData()) {
// Failing: See https://github.com/elastic/kibana/issues/261849
describe.skip(`When on the ${testData.title} entries list`, function () {
describe(`When on the ${testData.title} entries list`, function () {
beforeEach(async () => {
policyInfo = await policyTestResources.createPolicy();
await removeAllArtifactLists();
Expand All @@ -237,8 +235,8 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
}
});

it(`should not show page title if there is no ${testData.title} entry`, async () => {
await testSubjects.missingOrFail('header-page-title');
it(`should show empty state if there is no ${testData.title} entry`, async () => {
await testSubjects.existOrFail(`${testData.pagePrefix}-emptyState`);
});

it(`should be able to add a new ${testData.title} entry`, async () => {
Expand Down Expand Up @@ -300,8 +298,8 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
await deleteArtifact(testData);
// We only expect one artifact to have been visible
await testSubjects.missingOrFail(testData.delete.card);
// Header has gone because there is no artifact
await testSubjects.missingOrFail('header-page-title');
// Empty state is shown because there is no artifact
await testSubjects.existOrFail(`${testData.pagePrefix}-emptyState`);
});
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,15 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
const testSubjects = getService('testSubjects');
const toasts = getService('toasts');

// Failing: See https://github.com/elastic/kibana/issues/261829
describe.skip('When on the Trusted Apps list', function () {
describe('When on the Trusted Apps list', function () {
targetTags(this, ['@ess', '@serverless']);

before(async () => {
await pageObjects.trustedApps.navigateToTrustedAppsList();
});

it('should not show page title if there is no trusted app', async () => {
await testSubjects.missingOrFail('header-page-title');
it('should show empty state if there is no trusted app', async () => {
await testSubjects.existOrFail('trustedAppsListPage-emptyState');
});

it('should be able to add a new trusted app and remove it', async () => {
Expand All @@ -50,8 +49,8 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
await testSubjects.waitForDeleted('trustedAppsListPage-deleteModal-submitButton');
// We only expect one trusted app to have been visible
await testSubjects.missingOrFail('trustedAppsListPage-card');
// Header has gone because there is no trusted app
await testSubjects.missingOrFail('header-page-title');
// Empty state is shown because there is no trusted app
await testSubjects.existOrFail('trustedAppsListPage-emptyState');
});
});
};
Loading