Skip to content

Commit

Permalink
Bump Microsoft.Playwright from 1.37.1 to 1.38.0 (#1953)
Browse files Browse the repository at this point in the history
* Bump Microsoft.Playwright from 1.37.1 to 1.38.0

Bumps [Microsoft.Playwright](https://github.com/microsoft/playwright-dotnet) from 1.37.1 to 1.38.0.
- [Release notes](https://github.com/microsoft/playwright-dotnet/releases)
- [Commits](microsoft/playwright-dotnet@v1.37.1...v1.38.0)

---
updated-dependencies:
- dependency-name: Microsoft.Playwright
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Fix obsolete warning

Use `FillAsync()` instead of `TypeAsync()`.

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martin Costello <[email protected]>
  • Loading branch information
dependabot[bot] and martincostello authored Sep 26, 2023
1 parent 9551638 commit 0540a09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<PackageVersion Include="Microsoft.DotNet.XliffTasks" Version="1.0.0-beta.21452.1" />
<PackageVersion Include="Microsoft.Extensions.Http.Polly" Version="8.0.0-rc.1.23421.29" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageVersion Include="Microsoft.Playwright" Version="1.37.1" />
<PackageVersion Include="Microsoft.Playwright" Version="1.38.0" />
<PackageVersion Include="Microsoft.TypeScript.MSBuild" Version="5.2.2" />
<PackageVersion Include="NSubstitute" Version="5.1.0" />
<PackageVersion Include="Polly" Version="7.2.4" />
Expand Down
4 changes: 2 additions & 2 deletions tests/LondonTravel.Site.Tests/EndToEnd/SocialLoginTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ private async Task SignInAsync(

IElementHandle? userName = await page.WaitForSelectorAsync(userNameSelector);

await userName!.TypeAsync(credentials.UserName);
await userName!.FillAsync(credentials.UserName);

if (sendEnterAfterUserName)
{
Expand All @@ -127,7 +127,7 @@ private async Task SignInAsync(

IElementHandle? password = await page.WaitForSelectorAsync(passwordSelector);

await password!.TypeAsync(credentials.Password);
await password!.FillAsync(credentials.Password);
await page.Keyboard.PressAsync("Enter");

await page.WaitForURLAsync((p) => p.StartsWith(ServerAddress.ToString(), StringComparison.OrdinalIgnoreCase));
Expand Down

0 comments on commit 0540a09

Please sign in to comment.