Skip to content

Commit

Permalink
config: turn on ios reset location & privacy
Browse files Browse the repository at this point in the history
  • Loading branch information
yowpark committed Nov 15, 2023
1 parent 7c9b822 commit 5cb8caa
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -698,8 +698,7 @@ export class IosResetService {
isResetHomeDone = true;
}

if (process.env.DOGU_DEVICE_RESET_IOS_LOCATION) {
// temporaily disable to prevent intermittent
{
await iosDriver.clickSelector(new IosClassChainSelector('**/XCUIElementTypeStaticText[`label == "Reset"`]'));
await iosDriver.clickSelector(new IosButtonPredicateStringSelector('Reset Location & Privacy', { dismissAlert: false }));
await iosDriver.clickSelector(new IosButtonPredicateStringSelector('Reset Settings', { dismissAlert: false }));
Expand Down

0 comments on commit 5cb8caa

Please sign in to comment.