Please find the attached patch to fix the issue : The right panels (properties, SQL etc...) give error while clicking on the partitions of a table.
This fails tests for me:
HeadlessChrome 0.0.0 (Mac OS X 10.12.6): Executed 304 of 741 SUCCESS (0 secs / 4.711 secs)
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) tree#node#getTreeNodeHierarchy getTreeNodeHierarchy is called with aciTreeNode object When tree has table when table has partition returns table with partition parameters FAILED
Expected object not to have properties
partition: Object({ some key: 'expected value', _type: 'partition', some other key: 'some other value', priority: 0 })
at UserContext.<anonymous> (regression/javascript/tree/webpack:/regression/javascript/tree/pgadmin_tree_node_spec.js:177:26)
HeadlessChrome 0.0.0 (Mac OS X 10.12.6): Executed 680 of 741 (1 FAILED) (0 secs / 6.981 secs)
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) tree#node#getTreeNodeHierarchy getTreeNodeHierarchy is called with aciTreeNode object When tree has table when table has partition returns table with partition parameters FAILED
Expected object not to have properties
partition: Object({ some key: 'expected value', _type: 'partition', some other key: 'some other value', priority: 0 })
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) tree#node#getTreeNodeHierarchy getTreeNodeHierarchy is called with TreeNode object When tree has table when table has partition returns table with partition parameters FAILED
Expected object not to have properties
partition: Object({ some key: 'expected value', _type: 'partition', some other key: 'some other value', priority: 0 })
at UserContext.<anonymous> (regression/javascript/tree/webpack:/regression/javascript/tree/pgadmin_tree_node_spec.js:336:26)
HeadlessChrome 0.0.0 (Mac OS X 10.12.6): Executed 686 of 741 (2 FAILED) (0 secs / 6.999 secs)
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) tree#node#getTreeNodeHierarchy getTreeNodeHierarchy is called with TreeNode object When tree has table when table has partition returns table with partition parameters FAILED
Expected object not to have properties
partition: Object({ some key: 'expected value', _type: 'partition', some other key: 'some other value', priority: 0 })
HeadlessChrome 0.0.0 (Mac OS X 10.12.6): Executed 741 of 741 (2 FAILED) (7.47 secs / 7.149 secs)