Test |
Duration |
Result |
GIVEN a PWA WHEN reinitializing the engine view THEN ignore toolbar heights |
0.231s |
passed |
GIVEN a pdf shown with a dynamic top toolbar WHEN setting engine view insets THEN set none |
0.461s |
passed |
GIVEN addressbar and navbar shown WHEN setting engine view insets THEN use both toolbars' heights |
0.450s |
passed |
GIVEN default engine view resize behavior and addressbar and navbar shown WHEN setting engine view insets THEN use don't update current values |
0.473s |
passed |
GIVEN default engine view resize behavior and keyboard shown WHEN setting engine view insets THEN don't update current values |
0.470s |
passed |
GIVEN default engine view resize behavior and only a bottom toolbar WHEN setting engine view insets THEN don't update current values |
0.460s |
passed |
GIVEN default engine view resize behavior and only a top toolbar WHEN setting engine view insets THEN don't update current values |
0.462s |
passed |
GIVEN dynamic toolbars and not a PWA WHEN initializeEngineView is called THEN set a custom behavior for the browser |
0.030s |
passed |
GIVEN dynamic toolbars for a PWA WHEN initializeEngineView is called THEN don't set a custom behavior for the browser |
0.029s |
passed |
GIVEN find in page active with a dynamic top toolbar WHEN setting engine view insets THEN set none |
0.568s |
passed |
GIVEN fixed toolbar WHEN setting engine view insets THEN use bottom toolbar's height as bottom margin |
0.465s |
passed |
GIVEN keyboard shown WHEN setting engine view insets THEN use both toolbars' heights |
0.452s |
passed |
GIVEN normal browsing WHEN reinitializing the engine view THEN use the toolbar heights |
0.240s |
passed |
GIVEN only a bottom toolbar WHEN setting engine view insets THEN use bottom toolbar's height |
0.460s |
passed |
GIVEN only a top toolbar WHEN setting engine view insets THEN use top toolbar's height |
1.176s |
passed |
GIVEN toolbars should be visible WHEN asked to collapse the browser view THEN reinitialize the browser view and show the toolbars |
0.823s |
passed |
GIVEN toolbars should not be visible WHEN asked to collapse the browser view THEN don't do anything |
0.021s |
passed |
WHEN asked to expand the browser view THEN hide all toolbars and show only the browser view |
0.032s |
passed |
WHEN initializeEngineView is called THEN setDynamicToolbarMaxHeight sets max height to the engine view as a sum of two toolbars heights |
0.032s |
passed |
WHEN isMicrosurveyEnabled and isExperimentationEnabled are false GIVEN a call to setupMicrosurvey THEN messagingFeature is not initialized |
0.016s |
passed |
WHEN isMicrosurveyEnabled and isExperimentationEnabled are true GIVEN a call to setupMicrosurvey THEN messagingFeature is initialized |
0.619s |
passed |
WHEN isMicrosurveyEnabled is false and isExperimentationEnabled true GIVEN a call to setupMicrosurvey THEN messagingFeature is not initialized |
0.023s |
passed |
WHEN isMicrosurveyEnabled is true and isExperimentationEnabled false GIVEN a call to setupMicrosurvey THEN messagingFeature is not initialized |
0.021s |
passed |
WHEN status is different from FAILED or COMPLETED then shouldShowCompletedDownloadDialog will be false |
0.013s |
passed |
WHEN status is equals to FAILED or COMPLETED and it is the same tab then shouldShowCompletedDownloadDialog will be true |
0.146s |
passed |
WHEN the tab is different from the initial one then shouldShowCompletedDownloadDialog will be false |
0.018s |
passed |
initializeEngineView should set EngineViewClippingBehavior when dynamic toolbar is enabled |
0.250s |
passed |
initializeEngineView should set toolbar height as EngineView parent's bottom margin if bottom toolbar is forced for a11y |
0.022s |
passed |
initializeEngineView should set toolbar height as EngineView parent's bottom margin if top toolbar is forced for a11y |
0.018s |
passed |
initializeEngineView should set toolbar height as EngineView parent's bottom margin when using bottom toolbar |
4.797s |
passed |
initializeEngineView should setDynamicToolbarMaxHeight to 0 if bottom toolbar is forced for a11y |
0.023s |
passed |
initializeEngineView should setDynamicToolbarMaxHeight to 0 if dynamic toolbar is disabled |
0.017s |
passed |
initializeEngineView should setDynamicToolbarMaxHeight to 0 if top toolbar is forced for a11y |
0.021s |
passed |
initializeEngineView should setDynamicToolbarMaxHeight to toolbar height if dynamic toolbar is enabled |
0.244s |
passed |