Skip to content

Remove unneeded data from playwright test fixture #2341

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

Merged
merged 2 commits into from
Apr 21, 2025
Merged

Conversation

mvandenburgh
Copy link
Member

#2223 modified the playwright.json.xz test fixture, and inadvertently added some additional DB tables into the test data that do not need to be included. These are mostly just some internal tables that Django/other upstream libraries create and maintain themselves.

@naglepuff I missed this in my original review of #2223, I forgot we used the --exclude flag to ensure certain tables are excluded when running manage.py dumpdata. I added some brief documentation on how to generate that data so that we remember next time it needs to be updated.

I believe this is also why #2339 is failing CI - the sample data currently includes a oauth2_provider.Application instance which seems to be causing some issues.

c00ad25 modified the
playwright test data to remove some redundant data, but in the process
inadvertently added some additional DB table dumps to the fixture.
This regenerates the playwright test fixture with the correct excludes.
@mvandenburgh mvandenburgh added the tests Add or improve existing tests label Apr 21, 2025
Copy link
Contributor

@naglepuff naglepuff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mvandenburgh mvandenburgh merged commit 6048fe2 into master Apr 21, 2025
10 checks passed
@mvandenburgh mvandenburgh deleted the fix-test-data branch April 21, 2025 17:21
@dandibot
Copy link
Member

🚀 PR was released in v0.8.1 🚀

@dandibot dandibot added the released This issue/pull request has been released. label Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released This issue/pull request has been released. tests Add or improve existing tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants