admc / wd

A node.js client for webdriver/selenium 2.
Other
1.53k stars 402 forks source link

Move to gulp@4 #593

Closed imurchie closed 5 years ago

imurchie commented 5 years ago

Switch to gulp@4, which offers significant performance improvements.

Since run-sequence does not work with the new gulp, I added a replacement function to do the same thing using the new semantics. It has the oddity of adding another task to the list, so it shows up in the logs, which is the only way to go about it without significantly rearranging the tasks.

...
[12:15:27] Finished 'test:midway:chrome' after 3.28 min
[12:15:27] Starting 'finishSequence'...
[12:15:27] Finished 'finishSequence' after 605 μs
[12:15:27] Starting 'post:midway'...
[12:15:27] Starting 'sc:stop'...
[12:15:31] 24 Apr 12:15:31 - Remote tunnel VM has been terminated by user request. Shutting down.
[12:15:31] 24 Apr 12:15:31 - Cleaning up.
[12:15:31] 24 Apr 12:15:31 - Removing tunnel 60dff039851848948f6b0bd01177a625.
[12:15:31] 24 Apr 12:15:31 - Waiting for any active jobs using this tunnel to finish.
[12:15:31] 24 Apr 12:15:31 - Press CTRL-C again to shut down immediately.
[12:15:31] 24 Apr 12:15:31 - Note: if you do this, tests that are still running will fail.
[12:15:31] 24 Apr 12:15:31 - Number of jobs using tunnel: 1.
[12:15:32] 24 Apr 12:15:32 - Got signal terminated
[12:15:40] 24 Apr 12:15:40 - All jobs using the tunnel have finished.
[12:15:40] 24 Apr 12:15:40 - Waiting for the connection to terminate...
[12:15:41] 24 Apr 12:15:41 - Connection closed (8).
[12:15:41] 24 Apr 12:15:41 - Goodbye.
[12:15:41] Closing Sauce Connect Tunnel
[12:15:41] Finished 'sc:stop' after 15 s
[12:15:41] Starting 'proxy:stop'...
[12:15:41] Finished 'proxy:stop' after 967 μs
[12:15:41] Starting 'finishSequence'...
[12:15:41] Finished 'finishSequence' after 141 μs
[12:15:41] Finished 'post:midway' after 15 s
[12:15:41] Starting 'finishSequence'...
[12:15:41] Finished 'finishSequence' after 143 μs
[12:15:41] Finished 'test:midway' after 3.83 min
[12:15:41] Starting 'test:e2e'...
[12:15:41] Finished 'test:e2e' after 1.14 ms
[12:15:41] Starting 'finishSequence'...
[12:15:41] Finished 'finishSequence' after 287 μs
[12:15:41] Finished 'travis' after 3.83 min
[12:15:41] Shutting down