@@ -48,7 +48,7 @@ static void loadEchoSample(id webView) {
4848- (void )testInitialization {
4949 [self classSpecificTestInitialization: [WebViewJavascriptBridge class ] webView: _uiWebView];
5050 [self classSpecificTestInitialization: [WKWebViewJavascriptBridge class ] webView: _wkWebView];
51- [self waitForExpectationsWithTimeout: 10 handler: NULL ];
51+ [self waitForExpectationsWithTimeout: 3 handler: NULL ];
5252}
5353- (void )classSpecificTestInitialization : (Class )cls webView : (id )webView {
5454 XCTestExpectation *startup = [self expectationWithDescription: @" Startup completed" ];
@@ -65,7 +65,7 @@ - (void)classSpecificTestInitialization:(Class)cls webView:(id)webView {
6565- (void )testEchoHandler {
6666 [self classSpecificTestEchoHandler: [WebViewJavascriptBridge class ] webView: _uiWebView];
6767 [self classSpecificTestEchoHandler: [WKWebViewJavascriptBridge class ] webView: _wkWebView];
68- [self waitForExpectationsWithTimeout: 10 handler: NULL ];
68+ [self waitForExpectationsWithTimeout: 3 handler: NULL ];
6969}
7070- (void )classSpecificTestEchoHandler : (Class )cls webView : (id )webView {
7171 WebViewJavascriptBridge *bridge = [self bridgeForCls: cls webView: webView];
@@ -82,7 +82,7 @@ - (void)classSpecificTestEchoHandler:(Class)cls webView:(id)webView {
8282- (void )testEchoHandlerAfterSetup {
8383 [self classSpecificTestEchoHandlerAfterSetup: [WebViewJavascriptBridge class ] webView: _uiWebView];
8484 [self classSpecificTestEchoHandlerAfterSetup: [WKWebViewJavascriptBridge class ] webView: _wkWebView];
85- [self waitForExpectationsWithTimeout: 10 handler: NULL ];
85+ [self waitForExpectationsWithTimeout: 3 handler: NULL ];
8686}
8787- (void )classSpecificTestEchoHandlerAfterSetup : (Class )cls webView : (id )webView {
8888 WebViewJavascriptBridge *bridge = [self bridgeForCls: cls webView: webView];
@@ -100,7 +100,7 @@ - (void)classSpecificTestEchoHandlerAfterSetup:(Class)cls webView:(id)webView {
100100- (void )testObjectEncoding {
101101 [self classSpecificTestObjectEncoding: [WebViewJavascriptBridge class ] webView: _uiWebView];
102102 [self classSpecificTestObjectEncoding: [WKWebViewJavascriptBridge class ] webView: _wkWebView];
103- [self waitForExpectationsWithTimeout: 10 handler: NULL ];
103+ [self waitForExpectationsWithTimeout: 3 handler: NULL ];
104104}
105105- (void )classSpecificTestObjectEncoding : (Class )cls webView : (id )webView {
106106 WebViewJavascriptBridge *bridge = [self bridgeForCls: cls webView: webView];
0 commit comments