Files
supabase/e2e
Alaister Young 2a3ac6833a test(e2e/studio): suffix RLS smoke-test table name with parallel index
The "warns on CREATE TABLE without RLS" spec used a fixed
`pw_rls_smoke_test` table name. With 3 self-hosted workers in
parallel, two workers can race: worker A's `dropTable` lands between
worker B's "Run and enable RLS" click and worker B's verifying
`pg_class` query, leaving `rows[0]?.relrowsecurity` as undefined and
asserting `expect(undefined).toBe(true)`.

Suffix the table with `test.info().parallelIndex`, matching the
pattern used elsewhere in the suite for parallel-safe per-worker
tables.
2026-05-17 23:50:04 +08:00
..