diff options
Diffstat (limited to 'pkg/integration/components/confirmation_asserter.go')
-rw-r--r-- | pkg/integration/components/confirmation_asserter.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/integration/components/confirmation_asserter.go b/pkg/integration/components/confirmation_asserter.go index 2d3d87ba0..b226f0885 100644 --- a/pkg/integration/components/confirmation_asserter.go +++ b/pkg/integration/components/confirmation_asserter.go @@ -1,13 +1,13 @@ package components type ConfirmationAsserter struct { - input *Input + t *TestDriver hasCheckedTitle bool hasCheckedContent bool } func (self *ConfirmationAsserter) getViewAsserter() *View { - return self.input.Views().Confirmation() + return self.t.Views().Confirmation() } // asserts that the confirmation view has the expected title @@ -42,6 +42,6 @@ func (self *ConfirmationAsserter) Cancel() { func (self *ConfirmationAsserter) 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().") } } |