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

Ability to set larger text size when running detox #4351

Open
aaronkrohn opened this issue Jan 26, 2024 · 3 comments
Open

Ability to set larger text size when running detox #4351

aaronkrohn opened this issue Jan 26, 2024 · 3 comments

Comments

@aaronkrohn
Copy link

Description

I'd like to run detox with an iPhone simulator set to larger text. I want to do this for accessibility reasons so I can do a detox test with screenshots to spot text flow issues when a user uses larger text. Is there a way? I've looked into xcrun simctl if there's an API to set it. I've also looked at detox config and could see anything.

Appreciate any help or pointers.

Your environment

Detox version:
React Native version:
Node version:
Device model:
OS:
Test-runner (select one): jest / other

@asafkorem
Copy link
Contributor

Hey, the simplest "workaround" I can think of is to configure a specific simulator through the simulator's Settings app (unfortunately, without CLI), here's how, and change the device config to use this simulator using its ID or name. See examples

@asafkorem
Copy link
Contributor

It might also be possible to copy a preconfigured simulator between machines by transferring its files from ~/Library/Developer/CoreSimulator/Devices. I've never tried it myself, but I would be interested to hear if it works for anyone who tries that.

Copy link

stale bot commented Mar 17, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back.

Thank you for your contributions!

For more information on bots in this repository, read this discussion.

@stale stale bot added the 🏚 stale label Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants