Skip to content

test: disable tests for content api#16157

Open
jbaifigma wants to merge 4 commits intomainfrom
test-disable-tests-for-cnt-api
Open

test: disable tests for content api#16157
jbaifigma wants to merge 4 commits intomainfrom
test-disable-tests-for-cnt-api

Conversation

@jbaifigma
Copy link
Copy Markdown
Collaborator

What?

Disables unit tests described in this doc for the content api:
https://docs.google.com/document/d/120xmnUUCii_d7Tc4kvqItWV0D3td5RVCzM5JeWQ48Gk/edit?tab=t.0

Why?

The content api isn't going to support the above features/complex query patterns, though that may (will) change in the future.

How?

Early returns from tests if the db is the content-api
Fixes #

Reran test:int:summary, saw the following output:
Ran with the following commits:
Figma: 03d0e73d2b8f52c360c82f0a359d07397ad1d666
Enterprise-Plugins: 759a79b282f14f1e9815cf423cd84374f7414b0a
📈 Overall Results:
Suites: 33/48 passed
Tests: 1766/1871 passed
Time: 8m 13s

❌ Failed or partially failed suites:
⚠️ collections-rest (109/112)
⚠️ database (127/158)
⚠️ folders (11/14)
⚠️ joins (71/75)
⚠️ kv (2/3)
⚠️ localization (111/115)
⚠️ plugin-import-export (178/188)
⚠️ plugin-mcp (66/67)
⚠️ relationships (51/57)
⚠️ sdk (35/38)
⚠️ select (113/114)
⚠️ sort (33/37)
⚠️ uploads (91/93)
⚠️ versions (70/93)
⚠️ fields (148/157)

@jbaifigma jbaifigma requested review from DanRibbens, GermanJablo and r1tsuu and removed request for DanRibbens and r1tsuu April 2, 2026 19:53
@jbaifigma
Copy link
Copy Markdown
Collaborator Author

@GermanJablo I know you suggested Vitest tags, would require to bump vitest to 4.1 and not sure if that would cause any issues. Can definitely use tags after we get the unit tests all passing.

@GermanJablo
Copy link
Copy Markdown
Contributor

Yes I started working on that
#16154
will continue on tuesday

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2026

📦 esbuild Bundle Analysis for payload

This analysis was generated by esbuild-bundle-analyzer. 🤖
This PR introduced no changes to the esbuild bundle! 🙌

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.

2 participants