@ -255,7 +256,7 @@ class BrowserToolbarCFRPresenterTest {
}
}
@Test
@Test
fun`GIVEN the user opted in the shopping feature AND the opted in shopping CFR should be shown WHEN the tab is not loading THEN the CFR is shown`(){
fun`GIVEN the user opted in the shopping feature AND the opted in shopping CFR should be shown WHEN the tab finishes loading THEN the CFR is shown`(){
valtab=createTab(url="")
valtab=createTab(url="")
valbrowserStore=createBrowserStore(
valbrowserStore=createBrowserStore(
tab=tab,
tab=tab,
@ -290,6 +291,40 @@ class BrowserToolbarCFRPresenterTest {
verify{presenter.showShoppingCFR(eq(true))}
verify{presenter.showShoppingCFR(eq(true))}
}
}
@Test
fun`GIVEN the user opted in the shopping feature AND the opted in shopping CFR should be shown WHEN opening a loaded product page THEN the CFR is shown`(){