-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Update selenium dependency versions #44834
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
Conversation
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some big jumps. Hope they don't include breaking changes…
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
Yeah, it looks like the last time this was updated was August 1st so we're a little behind. Hopefully, not any breaking changes here... |
Due to the https://github.com/dotnet/aspnetcore/blob/07a563e1ed6d443a8e8dce6c4fe78a6aad5302df/src/Components/test/E2ETest/.npmrc file, you'll need to get |
Where are we supposed to run this? |
In the same directory as that .npmrc and the changed package.json file. |
The system automatically loads packages from upstream repositories into the one listed in the .npmrc file when an authorized person runs It may also be necessary to clear your local |
@dougbu what I meant is, does vsts-npm-auth need to go on a |
No, execute it from the command line using the .npmrc file I mentioned. Then, you're authenticated and Not sure but https://learn.microsoft.com/en-us/azure/devops/artifacts/tutorials/protect-oss-packages-with-upstream-sources?view=azure-devops&tabs=npm%2Cnpmrestore is pretty general but has a bit more context. |
@captainsafia @javiercn where exactly is this PR❔ Do one of you already have updated lock files on your machines❔ |
@dougbu I do not 😢. Had to look into other build issues. |
@dotnet/aspnet-blazor-eng I updated the lock files and we're getting further. But it appears the newer packages include a breaking change:
Didn't we hit something similar the last time we tried to move to a newer selenium-standalone❔ |
This seems like something the @dotnet/aspnet-blazor-eng team should investigate and fix. It's gotten too complex for normal build-ops to try to figure out. |
@@ -104,14 +104,18 @@ private static async Task InitializeInstance(ITestOutputHelper output) | |||
var chromeDriverPathEnvVar = Environment.GetEnvironmentVariable("CHROMEWEBDRIVER"); | |||
if (!string.IsNullOrEmpty(chromeDriverPathEnvVar)) | |||
{ | |||
chromeDriverArg = $"--javaArgs=-Dwebdriver.chrome.driver={chromeDriverPathEnvVar}/chromedriver"; | |||
var configContent = File.ReadAllText(seleniumConfigPath); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI, this is working around what is likely a bug in selenium-standalone introduced by webdriverio/selenium-standalone@d13777c#diff-20cb449399750b160a4adfac13aa25ed97c9faacf30bee11ed4a16870f3ff4bfR103
It expands the individual characters of the command line argument for --javaArgs
, so -Dblah
becomes ['-','D','b','l','a','h']
which then fails since each value in the array is passed as an argument to java and -
isn't a valid argument.
Might be worth filing an issue.
5049ba0
to
48b1535
Compare
Made some additional bumps for Chrome 108 and associated selenium packages. Reverted the |
Latest packages aren't available in our feeds, have reached out offline to the appropriate folks. |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
Packages are now available. Lock files need updating now. |
Progress?
I think this may be related to the arg parsing @BrennanConroy mentioned above. Hmm I'm seeing:
But that looks like it's expected: @BrennanConroy are you able to share some more context on your earlier change? Taking a shot by reverting the |
Okay, that worked, no more parameter error! Onto the next;
So running into some routing issue now. Reverted the selenium standalone workaround. |
This reverts commit 1a81a40.
|
[main] Update dependencies from dotnet/efcore dotnet/runtime - Update templatestrings.json files - Update template.json files - Update other references to net7 - Rename publicApi folders - Fix RepoTasks - Fix it more fixily - Really fix it for real this time - Undo PreviewFeatures changes - Using - Merge branch 'darc-main-8caa276f-464b-4e95-a7fa-bc264a536653' of https://github.com/dotnet/aspnetcore into darc-main-8caa276f-464b-4e95-a7fa-bc264a536653 - Tasks - IO - CTS - Net70 - Merge branch 'darc-main-8caa276f-464b-4e95-a7fa-bc264a536653' of https://github.com/dotnet/aspnetcore into darc-main-8caa276f-464b-4e95-a7fa-bc264a536653 - Try using net8.0 for HelixTestRunner - Try making ReferenceAssemblies - Merge branch 'darc-main-8caa276f-464b-4e95-a7fa-bc264a536653' of https://github.com/dotnet/aspnetcore into darc-main-8caa276f-464b-4e95-a7fa-bc264a536653 - Get analyzer tests working - Ok fine - Update doc - Path combine - Try somethin wacky - Fix - Using - Merge remote-tracking branch 'upstream/main' into darc-main-8caa276f-464b-4e95-a7fa-bc264a536653 - Quarantine regressed WriteAsJsonAsync tests #45557 - Quarantine regressed async Json test #45557 - Re-order DataAnnotationsMetadataProviderTest expected results - Quarantine regressed async Json test #45557 - Re-order DataAnnotationsMetadataProviderTest expected results - Merge remote-tracking branch 'upstream/main' into darc-main-8caa276f-464b-4e95-a7fa-bc264a536653 - Bump E2E timeout to 2 hours Per discussion in #44834 (comment) - React to enum ordering change - Merge remote-tracking branch 'upstream/darc-main-8caa276f-464b-4e95-a7fa-bc264a536653' into darc-main-8caa276f-464b-4e95-a7fa-bc264a536653 - Skip a microbenchmark, update a version - Make test resilient to order changes - Unquar tests - remove custom loader for .wasm file (#45611)
Awesome work @TanayParikh 👏👏👏 |
No description provided.