-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Update nightly version #1685
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
Update nightly version #1685
Conversation
CI Failure Feedback
(Checks updated until commit 6bfbc33)
Action: test_examples (windows-latest, nightly)
Failed stage: Run tests [❌]
Failure summary:
The action failed due to compilation errors in multiple test files within the SeleniumDocs project.
The class DriverFinder is referenced in several test files, but it lacks definitions for DriverPath
and BrowserPath. These missing definitions or the absence of necessary using directives or assembly
references caused the build to fail repeatedly, even after multiple retry attempts.
Relevant error logs:
1: ##[group]Operating System 2: Microsoft Windows Server 2022 ... 372: timeout_minutes: 20 373: max_attempts: 3 374: command: cd examples/dotnet/SeleniumDocs 375: dotnet test 376: 377: retry_wait_seconds: 10 378: polling_interval_seconds: 1 379: warning_on_retry: true 380: continue_on_error: false ... 383: GITHUB_TOKEN: *** 384: GH_TOKEN: *** 385: DOTNET_ROOT: C:\Program Files\dotnet 386: JAVA_HOME: C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk11円.0.23-9\x64 387: JAVA_HOME_11_X64: C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk11円.0.23-9\x64 388: ##[endgroup] 389: Determining projects to restore... 390: All projects are up-to-date for restore. 391: ##[error]D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\Drivers\ServiceTest.cs(41,46): error CS1061: 'DriverFinder' does not contain a definition for 'DriverPath' and no accessible extension method 'DriverPath' accepting a first argument of type 'DriverFinder' could be found (are you missing a using directive or an assembly reference?) [D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\SeleniumDocs.csproj] 392: ##[error]D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\Browsers\EdgeTest.cs(180,46): error CS1061: 'DriverFinder' does not contain a definition for 'BrowserPath' and no accessible extension method 'BrowserPath' accepting a first argument of type 'DriverFinder' could be found (are you missing a using directive or an assembly reference?) [D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\SeleniumDocs.csproj] 393: ##[error]D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\Browsers\FirefoxTest.cs(204,46): error CS1061: 'DriverFinder' does not contain a definition for 'BrowserPath' and no accessible extension method 'BrowserPath' accepting a first argument of type 'DriverFinder' could be found (are you missing a using directive or an assembly reference?) [D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\SeleniumDocs.csproj] 394: ##[error]D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\Browsers\ChromeTest.cs(180,46): error CS1061: 'DriverFinder' does not contain a definition for 'BrowserPath' and no accessible extension method 'BrowserPath' accepting a first argument of type 'DriverFinder' could be found (are you missing a using directive or an assembly reference?) [D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\SeleniumDocs.csproj] 395: ##[warning]Attempt 1 failed. Reason: Child_process exited with error code 1 396: Determining projects to restore... 397: All projects are up-to-date for restore. 398: ##[error]D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\Drivers\ServiceTest.cs(41,46): error CS1061: 'DriverFinder' does not contain a definition for 'DriverPath' and no accessible extension method 'DriverPath' accepting a first argument of type 'DriverFinder' could be found (are you missing a using directive or an assembly reference?) [D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\SeleniumDocs.csproj] 399: ##[error]D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\Browsers\FirefoxTest.cs(204,46): error CS1061: 'DriverFinder' does not contain a definition for 'BrowserPath' and no accessible extension method 'BrowserPath' accepting a first argument of type 'DriverFinder' could be found (are you missing a using directive or an assembly reference?) [D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\SeleniumDocs.csproj] 400: ##[error]D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\Browsers\EdgeTest.cs(180,46): error CS1061: 'DriverFinder' does not contain a definition for 'BrowserPath' and no accessible extension method 'BrowserPath' accepting a first argument of type 'DriverFinder' could be found (are you missing a using directive or an assembly reference?) [D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\SeleniumDocs.csproj] 401: ##[error]D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\Browsers\ChromeTest.cs(180,46): error CS1061: 'DriverFinder' does not contain a definition for 'BrowserPath' and no accessible extension method 'BrowserPath' accepting a first argument of type 'DriverFinder' could be found (are you missing a using directive or an assembly reference?) [D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\SeleniumDocs.csproj] 402: ##[warning]Attempt 2 failed. Reason: Child_process exited with error code 1 403: Determining projects to restore... 404: All projects are up-to-date for restore. 405: ##[error]D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\Drivers\ServiceTest.cs(41,46): error CS1061: 'DriverFinder' does not contain a definition for 'DriverPath' and no accessible extension method 'DriverPath' accepting a first argument of type 'DriverFinder' could be found (are you missing a using directive or an assembly reference?) [D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\SeleniumDocs.csproj] 406: ##[error]D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\Browsers\EdgeTest.cs(180,46): error CS1061: 'DriverFinder' does not contain a definition for 'BrowserPath' and no accessible extension method 'BrowserPath' accepting a first argument of type 'DriverFinder' could be found (are you missing a using directive or an assembly reference?) [D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\SeleniumDocs.csproj] 407: ##[error]D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\Browsers\FirefoxTest.cs(204,46): error CS1061: 'DriverFinder' does not contain a definition for 'BrowserPath' and no accessible extension method 'BrowserPath' accepting a first argument of type 'DriverFinder' could be found (are you missing a using directive or an assembly reference?) [D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\SeleniumDocs.csproj] 408: ##[error]D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\Browsers\ChromeTest.cs(180,46): error CS1061: 'DriverFinder' does not contain a definition for 'BrowserPath' and no accessible extension method 'BrowserPath' accepting a first argument of type 'DriverFinder' could be found (are you missing a using directive or an assembly reference?) [D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\SeleniumDocs.csproj] 409: ##[error]Final attempt failed. Child_process exited with error code 1
✨ CI feedback usage guide:
The CI feedback tool (/checks) automatically triggers when a PR has a failed check.
The tool analyzes the failed checks and provides several feedbacks:
- Failed stage
- Failed test name
- Failure summary
- Relevant error logs
In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:
/checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}"
where {repo_name} is the name of the repository, {run_number} is the run number of the failed check, and {job_number} is the job number of the failed check.
Configuration options
enable_auto_checks_feedback- if set to true, the tool will automatically provide feedback when a check is failed. Default is true.excluded_checks_list- a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list.enable_help_text- if set to true, the tool will provide a help message with the feedback. Default is true.persistent_comment- if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true.final_update_message- ifpersistent_commentis true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true.
See more information about the checks tool in the docs.
PR Description updated to latest commit (cce119e)
- Copy walkthrough table to "Files Changed" Tab
PR Review
4, because the PR introduces significant changes across multiple workflow files and scripts, affecting various programming environments (dotnet, java, javascript, python, ruby). The complexity is increased by the introduction of conditional logic based on the release type (stable vs nightly) and operating system specifics. Each change needs to be carefully reviewed to ensure it doesn't break existing functionalities and that it integrates well with the different environments.
No
Possible Bug: The scripts latest-nightly-version.sh and latest-nightly-version.ps1 are critical as they fetch the latest package versions. If there's an error in these scripts, it could lead to incorrect package versions being used, potentially breaking builds or leading to unexpected behaviors.
Environment Variables: The use of GH_TOKEN and GITHUB_TOKEN in different places might cause confusion or misconfiguration, especially since their usage contexts are not clearly differentiated.
No
✨ Review tool usage guide:
Overview:
The review tool scans the PR code changes, and generates a PR review which includes several types of feedbacks, such as possible PR issues, security threats and relevant test in the PR. More feedbacks can be added by configuring the tool.
The tool can be triggered automatically every time a new PR is opened, or can be invoked manually by commenting on any PR.
- When commenting, to edit configurations related to the review tool (
pr_reviewersection), use the following template:
/review --pr_reviewer.some_config1=... --pr_reviewer.some_config2=...
- With a configuration file, use the following template:
[pr_reviewer]
some_config1=...
some_config2=...
See the review usage page for a comprehensive guide on using this tool.
✅ Deploy Preview for selenium-dev ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
PR Code Suggestions
✨ Improve tool usage guide:Overview:
See the improve usage page for a comprehensive guide on using this tool. |
✅ Deploy Preview for selenium-dev ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for selenium-dev ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
I will merge this and fix the code once the dependencies are updated.
Uh oh!
There was an error while loading. Please reload this page.
User description
Thanks for contributing to the Selenium site and documentation!
A PR well described will help maintainers to review and merge it quickly
Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, and help reviewers by making them as simple and short as possible.
Description
Motivation and Context
Types of changes
Checklist
Type
enhancement, tests
Description
Changes walkthrough
10 files
latest-nightly-version.sh
Add Bash Script to Fetch Latest Nightly Versionscripts/latest-nightly-version.sh
type and name using GitHub API.
latest-nightly-version.ps1
Add PowerShell Script for Nightly Version Fetchscripts/latest-nightly-version.ps1
version for package management.
dotnet-examples.yml
Update .NET Examples Workflow for Nightly Builds.github/workflows/dotnet-examples.yml
based on the latest nightly version.
java-examples.yml
Enhance Java Examples Workflow with Nightly Support.github/workflows/java-examples.yml
releases.
js-examples.yml
Update JavaScript Examples for Nightly Version Installation.github/workflows/js-examples.yml
version of selenium-webdriver.
python-examples.yml
Configure Python Examples Workflow for Nightly Builds.github/workflows/python-examples.yml
release type (stable or nightly).
ruby-examples.yml
Update Ruby Examples Workflow for Nightly Version.github/workflows/ruby-examples.yml
of selenium-webdriver.
SeleniumDocs.csproj
Simplify .NET Project Configurationexamples/dotnet/SeleniumDocs/SeleniumDocs.csproj
management is handled by the workflow.
pom.xml
Refactor Java POM for Flexible Selenium Versioningexamples/java/pom.xml
facilitating easier version management.
Gemfile
Clean Up Ruby Gemfile for Simplified Dependency Managementexamples/ruby/Gemfile
settings for nightly builds.