Class org.mozilla.fenix.shopping.store.ReviewQualityCheckStateTest
Tests
Test |
Duration |
Result |
WHEN AnalysisPresent has a single highlights section and the section has more than 2 snippets THEN show more button and highlights fade are visible |
0s |
passed |
WHEN AnalysisPresent has exactly 1 highlights snippet THEN show more button and highlights fade are not visible |
0.001s |
passed |
WHEN AnalysisPresent has exactly 2 highlights snippets THEN show more button and highlights fade are not visible |
0s |
passed |
WHEN AnalysisPresent has more than 2 highlights snippets THEN show more button and highlights fade are visible |
0s |
passed |
WHEN AnalysisPresent has only 1 highlight snippet for the first category and more for others THEN show more button is visible and highlights fade is not visible |
0s |
passed |
WHEN AnalysisPresent is created with at least one of grade, rating and highlights as not null THEN no exception is thrown |
0s |
passed |
WHEN AnalysisPresent is created with grade, rating and highlights as null THEN exception is thrown |
0.001s |
passed |
WHEN highlights are present THEN highlights to display in compact mode should contain first 2 highlights of the first highlight type |
0s |
passed |
WHEN no analysis is present with negative progress THEN progress bar is not visible |
0s |
passed |
WHEN no analysis is present with progress THEN normalized progress should match and progress bar is visible |
0s |
passed |
WHEN only 1 highlight is present THEN highlights to display in compact mode should contain that one |
0s |
passed |
WHEN progress has a positive value THEN normalized progress should match |
0s |
passed |