System: Change field to find

pull/4497/head
Borja Sánchez 3 years ago
parent 45d9c1f050
commit 66d6ca29b3
  1. 2
      .github/workflows/php.yml
  2. 2
      tests/behat/features/bootstrap/FeatureContext.php

@ -116,7 +116,7 @@ jobs:
- run: |
export DISPLAY=:99
chromedriver --url-base=/wd/hub &
sudo Xvfb -ac :99 -screen 0 1920x1080x24 > /dev/null 2>&1 & # optional
sudo Xvfb -ac :99 -screen 0 1920x1080x27 > /dev/null 2>&1 & # optional
# wget https://chromedriver.storage.googleapis.com/88.0.4324.96/chromedriver_linux64.zip --quiet && unzip chromedriver_linux64.zip
# sudo mv chromedriver /usr/bin

@ -191,7 +191,7 @@ class FeatureContext extends MinkContext
$this->clickLink('course-access');
$this->waitForThePageToBeLoaded();
$this->assertPageContainsText('Course registration password');
$this->fillField('update_course_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