@@ -14,7 +14,7 @@ public BrowserWindowTests(ElectronFixture fx)
1414 this . fx = fx ;
1515 }
1616
17- [ Fact ( Timeout = 5000 ) ]
17+ [ Fact ( Timeout = 20000 ) ]
1818 public async Task Can_set_and_get_title ( )
1919 {
2020 const string title = "Integration Test Title" ;
@@ -23,7 +23,7 @@ public async Task Can_set_and_get_title()
2323 roundTrip . Should ( ) . Be ( title ) ;
2424 }
2525
26- [ Fact ( Timeout = 5000 ) ]
26+ [ Fact ( Timeout = 20000 ) ]
2727 public async Task Can_resize_and_get_size ( )
2828 {
2929 this . fx . MainWindow . SetSize ( 643 , 482 ) ;
@@ -33,7 +33,7 @@ public async Task Can_resize_and_get_size()
3333 size [ 1 ] . Should ( ) . Be ( 482 ) ;
3434 }
3535
36- [ Fact ( Timeout = 5000 ) ]
36+ [ Fact ( Timeout = 20000 ) ]
3737 public async Task Can_set_progress_bar_and_clear ( )
3838 {
3939 this . fx . MainWindow . SetProgressBar ( 0.5 ) ;
@@ -42,7 +42,7 @@ public async Task Can_set_progress_bar_and_clear()
4242 await Task . Delay ( 50 ) ;
4343 }
4444
45- [ Fact ( Timeout = 5000 ) ]
45+ [ Fact ( Timeout = 20000 ) ]
4646 public async Task Can_set_and_get_position ( )
4747 {
4848 this . fx . MainWindow . SetPosition ( 134 , 246 ) ;
@@ -51,7 +51,7 @@ public async Task Can_set_and_get_position()
5151 pos . Should ( ) . BeEquivalentTo ( [ 134 , 246 ] ) ;
5252 }
5353
54- [ Fact ( Timeout = 5000 ) ]
54+ [ Fact ( Timeout = 20000 ) ]
5555 public async Task Can_set_and_get_bounds ( )
5656 {
5757 var bounds = new Rectangle { X = 10 , Y = 20 , Width = 400 , Height = 300 } ;
@@ -63,7 +63,7 @@ public async Task Can_set_and_get_bounds()
6363 round . Height . Should ( ) . Be ( 300 ) ;
6464 }
6565
66- [ Fact ( Timeout = 5000 ) ]
66+ [ Fact ( Timeout = 20000 ) ]
6767 public async Task Can_set_and_get_content_bounds ( )
6868 {
6969 var bounds = new Rectangle { X = 0 , Y = 0 , Width = 300 , Height = 200 } ;
@@ -73,7 +73,7 @@ public async Task Can_set_and_get_content_bounds()
7373 round . Height . Should ( ) . BeGreaterThan ( 0 ) ;
7474 }
7575
76- [ Fact ( Timeout = 5000 ) ]
76+ [ Fact ( Timeout = 20000 ) ]
7777 public async Task Show_hide_visibility_roundtrip ( )
7878 {
7979 this . fx . MainWindow . Show ( ) ;
@@ -82,7 +82,7 @@ public async Task Show_hide_visibility_roundtrip()
8282 ( await this . fx . MainWindow . IsVisibleAsync ( ) ) . Should ( ) . BeFalse ( ) ;
8383 }
8484
85- [ Fact ( Timeout = 5000 ) ]
85+ [ Fact ( Timeout = 20000 ) ]
8686 public async Task AlwaysOnTop_toggle_and_query ( )
8787 {
8888 this . fx . MainWindow . SetAlwaysOnTop ( true ) ;
@@ -91,7 +91,7 @@ public async Task AlwaysOnTop_toggle_and_query()
9191 ( await this . fx . MainWindow . IsAlwaysOnTopAsync ( ) ) . Should ( ) . BeFalse ( ) ;
9292 }
9393
94- [ Fact ( Timeout = 5000 ) ]
94+ [ Fact ( Timeout = 20000 ) ]
9595 public async Task MenuBar_auto_hide_and_visibility ( )
9696 {
9797 this . fx . MainWindow . SetAutoHideMenuBar ( true ) ;
@@ -102,7 +102,7 @@ public async Task MenuBar_auto_hide_and_visibility()
102102 ( await this . fx . MainWindow . IsMenuBarVisibleAsync ( ) ) . Should ( ) . BeTrue ( ) ;
103103 }
104104
105- [ Fact ( Timeout = 5000 ) ]
105+ [ Fact ( Timeout = 20000 ) ]
106106 public async Task ReadyToShow_event_fires_after_content_ready ( )
107107 {
108108 var window = await Electron . WindowManager . CreateWindowAsync ( new BrowserWindowOptions { Show = false } ) ;
@@ -122,7 +122,7 @@ public async Task ReadyToShow_event_fires_after_content_ready()
122122 window . Show ( ) ;
123123 }
124124
125- [ Fact ( Timeout = 5000 ) ]
125+ [ Fact ( Timeout = 20000 ) ]
126126 public async Task PageTitleUpdated_event_fires_on_title_change ( )
127127 {
128128 var window = await Electron . WindowManager . CreateWindowAsync ( new BrowserWindowOptions { Show = true } ) ;
@@ -142,7 +142,7 @@ public async Task PageTitleUpdated_event_fires_on_title_change()
142142 ( await tcs . Task ) . Should ( ) . Be ( "NewTitle" ) ;
143143 }
144144
145- [ Fact ( Timeout = 5000 ) ]
145+ [ Fact ( Timeout = 20000 ) ]
146146 public async Task Resize_event_fires_on_size_change ( )
147147 {
148148 var window = await Electron . WindowManager . CreateWindowAsync ( new BrowserWindowOptions { Show = false } ) ;
@@ -153,7 +153,7 @@ public async Task Resize_event_fires_on_size_change()
153153 resized . Should ( ) . BeTrue ( ) ;
154154 }
155155
156- [ Fact ( Timeout = 5000 ) ]
156+ [ Fact ( Timeout = 20000 ) ]
157157 public async Task Progress_bar_and_always_on_top_toggle ( )
158158 {
159159 var win = this . fx . MainWindow ;
@@ -165,7 +165,7 @@ public async Task Progress_bar_and_always_on_top_toggle()
165165 ( await win . IsAlwaysOnTopAsync ( ) ) . Should ( ) . BeFalse ( ) ;
166166 }
167167
168- [ Fact ( Timeout = 5000 ) ]
168+ [ Fact ( Timeout = 20000 ) ]
169169 public async Task Menu_bar_visibility_and_auto_hide ( )
170170 {
171171 var win = this . fx . MainWindow ;
@@ -175,7 +175,7 @@ public async Task Menu_bar_visibility_and_auto_hide()
175175 ( await win . IsMenuBarVisibleAsync ( ) ) . Should ( ) . BeTrue ( ) ;
176176 }
177177
178- [ Fact ( Timeout = 5000 ) ]
178+ [ Fact ( Timeout = 20000 ) ]
179179 public async Task Parent_child_relationship_roundtrip ( )
180180 {
181181 var child = await Electron . WindowManager . CreateWindowAsync ( new BrowserWindowOptions { Show = false , Width = 300 , Height = 200 } ) ;
@@ -188,7 +188,7 @@ public async Task Parent_child_relationship_roundtrip()
188188 child . Destroy ( ) ;
189189 }
190190
191- [ Fact ( Timeout = 5000 ) ]
191+ [ Fact ( Timeout = 20000 ) ]
192192 public async Task Represented_filename_and_edited_flags ( )
193193 {
194194 var win = this . fx . MainWindow ;
0 commit comments