mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue while downloading ERD images in Safari and Firefox. Fixes #6177
This commit is contained in:
committed by
Akshay Joshi
parent
358af42c50
commit
a0271c7656
@@ -304,7 +304,7 @@ describe('ERDCore', ()=>{
|
||||
setTimeout(()=>{
|
||||
expect(erdCoreObj.dagreDistributeNodes).toHaveBeenCalled();
|
||||
done();
|
||||
}, 10);
|
||||
}, 500);
|
||||
});
|
||||
|
||||
it('clearSelection', ()=>{
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user