change: AIAssert

This commit is contained in:
lilong.129
2025-03-25 14:33:07 +08:00
parent aeee9c7f7b
commit 7d5fdfe490
5 changed files with 34 additions and 3 deletions

View File

@@ -539,7 +539,7 @@ func (s *StepMobileUIValidation) AssertImageNotExists(expectedImagePath string,
return s
}
func (s *StepMobileUIValidation) AssertByAI(prompt string, msg ...string) *StepMobileUIValidation {
func (s *StepMobileUIValidation) AssertAI(prompt string, msg ...string) *StepMobileUIValidation {
v := Validator{
Check: uixt.SelectorAI,
Assert: uixt.AssertionAI,