[Screenshotting] Fix failing screenshotting functional test (#132393)

This commit is contained in:
Michael Dokolin 2022-05-19 15:38:05 +02:00 committed by GitHub
parent dd8bd6fdb3
commit e2064ae5b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -20,8 +20,7 @@ export default function ({
const testSubjects = getService('testSubjects');
const PageObjects = getPageObjects(['common']);
// FAILING: https://github.com/elastic/kibana/issues/131190
describe.skip('Screenshotting Example', function () {
describe('Screenshotting Example', function () {
before(async () => {
await esArchiver.loadIfNeeded('test/functional/fixtures/es_archiver/logstash_functional');
await kibanaServer.importExport.load('test/functional/fixtures/kbn_archiver/visualize.json');
@ -71,7 +70,7 @@ export default function ({
const memory = await testSubjects.find('cpu');
const text = await memory.getVisibleText();
expect(text).to.match(/\d+\.\d+%/);
expect(text).to.match(/\d+(\.\d+)?%/);
});
it('should show an error message', async () => {

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB