Skip to content

Style and group tests break when W3C groups are renamed or removed #5231

@marcoscaceres

Description

@marcoscaceres

Several tests (primarily style-spec.js, group-spec.js, headers-spec.js) hit the live respec.org/w3c/groups/ API, making them fragile when groups are renamed or removed. The autowebplatform BG was recently removed, breaking the BG-FINAL style test on all branches.

Proposed fix: Pre-seed the browser Cache API with mock group responses via a preProcess hook in SpecHelper.js, so fetchAndCache finds cached data and never hits the network. ~65 lines of new test infrastructure, ~1 line change per affected test. Same pattern as localBiblio for bibliography.

Scope: ~50-60 test cases across 5 test files.

Found while investigating #5228.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions