Skip to content

felt test runs stale code despite correctly compiling the source #116214

@dkwingsmt

Description

@dkwingsmt

Since recently, felt test <file> has not been using the updated file.

I'm adding a new test to keyboard_converter_test.dart, which had 19 tests before the change. But after adding the new test, it still reports 19 tests (log).
(it doesn't matter if I add --no-wasm or not)

Strangely, the reported compiling output build/html_tests/test/keyboard_converter_test.dart.browser_test.dart.js contains the correct new test.

After discussing with @eyebrowsoffire , removing the //flutter/lib/web_ui/build directory solves this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0Critical issues such as a build break or regressiona: tests"flutter test", flutter_test, or one of our testsc: contributor-productivityTeam-specific productivity, code health, technical debt.engineflutter/engine related. See also e: labels.platform-webWeb applications specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions