Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to gulp@4 #593

Merged
merged 1 commit into from
Apr 25, 2019
Merged

Move to gulp@4 #593

merged 1 commit into from
Apr 25, 2019

Conversation

imurchie
Copy link
Collaborator

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

@imurchie imurchie merged commit b6914dd into master Apr 25, 2019
@imurchie imurchie deleted the isaac-gulp branch April 25, 2019 12:12
vrunoa pushed a commit to vrunoa/wd that referenced this pull request Jan 6, 2020
vrunoa pushed a commit to vrunoa/wd that referenced this pull request Jan 6, 2020
Giving bromann some love.

waitFor considers errors whose message includes "timeout" retriable.

At a high level, this seems reasonable, assuming that a timeout error
might be caused by the fact that the condition we're checking for has
not been met yet. Since we're willing to wait for the condition to
become true, we should be willing to retry when a timeout happens.

Concretely, this patch is motivated by the need to stabilize a flaky
test in our suite that fails due to a tough bug in ChromeDriver [1, 2, 3]. The
failure mode is transient, so retrying fixes the flakiness.

[1] https://bugs.chromium.org/p/chromedriver/issues/detail?id=402
[2] https://bugs.chromium.org/p/chromedriver/issues/detail?id=817
[3]
http://stackoverflow.com/questions/34926866/selenium-chromedriver-timed-out-receiving-message-from-renderer-exception

Add new android emulators commands (admc#488)

* add new android emulators commands

* add emulator methods

* update release notes

* bump version

Prompt user more info to debug when error comes from init() (admc#489)

* Prompt user more info to debug when error comes from init()

* Try to pass travis

Add sample for Kobiton cloud service

add ios class chain locator strategy

1.5.0

Remove need for install script

links pointing to api docs on code.google.com are broken

Add rejectUnauthorized to http config opts

update package lock

1.6.0

fix: check if jsonData exists on error creation for request admc#520

1.6.1

upgrade request module (fix admc#523)

1.6.2

add driver.get(set)Clipboard

isKeyboardShown method

1.7.0

Fix linter errors

Fix HTTP tests broken by admc#521

Add a note about chromedriver

The latest releases of Chrome will not work with the outdated
chromedriver version installed by sv-selenium.  Add a note.

Upgrade archiver to 2.1.1

Upgrade lodash to 4.17.10

Add basic support for new W3C protocol

1.8.0

fix situation where jsonwireres is itself not defined

1.8.1

longPressKeyCode, getSupportedPerformanceDataTypes & getPerformanceData methods

1.9.0

Fixed wrong description for "/session/:sessionId/log"

add elementByImage command

1.10.0

Add getter for TouchAction on ImageElement object

1.10.1

Remove underscore.string mixin

make finding by image first class methods because it's now supported on the server

fix hidden use of underscore.string in tests (cc @imurchie)

1.10.2

might as well have plural of element(s)ByImageFile

1.10.3

Add W3C Actions API

Test hitting of /actions endpoint

* Added test that mocks POST actions/ and checks that the client produces the correct result
* Also changed ID of mouse to "default mouse"

Add W3C release actions

find element by ios predicate string

Upgrading the Sauce Connect version

Supplying lodash to the modules, to see if I can get a test pass

Fixing more broken lodash depedencies

More missing lodash

Adding ANY to acceptable platforms for VISTA

More lodash

waitForVisible is dead, commenting the test, fixing what appears to be API issues with lodash by removing .value(), not sure why that was necessary but this passes the build and works properly

Removing node 5 requirement, and temporarily disable ipad, iphone, android, bump node version to 10

First round of security audit package updates

integrating new geckodriver support from PR admc#494

Revert "Remove need for install script"

Integrating all changes from PR admc#530

Revert "Integrating all changes from PR admc#530"

This reverts commit b0405da.

add flags for press keycodes

Try removing linux as platform constraint

bump sauce connect, remove the linux build platform constraint

Executing JS commands doesn't work with new firefox apparently

Removing remaining _.value() calls that seem no longer important, fixing the make targets

Revert "Removing remaining _.value() calls that seem no longer important, fixing the make targets"

This reverts commit 9159ff7.

Removing underscore value() just for the api mapping code

Looks like map and filter both need _.value(), removing all others

Most repos I see aren't pushing the package-lock.json

add custom find strategy

Revert "Most repos I see aren't pushing the package-lock.json"

This reverts commit 3ad3668.

1.11.0

fix a typo on sessionID in webdriver

[admc#555] Update request dependency
* Fixed hinting issues

[WIP] Chrome fixes

upgrade the sauce-connect-launcher package to deal with security vulneratibilities in the depedencies

Updating the mocha runner, also contains security vulns

This bitdeli thing seems to no longer exist

Upgrade lodash to pickup fix for prototype pollution vulnerability

Vulnerability details: https://hackerone.com/reports/380873
Lodash changelog: https://github.com/lodash/lodash/wiki/Changelog#v41711

1.11.1

Update document options for flick endpoint

Try upgrading gulp to 4.0 to unbreak CI

Revert "Try upgrading gulp to 4.0 to unbreak CI"

This reverts commit 6537ea8.

trying to lock the gulp dev dependency to fix this failing CI

Removing the secure fields from the travis yaml, trying to use travis environment variables that work for pull requests

Provide W3C and MJSONWP caps

Make W3C opt-in

Fix capability handling

Rename for fork

Fix prefixing

1.11.2

Revert package changes

Fix

Fix

Fix

Fix

feat: Android Espresso DataMatcher strategy

Remove additional space

Fixed 'npm run test' unit tests for Windows platform

Fix hardcoded saucelabs domain

1.11.2

Work on Travis build

Update deps and work on tests (admc#591)

Move to Eslint for linting (admc#592)

* Remove jshint

* Add eslint machinery

* Fix linting

* Lint in Travis

Move to gulp@4 (admc#593)

1.11.3

Include "gulp-mocha" and "fancy-log" as dev dependencies

Bump lodash from 4.17.11 to 4.17.13

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.13.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.11...4.17.13)

Signed-off-by: dependabot[bot] <[email protected]>

fix: naming of tasks in gulp tasks

1.11.4

support W3C get active element command

/element/active requires POST method in JWP but W3C WebDriver spec
requires GET method.

https://www.w3.org/TR/webdriver/#get-active-element

This patch checks remote WebDriver server speaks JWP or W3C on creating
a session and remember it. Then switch method of /element/active
looksing the flag.

chore: Sauce Connect 4.5.4

add httpAgent as right now the connection is not kept alive

change test script, wasnt working for me using test-unit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant