File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ async function blockCss(devToolsPage: DevToolsPage) {
5050 const networkManager = SDKModule . NetworkManager . MultitargetNetworkManager . instance ( ) ;
5151 networkManager . requestConditions . conditionsEnabled = true ;
5252 networkManager . requestConditions . add (
53- SDKModule . NetworkManager . RequestCondition . createFromSetting ( { enabled : true , url : '*.css' } ) ) ;
53+ SDKModule . NetworkManager . RequestCondition . createFromSetting ( { enabled : true , url : '*://*:*/* .css' } ) ) ;
5454 } ) ;
5555}
5656
@@ -59,8 +59,7 @@ describe('DevTools', function() {
5959 this . timeout ( 60_000 ) ;
6060
6161 describe ( 'request blocking' , ( ) => {
62- // https://crbug.com/466057104 the feature roll has make this test fail
63- it . skip ( '[crbug.com/466057104] is respected during a lighthouse run' , async ( { devToolsPage, inspectedPage} ) => {
62+ it ( 'is respected during a lighthouse run' , async ( { devToolsPage, inspectedPage} ) => {
6463 expectErrors ( ) ;
6564 await blockCss ( devToolsPage ) ;
6665 await navigateToLighthouseTab ( 'lighthouse/hello.html' , devToolsPage , inspectedPage ) ;
You can’t perform that action at this time.
0 commit comments