### Body

Our CI generates `--package-filter` list in selective checks in order to pass them to `build-docs` and `publish-docs` commands. However after implementing #33876 and #34085 we could switch both commands to use short package ids which we already have (almost - there should be a slight modification for `apache-airflow`, `apache-airflow-providers` and `helm-chart` most likely. This should also simplify some of the unit tests we have.



### Committer

- [X] I acknowledge that I am a maintainer/committer of the Apache Airflow project.
return ANSI_COLORS_MATCHER.sub("", line)
def assert_outputs_are_printed(expected_outputs: dict[str, str], stderr: str):
    escaped_stderr = escape_ansi_colors(stderr)
    for name, value in expected_outputs.items():
        if value is None:
            search_string = rf"^{re.escape(name)}="
            if re.search(search_string, escaped_stderr, re.MULTILINE):
                raise AssertionError(f"The {name} output should not be in {escaped_stderr}")
        else:
            search_string = rf"^{re.escape(name)}={re.escape(value)}$"
            if not re.search(search_string, escaped_stderr, re.MULTILINE):
                raise AssertionError(f"Expected {name}={value} not found in {escaped_stderr}")
@pytest.mark.parametrize(
    "files, expected_outputs,",
    [
        (
            pytest.param(
                ("INTHEWILD.md",),
                {
                    "affected-providers-list-as-string": None,
                    "all-python-versions": "['3.8']",
                    "all-python-versions-list-as-string": "3.8",
                    "python-versions": "['3.8']",
                    "python-versions-list-as-string": "3.8",
                    "image-build": "false",
                    "needs-helm-tests": "false",
                    "run-tests": "false",
                    "run-amazon-tests": "false",
                    "docs-build": "false",
                    "upgrade-to-newer-dependencies": "false",