0
나는 behat와 채우기 양식으로 페이지를 테스트하고있다. html 페이지에 두 개의 비밀번호 입력이 있습니다.왜 Behat/Mink는 이름으로 입력 필드를 찾을 수 없습니까?
먼저 상단에 : 하단에
이<input id="login_password_0" class="form-control " type="password" placeholder="Slaptažodis" autocomplete="off" name="password">
둘째 :
다음에 내가 behat/밍크 테스트를 실행<input id="password" class="form-control validate" type="password" value="" name="password">
:
And I fill in "password" with "test"
그것은 첫 번째와 I를 채운다 채워질 두 번째가 필요하다.
설명서 이해 방법, 해당 요소는 'id | name | label | value'로 찾아 채울 수 있습니다.
P. HTML 변경은 옵션이 아닙니다.