Skip to content

Conversation

@Awallky
Copy link
Contributor

@Awallky Awallky commented Nov 3, 2025

This change adds a data target that composes Cobalt browser test's data dependencies. This was instrumented by a script that basically links to all of the resource files underneath //content/test/data. I manually removed the symlink files. The script and its unittest script were added to the data directory for updating the data directory for each rebase.

Cobalt tests failed recently when trying to use symlinks in tests. On the test devices, this was disallowed because they used FAT file systems, where symlinks are not compatible. This will require more granular updates to the test data target, but this should be fine and should be a relatively low-effort extra step.

This also removes a file chooser test, which does not reflect a Cobalt CUJ.

Test: out/android-x86_devel/bin/run_cobalt_browsertests -v -f
Note: The linter forced the spacing change in CobaltActivity.java. It is not relevant to this PR.
Bug: 432313695

This change reduces the number of files that cobalt browser_tests rely on. Cobalt tests failed recently when trying to use symlinks in tests. On the test devices, this was disallowed because they used FAT file systems, where symlinks are not compatible.

Bug: 432313695
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.

1 participant