fix: typo in IsVisible assertion string

This commit is contained in:
AzraelSec
2024-06-07 22:51:16 +02:00
committed by Stefan Haller
parent eef70dbdf6
commit 03a075c223
+1 -1
View File
@@ -565,7 +565,7 @@ func (self *ViewDriver) IsVisible() *ViewDriver {
func (self *ViewDriver) IsInvisible() *ViewDriver {
self.t.assertWithRetries(func() (bool, string) {
return !self.getView().Visible, fmt.Sprintf("%s: Expected view to be visible, but it was not", self.context)
return !self.getView().Visible, fmt.Sprintf("%s: Expected view to be invisible, but it was not", self.context)
})
return self