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

[REGRESSION]: Playwright.LaunchOptions.SlowMo in .runsettings no longer works in 1.41.0 #2833

Closed
flashquartermaster opened this issue Jan 18, 2024 · 2 comments

Comments

@flashquartermaster
Copy link

flashquartermaster commented Jan 18, 2024

Context:

  • GOOD Playwright Version: Playwright.NUnit 1.40.0
  • BAD Playwright Version: Playwright.NUnit 1.41.0
  • Operating System: Winodws, Linux
  • Extra:
    NUnit 4.0.1
    NUnit.Analyzers 3.10.0

Code Snippet

Example of .runsettings used

<?xml version="1.0" encoding="utf-8"?>
<RunSettings>
  <TestRunParameters>
    <Parameter name="BaseUrl" value="https://aaa.bbb.com" />
  </TestRunParameters>
  <!-- NUnit adapter -->
  <NUnit>
    <NumberOfTestWorkers>4</NumberOfTestWorkers>
  </NUnit>
  <!-- General run configuration -->
  <RunConfiguration>
    <EnvironmentVariables>
      <PWDEBUG>0</PWDEBUG>
    </EnvironmentVariables>
  </RunConfiguration>
  <!-- Playwright -->
  <Playwright>
    <BrowserName>chromium</BrowserName>
    <ExpectTimeout>5000</ExpectTimeout>
    <LaunchOptions>
      <Headless>false</Headless>
      <SlowMo>500</SlowMo>
      <Channel>chrome</Channel>
    </LaunchOptions>
  </Playwright>
</RunSettings>

Describe the bug
.
After upgrading to 1.41.0 with .net8, SlowMo is no longer applied to the tests whether or not PWDEBUG is set to 1 or 0.

@brutaldev
Copy link

Might be related to Issue #2834

@mxschmitt
Copy link
Member

Folding into #2794 (comment)

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

No branches or pull requests

3 participants