Fixed an issue while downloading ERD images in Safari and Firefox. Fixes #6177

This commit is contained in:
Aditya Toshniwal
2021-01-29 12:19:24 +05:30
committed by Akshay Joshi
parent 358af42c50
commit a0271c7656
14 changed files with 100 additions and 35 deletions

View File

@@ -304,7 +304,7 @@ describe('ERDCore', ()=>{
setTimeout(()=>{
expect(erdCoreObj.dagreDistributeNodes).toHaveBeenCalled();
done();
}, 10);
}, 500);
});
it('clearSelection', ()=>{

View File

@@ -275,13 +275,6 @@ describe('ERD TableNodeWidget', ()=>{
expect(nodeWidget.find('.table-node .table-cols .col-row').length).toBe(3);
});
it('icons', ()=>{
let cols = nodeWidget.find('.table-node .table-cols .col-row-data');
expect(cols.at(0).find('.wcTabIcon').hasClass('icon-primary_key')).toBeTruthy();
expect(cols.at(1).find('.wcTabIcon').hasClass('icon-column')).toBeTruthy();
expect(cols.at(2).find('.wcTabIcon').hasClass('icon-column')).toBeTruthy();
});
it('column names', ()=>{
let cols = nodeWidget.find('.table-node .table-cols .col-row-data');
expect(cols.at(0).find('.col-name').text()).toBe('id');