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]: Inspector not showing recorded steps #33052

Closed
Nav-2d opened this issue Oct 11, 2024 · 1 comment · Fixed by #33099
Closed

[Regression]: Inspector not showing recorded steps #33052

Nav-2d opened this issue Oct 11, 2024 · 1 comment · Fixed by #33099

Comments

@Nav-2d
Copy link
Contributor

Nav-2d commented Oct 11, 2024

Last Good Version

1.47.2

First Bad Version

1.48.0

Steps to reproduce

import { test, expect } from "@playwright/test";

test.only("has title", async ({ page }) => {
  await page.goto("https://playwright.dev/");

  // Expect a title "to contain" a substring.
  await expect(page).toHaveTitle(/Playwright/);
});
  • Run the above test using npx playwright test --debug
  • Step through page.goto step of the step
  • Click "Record" button on the inspector
  • Now click around the website.

Expected behavior

The recorded steps should be generated in the inspector

Actual behavior

The recorded steps are not generated in the inspector.

Screen.Recording.2024-10-10.at.6.04.16.PM.mov

Additional context

Tried this in a fresh project using npm init playwright@latest

Environment

System:
OS: macOS 15.0
CPU: (12) arm64 Apple M3 Pro
Memory: 1.18 GB / 36.00 GB
Binaries:
Node: 20.11.1 - ~/.nvm/versions/node/v20.11.1/bin/node
Yarn: 1.22.22 - /opt/homebrew/bin/yarn
npm: 10.2.4 - ~/.nvm/versions/node/v20.11.1/bin/npm
IDEs:
VSCode: 1.94.0 - /usr/local/bin/code
Languages:
Bash: 3.2.57 - /bin/bash
npmPackages:
@playwright/test: ^1.48.0 => 1.48.0

@pavelfeldman
Copy link
Member

While we are fixing this, select a different language back and forth.

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

Successfully merging a pull request may close this issue.

2 participants