add view asserter getter struct

This commit is contained in:
Jesse Duffield 2022-12-27 15:07:11 +11:00
parent b64f55518b
commit be30cbb375
35 changed files with 184 additions and 174 deletions

View file

@ -6,7 +6,7 @@ type CommitMessagePanelAsserter struct {
}
func (self *CommitMessagePanelAsserter) getViewAsserter() *ViewAsserter {
return self.assert.View("commitMessage")
return self.assert.Views().ByName("commitMessage")
}
// asserts on the text initially present in the prompt