Skip to content

Adapt testOpenInNewTabTitle() to upstream change

Felix Ernst requested to merge felixernst/dolphin:adapt_testopeninnewtab into master

Prior to this commit the test failed because it expected a generic "inode-directory" icon for directories like "home" or "tmp" even though we have more specialised and nicer icons for these directories. I assume the test only used to pass because we were actually always using generic and therefore unhelpful icons for tabs.

This commit removes the hard-coded expectation of the "inode-directory" icon and instead compares the tab icon with the return value of KIO::iconNameForUrl(tabUrl).

Merge request reports

Loading