Test |
Duration |
Result |
GIVEN a list of tabs WHEN potentialInactiveTabs is called THEN return the normal tabs which haven't been active lately |
0.002s |
passed |
GIVEN a normal tab is selected WHEN lastOpenedNormalTab is called THEN return the selected normal tab |
0s |
passed |
GIVEN a tab group with one tab WHEN recentTabs is called THEN return a tab group |
0.001s |
passed |
GIVEN a tab which had media playing WHEN inProgressMediaTab is called THEN return that tab |
0.118s |
passed |
GIVEN four normal tabs are open WHEN secondToLastOpenedNormalTab is called THEN return the second-to-last opened tab |
0.001s |
passed |
GIVEN inactiveTabs feature is disabled WHEN actualInactiveTabs is called THEN return an empty result |
0.002s |
passed |
GIVEN inactiveTabs feature is enabled WHEN actualInactiveTabs is called THEN return the normal tabs which haven't been active lately |
0.002s |
passed |
GIVEN no normal tabs are open WHEN secondToLastOpenedNormalTab is called THEN return null |
0.001s |
passed |
GIVEN no tab which had media playing exists WHEN inProgressMediaTab is called THEN return null |
0.001s |
passed |
GIVEN normal tabs exists but a private one is selected WHEN lastOpenedNormalTab is called THEN return the last accessed normal tab |
0s |
passed |
GIVEN one normal tab is open WHEN secondToLastOpenedNormalTab is called THEN return the one tab |
0.001s |
passed |
GIVEN only private tabs and a private one selected WHEN lastOpenedNormalTab is called THEN return null |
0s |
passed |
GIVEN the selected tab is a normal tab and another media tab exists WHEN asRecentTabs is called THEN return a list of these tabs |
0s |
passed |
GIVEN the selected tab is a normal tab and no media tab exists WHEN asRecentTabs is called THEN return a list of that tab |
0.001s |
passed |
GIVEN the selected tab is a normal tab and tab group with one tab exists WHEN asRecentTabs is called THEN return only the normal tab |
0.001s |
passed |
GIVEN the selected tab is a private tab and another tab exists WHEN asRecentTabs is called THEN return a list of the last normal tab |
0.317s |
passed |
GIVEN the selected tab is a private tab and no media tab exists WHEN asRecentTabs is called THEN return a list of the last accessed normal tab |
0s |
passed |
GIVEN the selected tab is a private tab and the media tab is the last accessed normal tab WHEN asRecentTabs is called THEN return a list of the second-to-last normal tab |
0.001s |
passed |
GIVEN two normal tabs are open WHEN secondToLastOpenedNormalTab is called THEN return the second-to-last opened tab |
0s |
passed |