mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[Screenshotting] Fix failing screenshotting functional test (#132393)
This commit is contained in:
parent
dd8bd6fdb3
commit
e2064ae5b1
2 changed files with 2 additions and 3 deletions
|
@ -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 |
Loading…
Add table
Add a link
Reference in a new issue