tests/client: Make sure WebView tests load resources
Without that the client tests fail like ** (test-client:74671): CRITICAL **: 11:32:40.613: void webkit_user_content_manager_add_style_sheet(WebKitUserContentManager*, WebKitUserStyleSheet*): assertion 'styleSheet' failed This was so far masked since the composer-page-state-test JS tests did that but test suites should be independent.
This commit is contained in:
parent
9e5c42f2c7
commit
fe30e49b74
1 changed files with 6 additions and 0 deletions
|
|
@ -24,6 +24,12 @@ public class Composer.WebViewTest : Components.WebViewTestCase<Composer.WebView>
|
|||
add_test("get_text_with_url_link", get_text_with_named_link);
|
||||
add_test("get_text_with_surrounding_nbsps", get_text_with_surrounding_nbsps);
|
||||
add_test("update_signature", update_signature);
|
||||
|
||||
try {
|
||||
WebView.load_resources();
|
||||
} catch (Error err) {
|
||||
GLib.assert_not_reached();
|
||||
}
|
||||
}
|
||||
|
||||
public void load_resources() throws Error {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue