Skip to content

Commit

Permalink
Merge pull request #2118 from Catrobat/release/v3.18.0
Browse files Browse the repository at this point in the history
Release v3.18.0 into develop
  • Loading branch information
dmetzner authored Oct 6, 2021
2 parents c2c1451 + ae9a34c commit 885ca3e
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration

# Define the App Environment
APP_VERSION='3.17.8'
APP_VERSION='3.18.0'
APP_ENV=dev
APP_DEBUG=0
APP_NAME="PocketCode Share"
Expand Down
2 changes: 1 addition & 1 deletion .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

$finder = PhpCsFixer\Finder::create()
->in(__DIR__)
->exclude(['var']);
->exclude(['var', 'node_modules', 'vendor']);

$config = new PhpCsFixer\Config();
$config
Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ services:
# --- Tests:

chrome.catroweb:
image: zenika/alpine-chrome:81
image: zenika/alpine-chrome:89
container_name: chrome.catroweb
restart: on-failure
volumes:
Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ services:
# --- Tests:

chrome.catroweb:
image: zenika/alpine-chrome:81
image: zenika/alpine-chrome:89
container_name: chrome.catroweb
restart: on-failure
volumes:
Expand Down
15 changes: 5 additions & 10 deletions tests/behat/context/BrowserContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,6 @@ public function setup(): void
$this->getSession()->resizeWindow(320 + 15, 1_024);
}

/**
* @AfterScenario
*/
public function resetSession(): void
{
$this->getSession()->getDriver()->reset();
}

/**
* @Given I start a new session
*/
Expand Down Expand Up @@ -476,8 +468,11 @@ public function iWaitForTheElementToContain($locator, $text): void
*/
public function makeScreenshot(AfterStepScope $scope): void
{
if (!$scope->getTestResult()->isPassed()) {
$this->saveScreenshot(time().'.png', $this->SCREENSHOT_DIR);
try {
if (!$scope->getTestResult()->isPassed()) {
$this->saveScreenshot(time().'.png', $this->SCREENSHOT_DIR);
}
} catch (Exception $exception) {
}
}

Expand Down
8 changes: 0 additions & 8 deletions tests/behat/context/CatrowebBrowserContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,6 @@ public function deactivateRealGeocoderService(): void
$this->getSymfonyService(StatisticsService::class)->useRealService(false);
}

/**
* @AfterScenario
*/
public function disableProfiler(): void
{
$this->getSymfonyService('profiler')->disable();
}

//--------------------------------------------------------------------------------------------------------------------
// Authentication
//--------------------------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit 885ca3e

Please sign in to comment.