diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index dcd46a0a98..54a1a83881 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -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 diff --git a/tests/behat/features/bootstrap/FeatureContext.php b/tests/behat/features/bootstrap/FeatureContext.php index f1a92a39f5..6491fe86f7 100644 --- a/tests/behat/features/bootstrap/FeatureContext.php +++ b/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('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); }