Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: microsoft/playwright
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.41.0
Choose a base ref
...
head repository: microsoft/playwright
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.41.1
Choose a head ref
  • 11 commits
  • 51 files changed
  • 6 contributors

Commits on Jan 17, 2024

  1. Revert "feat(trace): allow Trace Viewer to include credentials when f…

    …etching traces cross-origin (#28502)" (#29024)
    
    This reverts commit 3f3f332.
    
    References #29019.
    dgozman committed Jan 17, 2024
    Copy the full SHA
    ece2a97 View commit details

Commits on Jan 18, 2024

  1. cherry-pick(#29034): docs: fix typo for stylePath (#29035)

    This PR cherry-picks the following commits:
    
    - a217d6a
    
    Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
    playwrightmachine and github-actions[bot] authored Jan 18, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    4d9f923 View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    d47ed6a View commit details
  3. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    06518b2 View commit details
  4. Copy the full SHA
    cb6c64c View commit details
  5. Copy the full SHA
    50a8e4f View commit details
  6. Copy the full SHA
    8ee2d81 View commit details
  7. Copy the full SHA
    e5d201b View commit details

Commits on Jan 19, 2024

  1. Copy the full SHA
    50f1f08 View commit details
  2. cherry-pick(#29069): Revert "feat(codegen): add range input recording…

    … support (#28767)" (#29074)
    
    This PR cherry-picks the following commits:
    
    - e551506
    
    Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
    playwrightmachine and github-actions[bot] authored Jan 19, 2024
    Copy the full SHA
    98a6618 View commit details
  3. Copy the full SHA
    8f0163f View commit details
Showing with 1,009 additions and 974 deletions.
  1. +1 −0 .eslintignore
  2. +2 −1 .gitignore
  3. +2 −2 docs/src/test-snapshots-js.md
  4. +50 −50 package-lock.json
  5. +1 −1 package.json
  6. +2 −2 packages/playwright-browser-chromium/package.json
  7. +2 −2 packages/playwright-browser-firefox/package.json
  8. +2 −2 packages/playwright-browser-webkit/package.json
  9. +2 −2 packages/playwright-chromium/package.json
  10. +1 −1 packages/playwright-core/package.json
  11. +13 −6 packages/playwright-core/src/server/injected/recorder.ts
  12. +3 −3 packages/playwright-ct-core/package.json
  13. +6 −0 packages/playwright-ct-core/src/DEPS.list
  14. +49 −0 packages/playwright-ct-core/src/injected/importRegistry.ts
  15. +22 −0 packages/playwright-ct-core/src/injected/index.ts
  16. +93 −0 packages/playwright-ct-core/src/injected/serializers.ts
  17. +65 −96 packages/playwright-ct-core/src/mount.ts
  18. +104 −140 packages/playwright-ct-core/src/tsxTransform.ts
  19. +50 −89 packages/playwright-ct-core/src/vitePlugin.ts
  20. +18 −14 packages/playwright-ct-core/types/component.d.ts
  21. +2 −2 packages/playwright-ct-react/package.json
  22. +12 −105 packages/playwright-ct-react/registerSource.mjs
  23. +2 −2 packages/playwright-ct-react17/package.json
  24. +11 −70 packages/playwright-ct-react17/registerSource.mjs
  25. +2 −2 packages/playwright-ct-solid/package.json
  26. +21 −53 packages/playwright-ct-solid/registerSource.mjs
  27. +2 −2 packages/playwright-ct-svelte/package.json
  28. +12 −51 packages/playwright-ct-svelte/registerSource.mjs
  29. +2 −2 packages/playwright-ct-vue/package.json
  30. +32 −59 packages/playwright-ct-vue/registerSource.mjs
  31. +2 −2 packages/playwright-ct-vue2/package.json
  32. +32 −61 packages/playwright-ct-vue2/registerSource.mjs
  33. +2 −2 packages/playwright-firefox/package.json
  34. +2 −2 packages/playwright-test/package.json
  35. +2 −2 packages/playwright-webkit/package.json
  36. +1 −0 packages/playwright/bundles/babel/src/babelBundleImpl.ts
  37. +2 −0 packages/playwright/jsx-runtime.js
  38. +3 −2 packages/playwright/package.json
  39. +37 −8 packages/playwright/src/transform/compilationCache.ts
  40. +9 −2 packages/playwright/src/transform/transform.ts
  41. +1 −1 packages/trace-viewer/src/traceModelBackends.ts
  42. +1 −0 packages/web/src/components/splitView.spec.tsx
  43. +1 −1 tests/components/ct-react17/tsconfig.json
  44. +0 −28 tests/library/inspector/cli-codegen-1.spec.ts
  45. +2 −0 tests/playwright-test/loader.spec.ts
  46. +2 −0 tests/playwright-test/playwright-test-fixtures.ts
  47. +186 −93 tests/playwright-test/playwright.ct-build.spec.ts
  48. +22 −2 tests/playwright-test/playwright.ct-react.spec.ts
  49. +78 −0 tests/playwright-test/ui-mode-test-ct.spec.ts
  50. +1 −0 utils/build/build.js
  51. +37 −9 utils/generate_injected.js
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -4,6 +4,7 @@ test/assets/modernizr.js
/packages/playwright-core/src/generated/*
/packages/playwright-core/src/third_party/
/packages/playwright-core/types/*
/packages/playwright-ct-core/src/generated/*
/index.d.ts
utils/generate_types/overrides.d.ts
utils/generate_types/test/test.ts
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -9,7 +9,8 @@ node_modules/
.vscode
.idea
yarn.lock
/packages/playwright-core/src/generated/*
/packages/playwright-core/src/generated
/packages/playwright-ct-core/src/generated
packages/*/lib/
drivers/
.android-sdk/
4 changes: 2 additions & 2 deletions docs/src/test-snapshots-js.md
Original file line number Diff line number Diff line change
@@ -98,7 +98,7 @@ import { test, expect } from '@playwright/test';
test('example test', async ({ page }) => {
await page.goto('https://playwright.dev');
await expect(page).toHaveScreenshot({ styleFile: path.join(__dirname, 'screenshot.css') });
await expect(page).toHaveScreenshot({ stylePath: path.join(__dirname, 'screenshot.css') });
});
```

@@ -109,7 +109,7 @@ import { defineConfig } from '@playwright/test';
export default defineConfig({
expect: {
toHaveScreenshot: {
styleFile: './screenshot.css'
stylePath: './screenshot.css'
},
},
});
100 changes: 50 additions & 50 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "playwright-internal",
"private": true,
"version": "1.41.0",
"version": "1.41.1",
"description": "A high-level API to automate web browsers",
"repository": {
"type": "git",
Loading