Skip to content

Commit

Permalink
e2e: Fix issues with tests in CI (#45753)
Browse files Browse the repository at this point in the history
* Try running fewer threads

* trying some updates

* Try some updated packages

* Take back magellan so logging works

* update yarn
  • Loading branch information
bsessions85 authored Sep 19, 2020
1 parent d5381f2 commit c6ce401
Show file tree
Hide file tree
Showing 15 changed files with 196 additions and 151 deletions.
7 changes: 7 additions & 0 deletions test/e2e/.mocharc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
require:
- 'esm'
- 'test/mocha.env.js'
- 'mocha-steps'
file:
- 'lib/before.js'
- 'lib/mocha-hooks.js'
1 change: 0 additions & 1 deletion test/e2e/magellan-2fa.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"mocha_tests": [ "specs" ],
"mocha_opts": "test/mocha.opts",
"mocha_args": "-R spec-xunit-reporter",
"max_test_attempts": 3,
"max_workers": 3,
Expand Down
1 change: 0 additions & 1 deletion test/e2e/magellan-canary.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"mocha_tests": [ "specs" ],
"mocha_opts": "test/mocha.opts",
"mocha_args": "-R spec-xunit-reporter",
"max_test_attempts": 3,
"max_workers": 3,
Expand Down
1 change: 0 additions & 1 deletion test/e2e/magellan-i18n-nux.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"mocha_tests": [ "specs/wp-signup-spec.js" ],
"mocha_opts": "test/mocha.opts",
"mocha_args": "-R spec-xunit-reporter",
"max_test_attempts": 2,
"max_workers": 3,
Expand Down
1 change: 0 additions & 1 deletion test/e2e/magellan-i18n.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"mocha_tests": [ "specs-i18n/" ],
"mocha_opts": "test/mocha.opts",
"mocha_args": "-R spec-xunit-reporter",
"max_test_attempts": 1,
"max_workers": 1,
Expand Down
1 change: 0 additions & 1 deletion test/e2e/magellan-ie11-canary.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"mocha_tests": [ "specs/" ],
"mocha_opts": "test/mocha.opts",
"mocha_args": "-R spec-xunit-reporter",
"max_test_attempts": 6,
"max_workers": 1,
Expand Down
1 change: 0 additions & 1 deletion test/e2e/magellan-ie11.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"mocha_tests": [ "specs/" ],
"mocha_opts": "test/mocha.opts",
"mocha_args": "-R spec-xunit-reporter",
"max_test_attempts": 6,
"max_workers": 1,
Expand Down
1 change: 0 additions & 1 deletion test/e2e/magellan-jetpack-canary.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"mocha_tests": [ "specs-jetpack-calypso" ],
"mocha_opts": "test/mocha.opts",
"mocha_args": "-R spec-xunit-reporter",
"max_test_attempts": 2,
"max_workers": 3,
Expand Down
1 change: 0 additions & 1 deletion test/e2e/magellan-jetpack.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"mocha_tests": [ "specs", "specs-jetpack-calypso", "specs-blocks" ],
"mocha_opts": "test/mocha.opts",
"mocha_args": "-R spec-xunit-reporter",
"max_test_attempts": 3,
"max_workers": 3,
Expand Down
1 change: 0 additions & 1 deletion test/e2e/magellan-safari-canary.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"mocha_tests": [ "specs/" ],
"mocha_opts": "test/mocha.opts",
"mocha_args": "-R spec-xunit-reporter",
"max_test_attempts": 3,
"max_workers": 1,
Expand Down
1 change: 0 additions & 1 deletion test/e2e/magellan-woocommerce.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"mocha_tests": [ "specs-woocommerce" ],
"mocha_opts": "test/mocha.opts",
"mocha_args": "-R spec-xunit-reporter",
"max_test_attempts": 2,
"max_workers": 6,
Expand Down
1 change: 0 additions & 1 deletion test/e2e/magellan.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"mocha_tests": [ "specs" ],
"mocha_opts": "test/mocha.opts",
"mocha_args": "-R spec-xunit-reporter",
"max_test_attempts": 3,
"max_workers": 7,
Expand Down
8 changes: 4 additions & 4 deletions test/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
"junit-viewer": "^4.9.6",
"lodash": "^4.13.1",
"mailosaur": "^4.0.0",
"mocha": "^5.2.0",
"mocha-steps": "^1.1.0",
"mocha": "^8.1.3",
"mocha-steps": "^1.3.0",
"node-slack-upload": "^1.2.1",
"png-itxt": "^1.3.0",
"prettier": "npm:wp-prettier@2.1.1-beta-1",
Expand All @@ -60,8 +60,8 @@
"slack-notify": "^0.1.7",
"speakeasy": "^2.0.0",
"spec-xunit-reporter": "^0.0.1",
"testarmada-magellan": "^11.0.1",
"testarmada-magellan-local-executor": "^2.0.0",
"testarmada-magellan": "11.0.10",
"testarmada-magellan-local-executor": "^2.0.3",
"testarmada-magellan-mocha-plugin": "github:Automattic/magellan-mocha-plugin#b731cdf6f27a6fa6e45ddcba0b8741370b2df523",
"xml2json-command": "^0.0.3",
"xmpp.js": "^0.3.0",
Expand Down
5 changes: 0 additions & 5 deletions test/e2e/test/mocha.opts

This file was deleted.

Loading

0 comments on commit c6ce401

Please sign in to comment.