summaryrefslogtreecommitdiffstats
path: root/pkg/integration/components/alert_asserter.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/integration/components/alert_asserter.go')
-rw-r--r--pkg/integration/components/alert_asserter.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/integration/components/alert_asserter.go b/pkg/integration/components/alert_asserter.go
index abc2f1171..2010af3b8 100644
--- a/pkg/integration/components/alert_asserter.go
+++ b/pkg/integration/components/alert_asserter.go
@@ -1,13 +1,13 @@
package components
type AlertAsserter struct {
- input *Input
+ t *TestDriver
hasCheckedTitle bool
hasCheckedContent bool
}
func (self *AlertAsserter) getViewAsserter() *View {
- return self.input.Views().Confirmation()
+ return self.t.Views().Confirmation()
}
// asserts that the alert view has the expected title
@@ -42,6 +42,6 @@ func (self *AlertAsserter) Cancel() {
func (self *AlertAsserter) checkNecessaryChecksCompleted() {
if !self.hasCheckedContent || !self.hasCheckedTitle {
- self.input.Fail("You must both check the content and title of a confirmation popup by calling Title()/Content() before calling Confirm()/Cancel().")
+ self.t.Fail("You must both check the content and title of a confirmation popup by calling Title()/Content() before calling Confirm()/Cancel().")
}
}