mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[Reporting] Address Canvas PDF test failing in Cloud (#112623)
This commit is contained in:
parent
2c4abee2ac
commit
6980064e5e
1 changed files with 2 additions and 1 deletions
|
@ -198,7 +198,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
"
|
||||
`);
|
||||
|
||||
expect(res.get('content-length')).to.be('20725');
|
||||
const contentLength = parseInt(res.get('content-length'), 10);
|
||||
expect(contentLength >= 20725 && contentLength <= 20726).to.be(true); // contentLength can be between 20725 and 20726
|
||||
});
|
||||
|
||||
it('downloaded PDF base64 string is correct without borders and logo', async function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue