You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dependency Management: The PR includes updates to import paths across multiple files to use the selenium-webdriver package. It's important to ensure that these changes do not break existing functionality and that all dependencies are correctly resolved.
Code Consistency: The changes in import paths should be reviewed for consistency across all modified files to ensure that similar changes adhere to project standards.
Test Coverage: The removal of the small-tests job from the CI workflow raises concerns about whether the new test configurations and paths are adequately covered by automated tests.
Consolidate imports from selenium-webdriver into a single import statement
To ensure compatibility and avoid potential issues with different versions of the selenium-webdriver package, consider using a single import statement to import all required modules from selenium-webdriver.
Why: Consolidating imports can enhance readability and maintainability, but it's not a major issue or bug fix.
6
Maintainability
Group related imports together and separate them with a blank line for better readability
To improve readability and maintainability, consider grouping related imports together and separating them with a blank line from other groups of imports.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Type
Enhancement, Tests
Description
selenium-webdriver
package._TIMEOUTS
dictionary and updatedmocha_test
function inmocha_test.bzl
to handle test timeouts.small-tests
job from CI workflow and updated dependencies.BUILD.bazel
to include new dependencies and modifysmall-tests
target.Changes walkthrough 📝
17 files
driver_factory.js
Update import paths in driver_factory.js
javascript/node/selenium-webdriver/test/driver_factory.js
selenium-webdriver
package.io_test.js
Update import path in io_test.js
javascript/node/selenium-webdriver/test/io/io_test.js
io
module to useselenium-webdriver
package.zip_test.js
Update import paths in zip_test.js
javascript/node/selenium-webdriver/test/io/zip_test.js
io
,zip
, andInvalidArgumentError
to useselenium-webdriver
package.by_test.js
Update import path in by_test.js
javascript/node/selenium-webdriver/test/lib/by_test.js
by
module to useselenium-webdriver
package.credentials_test.js
Update import path in credentials_test.js
javascript/node/selenium-webdriver/test/lib/credentials_test.js
virtualAuthenticatorCredential
to useselenium-webdriver
package.error_test.js
Update import path in error_test.js
javascript/node/selenium-webdriver/test/lib/error_test.js
error
module to useselenium-webdriver
package.
http_test.js
Update import paths in http_test.js
javascript/node/selenium-webdriver/test/lib/http_test.js
selenium-webdriver
package.
input_test.js
Update import paths in input_test.js
javascript/node/selenium-webdriver/test/lib/input_test.js
selenium-webdriver
package.
logging_test.js
Update import path in logging_test.js
javascript/node/selenium-webdriver/test/lib/logging_test.js
logging
module to useselenium-webdriver
package.
promise_test.js
Update import path in promise_test.js
javascript/node/selenium-webdriver/test/lib/promise_test.js
promise
module to useselenium-webdriver
package.
until_test.js
Update import paths in until_test.js
javascript/node/selenium-webdriver/test/lib/until_test.js
selenium-webdriver
package.
virtualauthenticatoroptions_test.js
Update import paths in virtualauthenticatoroptions_test.js
javascript/node/selenium-webdriver/test/lib/virtualauthenticatoroptions_test.js
virtualAuthenticatorOptions
,Transport
, andProtocol
to useselenium-webdriver
package.webdriver_test.js
Update import paths in webdriver_test.js
javascript/node/selenium-webdriver/test/lib/webdriver_test.js
selenium-webdriver
package.
logging_test.js
Update import paths in logging_test.js
javascript/node/selenium-webdriver/test/logging_test.js
Browser
andlogging
to useselenium-webdriver
package.
index_test.js
Update import path in index_test.js
javascript/node/selenium-webdriver/test/net/index_test.js
net
module to useselenium-webdriver
package.portprober_test.js
Update import path in portprober_test.js
javascript/node/selenium-webdriver/test/net/portprober_test.js
portprober
module to useselenium-webdriver
package.
mocha_test.bzl
Add timeouts and size handling in mocha_test.bzl
javascript/private/mocha_test.bzl
_TIMEOUTS
dictionary for test timeouts.mocha_test
function to includesize
and timeout arguments.2 files
ci-javascript.yml
Update CI workflow to remove small-tests job
.github/workflows/ci-javascript.yml
small-tests
job.browser-tests
job to depend onbuild
instead ofsmall-tests
.BUILD.bazel
Update BUILD.bazel for js_library and small-tests
javascript/node/selenium-webdriver/BUILD.bazel
js_library
.small-tests
target to includeargs
and removed unnecessarytags.