Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DatePicker Compose testing #80

Open
noloman opened this issue Feb 13, 2024 · 1 comment
Open

DatePicker Compose testing #80

noloman opened this issue Feb 13, 2024 · 1 comment
Labels
feature request Please, do it for me

Comments

@noloman
Copy link

noloman commented Feb 13, 2024

Hi,

First of all, thank you very much for the library!

I'm wondering, how can I test a material3 DatePicker that I'm using in a Compose screen? I can't see any instruction about how to define it nor how to initialize it in Compose.

The most I could do is:

private val datePickerNode = KNode(semanticsProvider) {
        hasTestTag(DATE_PICKER_TAG)
    }

but this returns a KNode with which I can't do anything related to a date picker.

Thanks!

@Vacxe
Copy link
Member

Vacxe commented Mar 4, 2024

@noloman hi mate. First of all I want to clarify few things. This library is wrapper around Espresso. All K-classes is custom wrappers. Everyone welcome to create new one for supporting new functionality or create a feature request and I can do it when Ill have free time.

You may create a PR with KDatePicker as well ;)

Anyway, this Issue will be marked as feature request

@Vacxe Vacxe added the feature request Please, do it for me label Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Please, do it for me
Projects
None yet
Development

No branches or pull requests

2 participants