Browse Source

GA: Ignore some failing browser tests that were also failing on Travis

pull/8114/head
Aleksander Machniak 4 years ago
parent
commit
bafac71432
  1. 8
      .github/run.sh
  2. 1
      tests/Browser/Settings/FoldersTest.php
  3. 4
      tests/Browser/Settings/IdentitiesTest.php
  4. 4
      tests/Browser/Settings/ResponsesTest.php

8
.github/run.sh

@ -30,9 +30,9 @@ wget https://repo1.maven.org/maven2/com/icegreen/greenmail-standalone/$GMV/green
&& sleep 5
# Run tests
echo "TESTS_MODE: DESKTOP" \
&& TESTS_MODE=desktop vendor/bin/phpunit -c tests/Browser/phpunit.xml \
echo "\nTESTS_MODE: DESKTOP" \
&& TESTS_MODE=desktop vendor/bin/phpunit -c tests/Browser/phpunit.xml --exclude-group=failsonga \
&& echo "TESTS_MODE: PHONE" \
&& TESTS_MODE=phone vendor/bin/phpunit -c tests/Browser/phpunit.xml \
&& TESTS_MODE=phone vendor/bin/phpunit -c tests/Browser/phpunit.xml --exclude-group=failsonga-phone \
&& echo "TESTS_MODE: TABLET" \
&& TESTS_MODE=tablet vendor/bin/phpunit -c tests/Browser/phpunit.xml
&& TESTS_MODE=tablet vendor/bin/phpunit -c tests/Browser/phpunit.xml --exclude-group=failsonga-tablet

1
tests/Browser/Settings/FoldersTest.php

@ -69,6 +69,7 @@ class FoldersTest extends \Tests\Browser\TestCase
* Test folder creation
*
* @group failsontravis-phone
* @group failsonga-phone
*/
public function testFolderCreate()
{

4
tests/Browser/Settings/IdentitiesTest.php

@ -44,6 +44,7 @@ class IdentitiesTest extends \Tests\Browser\TestCase
* Test identity creation
*
* @group failsontravis-phone
* @group failsonga-phone
*/
public function testIdentityCreate()
{
@ -143,6 +144,7 @@ class IdentitiesTest extends \Tests\Browser\TestCase
*
* @depends testIdentityCreate
* @group failsontravis-phone
* @group failsonga-phone
*/
public function testIdentityDelete()
{
@ -180,6 +182,7 @@ class IdentitiesTest extends \Tests\Browser\TestCase
*
* @depends testIdentityDelete
* @group failsontravis-phone
* @group failsonga-phone
*/
public function testIdentityUpdate()
{
@ -226,6 +229,7 @@ class IdentitiesTest extends \Tests\Browser\TestCase
*
* @depends testIdentityUpdate
* @group failsontravis-phone
* @group failsonga-phone
*/
public function testIdentitiesInComposer()
{

4
tests/Browser/Settings/ResponsesTest.php

@ -44,6 +44,7 @@ class ResponsesTest extends \Tests\Browser\TestCase
* Test response creation
*
* @group failsontravis-phone
* @group failsonga-phone
*/
public function testResponseCreate()
{
@ -122,6 +123,7 @@ class ResponsesTest extends \Tests\Browser\TestCase
*
* @depends testResponseCreate
* @group failsontravis-phone
* @group failsonga-phone
*/
public function testResponseDelete()
{
@ -157,6 +159,7 @@ class ResponsesTest extends \Tests\Browser\TestCase
*
* @depends testResponseDelete
* @group failsontravis-phone
* @group failsonga-phone
*/
public function testResponsesInComposer()
{
@ -208,6 +211,7 @@ class ResponsesTest extends \Tests\Browser\TestCase
*
* @depends testResponsesInComposer
* @group failsontravis-phone
* @group failsonga-phone
*/
public function testResponseUpdate()
{

Loading…
Cancel
Save