modules/page_object_autofill.py [256:273]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    ):
        """
        A common method to check which fields trigger the autofill dropdown. This is used in both CC and Address pages.

        Arguments:
            fields_to_test: The primary list of fields for this page (cc fields, address fields).
            excluded_fields: Fields that should NOT trigger an autofill dropdown.
            region: If provided, handle region-specific behavior (e.g., skip address-level1 for DE/FR).
        """

        if not self.field_mapping:
            # Method is meant to be called by one of the classes that inherit AutoFill (CreditCardFill or AddressFill)
            # Should not be called directly from an Autofill instance.
            raise NotImplementedError(
                "Method should only be called in inherited classes."
            )

        if fields_to_test is None:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



modules/page_object_autofill.py [324:342]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    ):
        """
        A common method to check which fields have the "yellow highlight". This is used in both CC and Address pages.

        Arguments:
            fields_to_test: The primary list of fields for this page (cc fields, address fields).
            expected_highlighted_fields: Which ones are expected to be highlighted. Defaults to all in `fields_to_test`.
            extra_fields: If some pages have extra fields to test (e.g. 'cc-csc'), pass them here.
            region: region to test
        """

        if not self.field_mapping:
            # Method is meant to be called by one of the classes that inherit AutoFill (CreditCardFill or AddressFill)
            # Should not be called directly from an Autofill instance.
            raise NotImplementedError(
                "Method should only be called in inherited classes."
            )

        if fields_to_test is None:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



