Skip to content

Commit

Permalink
fix: update alert text assertion to use correct newline character (#883)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dor-bl authored Dec 21, 2024
1 parent f81e830 commit a833468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/IOS/AlertTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void TextAlertTest()
_driver.FindElement(MobileBy.IosNSPredicate("label == 'show alert'")).Click();
Thread.Sleep(500);
string alertText = _driver.SwitchTo().Alert().Text;
Assert.That(alertText, Is.EqualTo("Cool title\r\nthis alert is so cool."));
Assert.That(alertText, Is.EqualTo("Cool title\nthis alert is so cool."));
}
}
}

0 comments on commit a833468

Please sign in to comment.