mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-09 06:23:52 +08:00
feat: add WithPreMarkOperation and WithPostMarkOperation to mark UI operation before/after action
This commit is contained in:
@@ -287,7 +287,7 @@ func TestSaveImageWithArrow(t *testing.T) {
|
||||
func TestMarkOperation(t *testing.T) {
|
||||
driver := setupDriverExt(t)
|
||||
|
||||
opts := []option.ActionOption{option.WithMarkOperationEnabled(true)}
|
||||
opts := []option.ActionOption{option.WithPreMarkOperation(true)}
|
||||
|
||||
// tap point
|
||||
err := driver.TapXY(0.5, 0.5, opts...)
|
||||
|
||||
Reference in New Issue
Block a user