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

fix playwright tests with better mock separation #326

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

shakyShane
Copy link
Collaborator

@shakyShane shakyShane commented Feb 9, 2025

Reviewer: @mgurgel

https://app.asana.com/0/1200835453786799/1209359170590866

Description:

  • we have allowed some import json from "some.json to creep into the test code - this prevents some versions of node from being able to execute the playwright test suite. In particular, it prevented my IDE from being able to run single tests in isolation. So I've made the boundary clearer by moving the browser mocks into a separate file

Steps to test this PR:

@shakyShane shakyShane marked this pull request as ready for review February 9, 2025 09:28
@shakyShane
Copy link
Collaborator Author

shakyShane commented Feb 9, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link

netlify bot commented Feb 9, 2025

Deploy Preview for ddgdash ready!

Name Link
🔨 Latest commit 5789276
🔍 Latest deploy log https://app.netlify.com/sites/ddgdash/deploys/67a925ffd5793200081c4e99
😎 Deploy Preview https://deploy-preview-326--ddgdash.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

github-actions bot commented Feb 9, 2025

Temporary Branch Update

The temporary branch has been updated with the latest changes. Below are the details:

NPM

npm i github:duckduckgo/privacy-dashboard#f9423fcf11345191d01081770b48cdd9eb53a867

Git submodule:

git submodule update --remote --init submodules/privacy-dashboard
cd submodules/privacy-dashboard
git fetch origin
git checkout pr-releases/pr-227
git reset --hard origin/pr-releases/pr-227

Swift

.package(url: "https://github.com/duckduckgo/privacy-dashboard", revision: "f9423fcf11345191d01081770b48cdd9eb53a867"),

@shakyShane shakyShane force-pushed the 02-09-fix_playwright_tests_with_better_mock_separation branch from 8916259 to 11894a1 Compare February 9, 2025 10:34
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 this pull request may close these issues.

1 participant