我有一个很长的 Specflow 场景,我需要添加 3 个用户,所有步骤都是相同的。我怎样才能重复流程中的几个步骤?
Given Go to page
#Login
And Click on sign in button
When Enter email 'mail@gmail.com'
And Enter password '123456'
And Click on Submit button
And click on Events list button
And Open Event
And Go to new opened page
And Click on Register to event button
Run Code Online (Sandbox Code Playgroud)
When Click on Person title '<title>'
And Select ticket package
And Select ticket quantity '15'
And Click on submit registration button
And Enter mail <email> to register …Run Code Online (Sandbox Code Playgroud)