System: Change field to find

pull/4497/head
Borja Sánchez 3 years ago
parent 5677e51981
commit a892a22740
  1. 2
      tests/behat/features/bootstrap/FeatureContext.php

@ -191,7 +191,7 @@ class FeatureContext extends MinkContext
$this->clickLink('course-access');
$this->waitForThePageToBeLoaded();
$this->assertPageContainsText('Course registration password');
$this->fillField('course_registration_password[]', $password);
$this->fillField('course_registration_password', $password);
$this->pressButton('update_course_submit_save_access');
$this->assertFieldContains('course_registration_password', $password);
}

Loading…
Cancel
Save