File tree Expand file tree Collapse file tree 4 files changed +13
-13
lines changed
NSeleneTests/Integration/SharedDriver/Harness Expand file tree Collapse file tree 4 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 1919 - by default equals to null, making internally call waiting algorithm for actions as it is, without additional customization
2020 - specified to something like:
2121 ```
22- Configuration._HookWaitAction = (entity_object, describe_computation , wait) => {
23- Console.WriteLine($"STARTED WAITING FOR: {entity_object }.{describe_computation ()}");
22+ Configuration._HookWaitAction = (entityObject, describeComputation , wait) => {
23+ Console.WriteLine($"STARTED WAITING FOR: {entityObject }.{describeComputation ()}");
2424 try
2525 {
2626 wait();
27- Console.WriteLine($"FINISHED WAITING FOR: {entity_object }.{describe_computation ()}");
27+ Console.WriteLine($"FINISHED WAITING FOR: {entityObject }.{describeComputation ()}");
2828 }
2929 catch (Exception error)
3030 {
31- Console.WriteLine($"FAILED WAITING FOR: {entity_object }.{describe_computation ()}");
31+ Console.WriteLine($"FAILED WAITING FOR: {entityObject }.{describeComputation ()}");
3232 throw error;
3333 }
3434 };
Original file line number Diff line number Diff line change 3333 - by default equals to null, making internally call waiting algorithm for actions as it is, without additional customization
3434 - specified to something like:
3535 ```
36- Configuration._HookWaitAction = (entity_object, describe_computation , wait) => {
37- Console.WriteLine($"STARTED WAITING FOR: {entity_object }.{describe_computation ()}");
36+ Configuration._HookWaitAction = (entityObject, describeComputation , wait) => {
37+ Console.WriteLine($"STARTED WAITING FOR: {entityObject }.{describeComputation ()}");
3838 try
3939 {
4040 wait();
41- Console.WriteLine($"FINISHED WAITING FOR: {entity_object }.{describe_computation ()}");
41+ Console.WriteLine($"FINISHED WAITING FOR: {entityObject }.{describeComputation ()}");
4242 }
4343 catch (Exception error)
4444 {
45- Console.WriteLine($"FAILED WAITING FOR: {entity_object }.{describe_computation ()}");
45+ Console.WriteLine($"FAILED WAITING FOR: {entityObject }.{describeComputation ()}");
4646 throw error;
4747 }
4848 };
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ public Wait(
133133 this . timeout = timeout ;
134134 this . polling = polling ;
135135 this . describeComputation = _describeComputation ?? ( name => name ) ;
136- this . _HookAction = _hookAction ?? ( ( entity_object , describeComputation , wait ) => wait ( ) ) ;
136+ this . _HookAction = _hookAction ?? ( ( entityObject , describeComputation , wait ) => wait ( ) ) ;
137137 }
138138
139139 public Wait < T > With (
Original file line number Diff line number Diff line change @@ -36,17 +36,17 @@ public void initDriver()
3636 Configuration . ClickByJs = false ;
3737 Configuration . WaitForNoOverlapFoundByJs = false ;
3838
39- // Configuration._HookWaitAction = (entity_object, describe_computation , wait) =>
39+ // Configuration._HookWaitAction = (entityObject, describeComputation , wait) =>
4040 // {
41- // TestContext.Progress.WriteLine($"STARTED WAITING FOR: {entity_object }.{describe_computation ()}");
41+ // TestContext.Progress.WriteLine($"STARTED WAITING FOR: {entityObject }.{describeComputation ()}");
4242 // try
4343 // {
4444 // wait();
45- // TestContext.Progress.WriteLine($"FINISHED WAITING FOR: {entity_object }.{describe_computation ()}");
45+ // TestContext.Progress.WriteLine($"FINISHED WAITING FOR: {entityObject }.{describeComputation ()}");
4646 // }
4747 // catch (Exception error)
4848 // {
49- // TestContext.Progress.WriteLine($"FAILED WAITING FOR: {entity_object }.{describe_computation ()}");
49+ // TestContext.Progress.WriteLine($"FAILED WAITING FOR: {entityObject }.{describeComputation ()}");
5050 // throw error;
5151 // }
5252 // };
You can’t perform that action at this time.
0 commit comments