From dd4721aac8029fd487aa6b1f50433583dd9b913d Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Sun, 28 Jan 2018 22:12:24 +0100 Subject: [PATCH] Try if these settings work on travis --- .../modules/stream/tests/codeception/acceptance.suite.yml | 2 +- .../modules/stream/tests/codeception/acceptance/StreamCest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/protected/humhub/modules/stream/tests/codeception/acceptance.suite.yml b/protected/humhub/modules/stream/tests/codeception/acceptance.suite.yml index 7a3e3ff905..b3f99df889 100644 --- a/protected/humhub/modules/stream/tests/codeception/acceptance.suite.yml +++ b/protected/humhub/modules/stream/tests/codeception/acceptance.suite.yml @@ -18,6 +18,6 @@ modules: browser: chrome capabilities: chromeOptions: - args: ['--headless', '--disable-gpu', '--no-sandbox'] + args: ['--headless', '--disable-gpu', '--no-sandbox', '--window-size=1024,768'] - tests\codeception\_support\WebHelper - tests\codeception\_support\DynamicFixtureHelper \ No newline at end of file diff --git a/protected/humhub/modules/stream/tests/codeception/acceptance/StreamCest.php b/protected/humhub/modules/stream/tests/codeception/acceptance/StreamCest.php index 92eac60d67..e228172541 100644 --- a/protected/humhub/modules/stream/tests/codeception/acceptance/StreamCest.php +++ b/protected/humhub/modules/stream/tests/codeception/acceptance/StreamCest.php @@ -225,7 +225,7 @@ class StreamCest $I->click('Send', '#comment_create_form_humhubmodulespostmodelsPost_10'); $I->waitForText('My Comment', 30, '#comment_humhubmodulespostmodelsPost_10 .comment'); - $I->scrollTop(); +// $I->scrollTop(); $I->click('.stream-filter', '#filter'); $I->waitForElementVisible('#filter_entry_userinvolved'); $I->click('#filter_entry_userinvolved');