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

The 'accessibilityLabel' prop is not accepting by the component. Automation framework is unable to find test ID's. #151

Open
vetrivendhan48 opened this issue Dec 29, 2021 · 1 comment

Comments

@vetrivendhan48
Copy link

vetrivendhan48 commented Dec 29, 2021

Snippet

Toast.show(_localize(message), {
            // opacity: 1,
            duration: Toast.durations.LONG,
            backgroundColor: isError ? '#CC0000' : '#007E33',
            position: Toast.positions.TOP,
            shadow: true,
            animation: true,
            hideOnPress: true,
            delay: 0,
            textStyle: { flex: 1, fontSize: 13 },
            onShow: () => {
                // isCommonToastActive = true
            },
            onShown: () => {
                // calls on toast\`s appear animation end.
            },
            onHide: () => {
                // calls on toast\`s hide animation start.
            },
            onHidden: () => {
                // isCommonToastActive = false
            },
            testID: `toast message`,
            accessibilityLabel: `toast message`
        });

The prop accessibilityLabel is not displayed in automation test tools(Testproject).
Is there is any other way to achieve this? Thanks.

@seba9999
Copy link

seba9999 commented Jan 14, 2022

+1 would love to have accessibilityLabel ... :'(

Take a look at This PR

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

No branches or pull requests

2 participants