Created
February 4, 2019 19:36
-
-
Save johannessteu/2cd198b2cc54decddec59550fc80301e to your computer and use it in GitHub Desktop.
Failing e2e tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -eo pipefail | |
cd /home/circleci/app/Packages/Application/Neos.Neos.Ui && make test-e2e-saucelabs | |
yarn run testcafe "saucelabs:safari,saucelabs:chrome" Tests/IntegrationTests/* \ | |
--selector-timeout=1000 --assertion-timeout=30000 | |
yarn run v1.13.0 | |
$ /home/circleci/app/Packages/Application/Neos.Neos.Ui/node_modules/.bin/testcafe saucelabs:safari,saucelabs:chrome Tests/IntegrationTests/contentModule.js Tests/IntegrationTests/pageModel.js --selector-timeout=1000 --assertion-timeout=30000 | |
Running tests in: | |
- Safari 12.0.0 / Mac OS X 10.14.0 | |
(https://app.saucelabs.com/tests/0a1d4bed53f44bff93906eaf88a3dedf) | |
- Chrome 71.0.3578 / Windows 7.0.0 | |
(https://app.saucelabs.com/tests/c24a57479f7b4dd096d9784d3bb8e04d) | |
Content Module | |
- Navigate to some inner page and switch dimension | |
- Navigate to some inner page and switch dimension | |
- Switch back to original dimension | |
- Switch back to original dimension | |
✓ Switching dimensions | |
- Create a document node | |
- Create a document node | |
- Create another node inside it | |
- Create another node inside it | |
- Discard all nodes and hope to be redirected to root | |
These console errors were the cause of the failed test: [ 'Failed to discard Error: <!DOCTYPE html>\n\t\t\t<html>\n\t\t\t\t<head>\n\t\t\t\t\t<meta charset="UTF-8">\n\t\t\t\t\t<title>500 Internal Server Error</title>\n\t\t\t\t\t<style type="text/css">\n\t\t\t\t\t\tbody {\n\t\t\t\t\t\t\tfont-family: Helvetica, Arial, sans-serif;\n\t\t\t\t\t\t\tmargin: 50px;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\th1 {\n\t\t\t\t\t\t color: #00ADEE;\n\t\t\t\t\t\t\tfont-weight: normal;\n\t\t\t\t\t\t}\n\t\t\t\t\t</style>\n\t\t\t\t</head>\n\t\t\t\t<body>\n <h1>500 Internal Server Error</h1>\n <p>An internal error occurred.</p>\n \n\t\t\t\t</body>\n\t\t\t</html>' ] | |
- Discard all nodes and hope to be redirected to root | |
✖ Discarding: create multiple nodes nested within each other and then | |
discard them | |
1) The specified selector does not match any element in the DOM tree. | |
| Selector([function]) | |
> | .find('button') | |
| .withText('Discard all') | |
Browser: Chrome 71.0.3578 / Windows 7.0.0 | |
(https://app.saucelabs.com/tests/c24a57479f7b4dd096d9784d3bb8e04d) | |
28 |} | |
29 | | |
30 |async function discardAll(t) { | |
31 | await t | |
32 | .click(ReactSelector('PublishDropDown | |
ContextDropDownHeader')) | |
> 33 | .click(ReactSelector('PublishDropDown | |
ShallowDropDownContents').find('button').withText('Discard all')); | |
34 | const confirmButtonExists = await | |
Selector('#neos-DiscardDialog-Confirm').exists; | |
35 | if (confirmButtonExists) { | |
36 | await | |
t.click(Selector('#neos-DiscardDialog-Confirm')); | |
37 | } | |
38 | await waitForIframeLoading(t); | |
at click | |
(/home/circleci/app/Packages/Application/Neos.Neos.Ui/Tests/IntegrationTests/contentModule.js:33:10) | |
at discardAll | |
(/home/circleci/app/Packages/Application/Neos.Neos.Ui/Tests/IntegrationTests/contentModule.js:39:54) | |
at discardAll | |
(/home/circleci/app/Packages/Application/Neos.Neos.Ui/Tests/IntegrationTests/contentModule.js:109:11) | |
2) - Error in fixture.afterEach hook - | |
AssertionError: expected 'Failed to discard Error: <!DOCTYPE | |
html>\n\t\t\t<html>\n\t\t\t\t<head>\n\t\t\t\t\t<meta | |
charset="UTF-8">\n\t\t\t\t\t<title>500 Internal Server | |
Error</title>\n\t\t\t\t\t<style type="text/css">\n\t\t\t\t\t\tbody | |
{\n\t\t\t\t\t\t\tfont-family: Helvetica, Arial, | |
sans-serif;\n\t\t\t\t\t\t\tmargin: | |
50px;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\th1 {\n\t\t\t\t\t\t color: | |
#00ADEE;\n\t\t\t\t\t\t\tfont-weight: | |
normal;\n\t\t\t\t\t\t}\n\t\t\t\t\t</style>\n\t\t\t\t</head>\n\t\t\t\t<body>\n | |
<h1>500 Internal Server Error</h1>\n <p>An | |
internal error occurred.</p>\n | |
\n\t\t\t\t</body>\n\t\t\t</html>' to be falsy | |
Browser: Chrome 71.0.3578 / Windows 7.0.0 | |
(https://app.saucelabs.com/tests/c24a57479f7b4dd096d9784d3bb8e04d) | |
3 |export default async function () { | |
4 | const {error} = await t.getBrowserConsoleMessages(); | |
5 | if (error[0]) { | |
6 | console.log('These console errors were the cause of | |
the failed test:', error); | |
7 | } | |
> 8 | await t.expect(error[0]).notOk(); | |
9 |} | |
10 | | |
at notOk | |
(/home/circleci/app/Packages/Application/Neos.Neos.Ui/Tests/checkPropTypes.js:8:30) | |
- Create a document node | |
- Discard that node | |
These console errors were the cause of the failed test: [ 'Failed to discard Error: <!DOCTYPE html>\n\t\t\t<html>\n\t\t\t\t<head>\n\t\t\t\t\t<meta charset="UTF-8">\n\t\t\t\t\t<title>500 Internal Server Error</title>\n\t\t\t\t\t<style type="text/css">\n\t\t\t\t\t\tbody {\n\t\t\t\t\t\t\tfont-family: Helvetica, Arial, sans-serif;\n\t\t\t\t\t\t\tmargin: 50px;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\th1 {\n\t\t\t\t\t\t color: #00ADEE;\n\t\t\t\t\t\t\tfont-weight: normal;\n\t\t\t\t\t\t}\n\t\t\t\t\t</style>\n\t\t\t\t</head>\n\t\t\t\t<body>\n <h1>500 Internal Server Error</h1>\n <p>An internal error occurred.</p>\n \n\t\t\t\t</body>\n\t\t\t</html>' ] | |
- Create a document node | |
- Discard that node | |
- Navigate via the page tree | |
- Delete that page | |
- Discard page deletion | |
These console errors were the cause of the failed test: [ 'Could not update iFrame Url from within. Trying to set src attribute manually...' ] | |
- Create a content node | |
These console errors were the cause of the failed test: [ 'Failed to discard Error: <!DOCTYPE html>\n\t\t\t<html>\n\t\t\t\t<head>\n\t\t\t\t\t<meta charset="UTF-8">\n\t\t\t\t\t<title>500 Internal Server Error</title>\n\t\t\t\t\t<style type="text/css">\n\t\t\t\t\t\tbody {\n\t\t\t\t\t\t\tfont-family: Helvetica, Arial, sans-serif;\n\t\t\t\t\t\t\tmargin: 50px;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\th1 {\n\t\t\t\t\t\t color: #00ADEE;\n\t\t\t\t\t\t\tfont-weight: normal;\n\t\t\t\t\t\t}\n\t\t\t\t\t</style>\n\t\t\t\t</head>\n\t\t\t\t<body>\n <h1>500 Internal Server Error</h1>\n <p>An internal error occurred.</p>\n \n\t\t\t\t</body>\n\t\t\t</html>' ] | |
✖ Discarding: create a document node and then discard it | |
1) The specified selector does not match any element in the DOM tree. | |
| Selector([function]) | |
> | .find('button') | |
| .withText('Discard all') | |
Browser: Chrome 71.0.3578 / Windows 7.0.0 | |
(https://app.saucelabs.com/tests/c24a57479f7b4dd096d9784d3bb8e04d) | |
28 |} | |
29 | | |
30 |async function discardAll(t) { | |
31 | await t | |
32 | .click(ReactSelector('PublishDropDown | |
ContextDropDownHeader')) | |
> 33 | .click(ReactSelector('PublishDropDown | |
ShallowDropDownContents').find('button').withText('Discard all')); | |
34 | const confirmButtonExists = await | |
Selector('#neos-DiscardDialog-Confirm').exists; | |
35 | if (confirmButtonExists) { | |
36 | await | |
t.click(Selector('#neos-DiscardDialog-Confirm')); | |
37 | } | |
38 | await waitForIframeLoading(t); | |
at click | |
(/home/circleci/app/Packages/Application/Neos.Neos.Ui/Tests/IntegrationTests/contentModule.js:33:10) | |
at discardAll | |
(/home/circleci/app/Packages/Application/Neos.Neos.Ui/Tests/IntegrationTests/contentModule.js:39:54) | |
at discardAll | |
(/home/circleci/app/Packages/Application/Neos.Neos.Ui/Tests/IntegrationTests/contentModule.js:132:11) | |
2) - Error in fixture.afterEach hook - | |
AssertionError: expected 'Failed to discard Error: <!DOCTYPE | |
html>\n\t\t\t<html>\n\t\t\t\t<head>\n\t\t\t\t\t<meta | |
charset="UTF-8">\n\t\t\t\t\t<title>500 Internal Server | |
Error</title>\n\t\t\t\t\t<style type="text/css">\n\t\t\t\t\t\tbody | |
{\n\t\t\t\t\t\t\tfont-family: Helvetica, Arial, | |
sans-serif;\n\t\t\t\t\t\t\tmargin: | |
50px;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\th1 {\n\t\t\t\t\t\t color: | |
#00ADEE;\n\t\t\t\t\t\t\tfont-weight: | |
normal;\n\t\t\t\t\t\t}\n\t\t\t\t\t</style>\n\t\t\t\t</head>\n\t\t\t\t<body>\n | |
<h1>500 Internal Server Error</h1>\n <p>An | |
internal error occurred.</p>\n | |
\n\t\t\t\t</body>\n\t\t\t</html>' to be falsy | |
Browser: Chrome 71.0.3578 / Windows 7.0.0 | |
(https://app.saucelabs.com/tests/c24a57479f7b4dd096d9784d3bb8e04d) | |
3 |export default async function () { | |
4 | const {error} = await t.getBrowserConsoleMessages(); | |
5 | if (error[0]) { | |
6 | console.log('These console errors were the cause of | |
the failed test:', error); | |
7 | } | |
> 8 | await t.expect(error[0]).notOk(); | |
9 |} | |
10 | | |
at notOk | |
(/home/circleci/app/Packages/Application/Neos.Neos.Ui/Tests/checkPropTypes.js:8:30) | |
3) AssertionError: Discarded node gone from the tree: expected true to | |
be falsy | |
Browser: Safari 12.0.0 / Mac OS X 10.14.0 | |
(https://app.saucelabs.com/tests/0a1d4bed53f44bff93906eaf88a3dedf) | |
129 | })).gt(0, 'There are some unpublished nodes'); | |
130 | | |
131 | subSection('Discard that node'); | |
132 | await discardAll(t); | |
133 | await t | |
> 134 | | |
.expect(page.treeNode.withText(pageTitleToCreate).exists).notOk('Discarded | |
node gone from the tree') | |
135 | .expect(ReactSelector('Provider').getReact(({props}) | |
=> { | |
136 | const reduxState = props.store.getState(); | |
137 | return | |
reduxState.cr.workspaces.personalWorkspace.publishableNodes.length; | |
138 | })).eql(0, 'No unpublished nodes left'); | |
139 | await waitForIframeLoading(t); | |
at notOk | |
(/home/circleci/app/Packages/Application/Neos.Neos.Ui/Tests/IntegrationTests/contentModule.js:134:67) | |
4) - Error in fixture.afterEach hook - | |
AssertionError: expected 'Failed to discard Error: <!DOCTYPE | |
html>\n\t\t\t<html>\n\t\t\t\t<head>\n\t\t\t\t\t<meta | |
charset="UTF-8">\n\t\t\t\t\t<title>500 Internal Server | |
Error</title>\n\t\t\t\t\t<style type="text/css">\n\t\t\t\t\t\tbody | |
{\n\t\t\t\t\t\t\tfont-family: Helvetica, Arial, | |
sans-serif;\n\t\t\t\t\t\t\tmargin: | |
50px;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\th1 {\n\t\t\t\t\t\t color: | |
#00ADEE;\n\t\t\t\t\t\t\tfont-weight: | |
normal;\n\t\t\t\t\t\t}\n\t\t\t\t\t</style>\n\t\t\t\t</head>\n\t\t\t\t<body>\n | |
<h1>500 Internal Server Error</h1>\n <p>An | |
internal error occurred.</p>\n | |
\n\t\t\t\t</body>\n\t\t\t</html>' to be falsy | |
Browser: Safari 12.0.0 / Mac OS X 10.14.0 | |
(https://app.saucelabs.com/tests/0a1d4bed53f44bff93906eaf88a3dedf) | |
3 |export default async function () { | |
4 | const {error} = await t.getBrowserConsoleMessages(); | |
5 | if (error[0]) { | |
6 | console.log('These console errors were the cause of | |
the failed test:', error); | |
7 | } | |
> 8 | await t.expect(error[0]).notOk(); | |
9 |} | |
10 | | |
at notOk | |
(/home/circleci/app/Packages/Application/Neos.Neos.Ui/Tests/checkPropTypes.js:8:30) | |
- Discard that node | |
- Navigate via the page tree | |
- Delete that page | |
- Discard page deletion | |
These console errors were the cause of the failed test: [ 'Failed to discard Error: <!DOCTYPE html>\n\t\t\t<html>\n\t\t\t\t<head>\n\t\t\t\t\t<meta charset="UTF-8">\n\t\t\t\t\t<title>500 Internal Server Error</title>\n\t\t\t\t\t<style type="text/css">\n\t\t\t\t\t\tbody {\n\t\t\t\t\t\t\tfont-family: Helvetica, Arial, sans-serif;\n\t\t\t\t\t\t\tmargin: 50px;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\th1 {\n\t\t\t\t\t\t color: #00ADEE;\n\t\t\t\t\t\t\tfont-weight: normal;\n\t\t\t\t\t\t}\n\t\t\t\t\t</style>\n\t\t\t\t</head>\n\t\t\t\t<body>\n <h1>500 Internal Server Error</h1>\n <p>An internal error occurred.</p>\n \n\t\t\t\t</body>\n\t\t\t</html>' ] | |
- Delete this headline | |
✖ Discarding: delete a document node and then discard deletion | |
1) - Error in fixture.afterEach hook - | |
AssertionError: expected 'Could not update iFrame Url from within. | |
Trying to set src attribute manually...' to be falsy | |
Browser: Chrome 71.0.3578 / Windows 7.0.0 | |
(https://app.saucelabs.com/tests/c24a57479f7b4dd096d9784d3bb8e04d) | |
3 |export default async function () { | |
4 | const {error} = await t.getBrowserConsoleMessages(); | |
5 | if (error[0]) { | |
6 | console.log('These console errors were the cause of | |
the failed test:', error); | |
7 | } | |
> 8 | await t.expect(error[0]).notOk(); | |
9 |} | |
10 | | |
at notOk | |
(/home/circleci/app/Packages/Application/Neos.Neos.Ui/Tests/checkPropTypes.js:8:30) | |
2) The specified selector does not match any element in the DOM tree. | |
| Selector([function]) | |
| .find('button') | |
> | .withText('Discard all') | |
Browser: Safari 12.0.0 / Mac OS X 10.14.0 | |
(https://app.saucelabs.com/tests/0a1d4bed53f44bff93906eaf88a3dedf) | |
28 |} | |
29 | | |
30 |async function discardAll(t) { | |
31 | await t | |
32 | .click(ReactSelector('PublishDropDown | |
ContextDropDownHeader')) | |
> 33 | .click(ReactSelector('PublishDropDown | |
ShallowDropDownContents').find('button').withText('Discard all')); | |
34 | const confirmButtonExists = await | |
Selector('#neos-DiscardDialog-Confirm').exists; | |
35 | if (confirmButtonExists) { | |
36 | await | |
t.click(Selector('#neos-DiscardDialog-Confirm')); | |
37 | } | |
38 | await waitForIframeLoading(t); | |
at click | |
(/home/circleci/app/Packages/Application/Neos.Neos.Ui/Tests/IntegrationTests/contentModule.js:33:10) | |
at discardAll | |
(/home/circleci/app/Packages/Application/Neos.Neos.Ui/Tests/IntegrationTests/contentModule.js:39:54) | |
at discardAll | |
(/home/circleci/app/Packages/Application/Neos.Neos.Ui/Tests/IntegrationTests/contentModule.js:164:11) | |
3) - Error in fixture.afterEach hook - | |
AssertionError: expected 'Failed to discard Error: <!DOCTYPE | |
html>\n\t\t\t<html>\n\t\t\t\t<head>\n\t\t\t\t\t<meta | |
charset="UTF-8">\n\t\t\t\t\t<title>500 Internal Server | |
Error</title>\n\t\t\t\t\t<style type="text/css">\n\t\t\t\t\t\tbody | |
{\n\t\t\t\t\t\t\tfont-family: Helvetica, Arial, | |
sans-serif;\n\t\t\t\t\t\t\tmargin: | |
50px;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\th1 {\n\t\t\t\t\t\t color: | |
#00ADEE;\n\t\t\t\t\t\t\tfont-weight: | |
normal;\n\t\t\t\t\t\t}\n\t\t\t\t\t</style>\n\t\t\t\t</head>\n\t\t\t\t<body>\n | |
<h1>500 Internal Server Error</h1>\n <p>An | |
internal error occurred.</p>\n | |
\n\t\t\t\t</body>\n\t\t\t</html>' to be falsy | |
Browser: Safari 12.0.0 / Mac OS X 10.14.0 | |
(https://app.saucelabs.com/tests/0a1d4bed53f44bff93906eaf88a3dedf) | |
3 |export default async function () { | |
4 | const {error} = await t.getBrowserConsoleMessages(); | |
5 | if (error[0]) { | |
6 | console.log('These console errors were the cause of | |
the failed test:', error); | |
7 | } | |
> 8 | await t.expect(error[0]).notOk(); | |
9 |} | |
10 | | |
at notOk | |
(/home/circleci/app/Packages/Application/Neos.Neos.Ui/Tests/checkPropTypes.js:8:30) | |
- Discard page deletion | |
- Create a content node | |
- Discard that node | |
These console errors were the cause of the failed test: [ 'Failed to discard Error: <!DOCTYPE html>\n\t\t\t<html>\n\t\t\t\t<head>\n\t\t\t\t\t<meta charset="UTF-8">\n\t\t\t\t\t<title>500 Internal Server Error</title>\n\t\t\t\t\t<style type="text/css">\n\t\t\t\t\t\tbody {\n\t\t\t\t\t\t\tfont-family: Helvetica, Arial, sans-serif;\n\t\t\t\t\t\t\tmargin: 50px;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\th1 {\n\t\t\t\t\t\t color: #00ADEE;\n\t\t\t\t\t\t\tfont-weight: normal;\n\t\t\t\t\t\t}\n\t\t\t\t\t</style>\n\t\t\t\t</head>\n\t\t\t\t<body>\n <h1>500 Internal Server Error</h1>\n <p>An internal error occurred.</p>\n \n\t\t\t\t</body>\n\t\t\t</html>' ] | |
✖ Discarding: create a content node and then discard it | |
1) The specified selector does not match any element in the DOM tree. | |
| Selector([function]) | |
> | .find('button') | |
| .withText('Discard all') | |
Browser: Safari 12.0.0 / Mac OS X 10.14.0 | |
(https://app.saucelabs.com/tests/0a1d4bed53f44bff93906eaf88a3dedf) | |
28 |} | |
29 | | |
30 |async function discardAll(t) { | |
31 | await t | |
32 | .click(ReactSelector('PublishDropDown | |
ContextDropDownHeader')) | |
> 33 | .click(ReactSelector('PublishDropDown | |
ShallowDropDownContents').find('button').withText('Discard all')); | |
34 | const confirmButtonExists = await | |
Selector('#neos-DiscardDialog-Confirm').exists; | |
35 | if (confirmButtonExists) { | |
36 | await | |
t.click(Selector('#neos-DiscardDialog-Confirm')); | |
37 | } | |
38 | await waitForIframeLoading(t); | |
at click | |
(/home/circleci/app/Packages/Application/Neos.Neos.Ui/Tests/IntegrationTests/contentModule.js:33:10) | |
at discardAll | |
(/home/circleci/app/Packages/Application/Neos.Neos.Ui/Tests/IntegrationTests/contentModule.js:39:54) | |
at discardAll | |
(/home/circleci/app/Packages/Application/Neos.Neos.Ui/Tests/IntegrationTests/contentModule.js:190:11) | |
2) - Error in fixture.afterEach hook - | |
AssertionError: expected 'Failed to discard Error: <!DOCTYPE | |
html>\n\t\t\t<html>\n\t\t\t\t<head>\n\t\t\t\t\t<meta | |
charset="UTF-8">\n\t\t\t\t\t<title>500 Internal Server | |
Error</title>\n\t\t\t\t\t<style type="text/css">\n\t\t\t\t\t\tbody | |
{\n\t\t\t\t\t\t\tfont-family: Helvetica, Arial, | |
sans-serif;\n\t\t\t\t\t\t\tmargin: | |
50px;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\th1 {\n\t\t\t\t\t\t color: | |
#00ADEE;\n\t\t\t\t\t\t\tfont-weight: | |
normal;\n\t\t\t\t\t\t}\n\t\t\t\t\t</style>\n\t\t\t\t</head>\n\t\t\t\t<body>\n | |
<h1>500 Internal Server Error</h1>\n <p>An | |
internal error occurred.</p>\n | |
\n\t\t\t\t</body>\n\t\t\t</html>' to be falsy | |
Browser: Safari 12.0.0 / Mac OS X 10.14.0 | |
(https://app.saucelabs.com/tests/0a1d4bed53f44bff93906eaf88a3dedf) | |
3 |export default async function () { | |
4 | const {error} = await t.getBrowserConsoleMessages(); | |
5 | if (error[0]) { | |
6 | console.log('These console errors were the cause of | |
the failed test:', error); | |
7 | } | |
> 8 | await t.expect(error[0]).notOk(); | |
9 |} | |
10 | | |
at notOk | |
(/home/circleci/app/Packages/Application/Neos.Neos.Ui/Tests/checkPropTypes.js:8:30) | |
- Search the page tree | |
- Delete this headline | |
- Set the Shortcut filter | |
These console errors were the cause of the failed test: [ 'Failed to discard Error: <!DOCTYPE html>\n\t\t\t<html>\n\t\t\t\t<head>\n\t\t\t\t\t<meta charset="UTF-8">\n\t\t\t\t\t<title>500 Internal Server Error</title>\n\t\t\t\t\t<style type="text/css">\n\t\t\t\t\t\tbody {\n\t\t\t\t\t\t\tfont-family: Helvetica, Arial, sans-serif;\n\t\t\t\t\t\t\tmargin: 50px;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\th1 {\n\t\t\t\t\t\t color: #00ADEE;\n\t\t\t\t\t\t\tfont-weight: normal;\n\t\t\t\t\t\t}\n\t\t\t\t\t</style>\n\t\t\t\t</head>\n\t\t\t\t<body>\n <h1>500 Internal Server Error</h1>\n <p>An internal error occurred.</p>\n \n\t\t\t\t</body>\n\t\t\t</html>' ] | |
✖ Discarding: delete a content node and then discard deletion | |
1) The specified selector does not match any element in the DOM tree. | |
> | Selector('#neos-DeleteNodeModal-Confirm') | |
Browser: Safari 12.0.0 / Mac OS X 10.14.0 | |
(https://app.saucelabs.com/tests/0a1d4bed53f44bff93906eaf88a3dedf) | |
207 | subSection('Delete this headline'); | |
208 | await t | |
209 | | |
.click(Selector('#neos-ContentTree-ToggleContentTree')) | |
210 | .click(page.treeNode.withText(headlineToDelete)) | |
211 | | |
.click(Selector('#neos-ContentTree-DeleteSelectedNode')) | |
> 212 | .click(Selector('#neos-DeleteNodeModal-Confirm')); | |
213 | await waitForIframeLoading(t); | |
214 | await t | |
215 | | |
.expect(page.treeNode.withText(headlineToDelete).exists).notOk('Deleted | |
node gone from the tree') | |
216 | .switchToIframe('[name="neos-content-main"]') | |
217 | | |
.expect(Selector('.neos-inline-editable').withText(headlineToDelete).exists).notOk('New | |
headline gone from the page') | |
at click | |
(/home/circleci/app/Packages/Application/Neos.Neos.Ui/Tests/IntegrationTests/contentModule.js:212:10) | |
at test | |
(/home/circleci/app/Packages/Application/Neos.Neos.Ui/Tests/IntegrationTests/contentModule.js:204:1) | |
at markeredfn | |
(/home/circleci/app/Packages/Application/Neos.Neos.Ui/node_modules/testcafe/src/api/wrap-test-function.js:17:28) | |
at <anonymous> | |
(/home/circleci/app/Packages/Application/Neos.Neos.Ui/node_modules/testcafe/src/api/wrap-test-function.js:7:5) | |
at fn | |
(/home/circleci/app/Packages/Application/Neos.Neos.Ui/node_modules/testcafe/src/test-run/index.js:239:19) | |
at TestRun._executeTestFn | |
(/home/circleci/app/Packages/Application/Neos.Neos.Ui/node_modules/testcafe/src/test-run/index.js:235:38) | |
at _executeTestFn | |
(/home/circleci/app/Packages/Application/Neos.Neos.Ui/node_modules/testcafe/src/test-run/index.js:284:24) | |
2) - Error in fixture.afterEach hook - | |
AssertionError: expected 'Failed to discard Error: <!DOCTYPE | |
html>\n\t\t\t<html>\n\t\t\t\t<head>\n\t\t\t\t\t<meta | |
charset="UTF-8">\n\t\t\t\t\t<title>500 Internal Server | |
Error</title>\n\t\t\t\t\t<style type="text/css">\n\t\t\t\t\t\tbody | |
{\n\t\t\t\t\t\t\tfont-family: Helvetica, Arial, | |
sans-serif;\n\t\t\t\t\t\t\tmargin: | |
50px;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\th1 {\n\t\t\t\t\t\t color: | |
#00ADEE;\n\t\t\t\t\t\t\tfont-weight: | |
normal;\n\t\t\t\t\t\t}\n\t\t\t\t\t</style>\n\t\t\t\t</head>\n\t\t\t\t<body>\n | |
<h1>500 Internal Server Error</h1>\n <p>An | |
internal error occurred.</p>\n | |
\n\t\t\t\t</body>\n\t\t\t</html>' to be falsy | |
Browser: Safari 12.0.0 / Mac OS X 10.14.0 | |
(https://app.saucelabs.com/tests/0a1d4bed53f44bff93906eaf88a3dedf) | |
3 |export default async function () { | |
4 | const {error} = await t.getBrowserConsoleMessages(); | |
5 | if (error[0]) { | |
6 | console.log('These console errors were the cause of | |
the failed test:', error); | |
7 | } | |
> 8 | await t.expect(error[0]).notOk(); | |
9 |} | |
10 | | |
at notOk | |
(/home/circleci/app/Packages/Application/Neos.Neos.Ui/Tests/checkPropTypes.js:8:30) | |
- Clear search | |
- Clear filter | |
- Search the page tree | |
- Set the Shortcut filter | |
- LeftSideBar | |
- Clear search | |
- Clear filter | |
- RightSideBar | |
✓ PageTree search and filter | |
- LeftSideBar | |
- RightSideBar | |
✓ Can toggle sidebars | |
- Create a headline node | |
✓ Can create a new page | |
- Type something inside of it | |
- Create a link to node | |
These console errors were the cause of the failed test: [ 'Failed to discard Error: <!DOCTYPE html>\n\t\t\t<html>\n\t\t\t\t<head>\n\t\t\t\t\t<meta charset="UTF-8">\n\t\t\t\t\t<title>500 Internal Server Error</title>\n\t\t\t\t\t<style type="text/css">\n\t\t\t\t\t\tbody {\n\t\t\t\t\t\t\tfont-family: Helvetica, Arial, sans-serif;\n\t\t\t\t\t\t\tmargin: 50px;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\th1 {\n\t\t\t\t\t\t color: #00ADEE;\n\t\t\t\t\t\t\tfont-weight: normal;\n\t\t\t\t\t\t}\n\t\t\t\t\t</style>\n\t\t\t\t</head>\n\t\t\t\t<body>\n <h1>500 Internal Server Error</h1>\n <p>An internal error occurred.</p>\n \n\t\t\t\t</body>\n\t\t\t</html>' ] | |
- Create a headline node | |
- Type something inside of it | |
- Create a link to node | |
- Rename home page via inspector | |
✖ Can create content node from inside InlineUI | |
1) The specified selector does not match any element in the DOM tree. | |
> | Selector([function]) | |
Browser: Chrome 71.0.3578 / Windows 7.0.0 | |
(https://app.saucelabs.com/tests/c24a57479f7b4dd096d9784d3bb8e04d) | |
327 | subSection('Create a link to node'); | |
328 | await t | |
329 | .doubleClick('.neos-nodetypes-headline:nth-child(2) | |
h1') | |
330 | .switchToMainWindow() | |
331 | .click(ReactSelector('EditorToolbar LinkButton')) | |
> 332 | .typeText(ReactSelector('EditorToolbar LinkButton | |
TextInput'), 'down') | |
333 | .click(ReactSelector('EditorToolbar NodeOption')) | |
334 | .switchToIframe('[name="neos-content-main"]') | |
335 | | |
.expect(Selector('.neos-nodetypes-headline:nth-child(2) h1 | |
a').withAttribute('href').exists).ok('Newly inserted link exists') | |
336 | .switchToMainWindow(); | |
337 |}); | |
at typeText | |
(/home/circleci/app/Packages/Application/Neos.Neos.Ui/Tests/IntegrationTests/contentModule.js:332:10) | |
2) - Error in fixture.afterEach hook - | |
AssertionError: expected 'Failed to discard Error: <!DOCTYPE | |
html>\n\t\t\t<html>\n\t\t\t\t<head>\n\t\t\t\t\t<meta | |
charset="UTF-8">\n\t\t\t\t\t<title>500 Internal Server | |
Error</title>\n\t\t\t\t\t<style type="text/css">\n\t\t\t\t\t\tbody | |
{\n\t\t\t\t\t\t\tfont-family: Helvetica, Arial, | |
sans-serif;\n\t\t\t\t\t\t\tmargin: | |
50px;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\th1 {\n\t\t\t\t\t\t color: | |
#00ADEE;\n\t\t\t\t\t\t\tfont-weight: | |
normal;\n\t\t\t\t\t\t}\n\t\t\t\t\t</style>\n\t\t\t\t</head>\n\t\t\t\t<body>\n | |
<h1>500 Internal Server Error</h1>\n <p>An | |
internal error occurred.</p>\n | |
\n\t\t\t\t</body>\n\t\t\t</html>' to be falsy | |
Browser: Chrome 71.0.3578 / Windows 7.0.0 | |
(https://app.saucelabs.com/tests/c24a57479f7b4dd096d9784d3bb8e04d) | |
3 |export default async function () { | |
4 | const {error} = await t.getBrowserConsoleMessages(); | |
5 | if (error[0]) { | |
6 | console.log('These console errors were the cause of | |
the failed test:', error); | |
7 | } | |
> 8 | await t.expect(error[0]).notOk(); | |
9 |} | |
10 | | |
at notOk | |
(/home/circleci/app/Packages/Application/Neos.Neos.Ui/Tests/checkPropTypes.js:8:30) | |
3) The specified selector does not match any element in the DOM tree. | |
> | Selector([function]) | |
Browser: Safari 12.0.0 / Mac OS X 10.14.0 | |
(https://app.saucelabs.com/tests/0a1d4bed53f44bff93906eaf88a3dedf) | |
327 | subSection('Create a link to node'); | |
328 | await t | |
329 | .doubleClick('.neos-nodetypes-headline:nth-child(2) | |
h1') | |
330 | .switchToMainWindow() | |
331 | .click(ReactSelector('EditorToolbar LinkButton')) | |
> 332 | .typeText(ReactSelector('EditorToolbar LinkButton | |
TextInput'), 'down') | |
333 | .click(ReactSelector('EditorToolbar NodeOption')) | |
334 | .switchToIframe('[name="neos-content-main"]') | |
335 | | |
.expect(Selector('.neos-nodetypes-headline:nth-child(2) h1 | |
a').withAttribute('href').exists).ok('Newly inserted link exists') | |
336 | .switchToMainWindow(); | |
337 |}); | |
at typeText | |
(/home/circleci/app/Packages/Application/Neos.Neos.Ui/Tests/IntegrationTests/contentModule.js:332:10) | |
- Test unapplied changes dialog - resume | |
- Test unapplied changes dialog - discard | |
- Rename home page via inspector | |
- Test unapplied changes dialog - apply | |
- Test unapplied changes dialog - resume | |
- Test unapplied changes dialog - discard | |
- Test unapplied changes dialog - apply | |
✓ Can edit the page title via inspector | |
- Create Image node | |
- Create Image node | |
- Select image from media library | |
- Select image from media library | |
- Toggle caption | |
- Toggle caption | |
These console errors were the cause of the failed test: [ 'Failed to discard Error: <!DOCTYPE html>\n\t\t\t<html>\n\t\t\t\t<head>\n\t\t\t\t\t<meta charset="UTF-8">\n\t\t\t\t\t<title>500 Internal Server Error</title>\n\t\t\t\t\t<style type="text/css">\n\t\t\t\t\t\tbody {\n\t\t\t\t\t\t\tfont-family: Helvetica, Arial, sans-serif;\n\t\t\t\t\t\t\tmargin: 50px;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\th1 {\n\t\t\t\t\t\t color: #00ADEE;\n\t\t\t\t\t\t\tfont-weight: normal;\n\t\t\t\t\t\t}\n\t\t\t\t\t</style>\n\t\t\t\t</head>\n\t\t\t\t<body>\n <h1>500 Internal Server Error</h1>\n <p>An internal error occurred.</p>\n \n\t\t\t\t</body>\n\t\t\t</html>' ] | |
✖ Create an Image node from ContentTree | |
1) - Error in fixture.afterEach hook - | |
AssertionError: expected 'Failed to discard Error: <!DOCTYPE | |
html>\n\t\t\t<html>\n\t\t\t\t<head>\n\t\t\t\t\t<meta | |
charset="UTF-8">\n\t\t\t\t\t<title>500 Internal Server | |
Error</title>\n\t\t\t\t\t<style type="text/css">\n\t\t\t\t\t\tbody | |
{\n\t\t\t\t\t\t\tfont-family: Helvetica, Arial, | |
sans-serif;\n\t\t\t\t\t\t\tmargin: | |
50px;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\th1 {\n\t\t\t\t\t\t color: | |
#00ADEE;\n\t\t\t\t\t\t\tfont-weight: | |
normal;\n\t\t\t\t\t\t}\n\t\t\t\t\t</style>\n\t\t\t\t</head>\n\t\t\t\t<body>\n | |
<h1>500 Internal Server Error</h1>\n <p>An | |
internal error occurred.</p>\n | |
\n\t\t\t\t</body>\n\t\t\t</html>' to be falsy | |
Browser: Safari 12.0.0 / Mac OS X 10.14.0 | |
(https://app.saucelabs.com/tests/0a1d4bed53f44bff93906eaf88a3dedf) | |
3 |export default async function () { | |
4 | const {error} = await t.getBrowserConsoleMessages(); | |
5 | if (error[0]) { | |
6 | console.log('These console errors were the cause of | |
the failed test:', error); | |
7 | } | |
> 8 | await t.expect(error[0]).notOk(); | |
9 |} | |
10 | | |
at notOk | |
(/home/circleci/app/Packages/Application/Neos.Neos.Ui/Tests/checkPropTypes.js:8:30) | |
These console errors were the cause of the failed test: [ 'Failed to discard Error: <!DOCTYPE html>\n\t\t\t<html>\n\t\t\t\t<head>\n\t\t\t\t\t<meta charset="UTF-8">\n\t\t\t\t\t<title>500 Internal Server Error</title>\n\t\t\t\t\t<style type="text/css">\n\t\t\t\t\t\tbody {\n\t\t\t\t\t\t\tfont-family: Helvetica, Arial, sans-serif;\n\t\t\t\t\t\t\tmargin: 50px;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\th1 {\n\t\t\t\t\t\t color: #00ADEE;\n\t\t\t\t\t\t\tfont-weight: normal;\n\t\t\t\t\t\t}\n\t\t\t\t\t</style>\n\t\t\t\t</head>\n\t\t\t\t<body>\n <h1>500 Internal Server Error</h1>\n <p>An internal error occurred.</p>\n \n\t\t\t\t</body>\n\t\t\t</html>' ] | |
✖ Can crop an image | |
1) - Error in fixture.afterEach hook - | |
AssertionError: expected 'Failed to discard Error: <!DOCTYPE | |
html>\n\t\t\t<html>\n\t\t\t\t<head>\n\t\t\t\t\t<meta | |
charset="UTF-8">\n\t\t\t\t\t<title>500 Internal Server | |
Error</title>\n\t\t\t\t\t<style type="text/css">\n\t\t\t\t\t\tbody | |
{\n\t\t\t\t\t\t\tfont-family: Helvetica, Arial, | |
sans-serif;\n\t\t\t\t\t\t\tmargin: | |
50px;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\th1 {\n\t\t\t\t\t\t color: | |
#00ADEE;\n\t\t\t\t\t\t\tfont-weight: | |
normal;\n\t\t\t\t\t\t}\n\t\t\t\t\t</style>\n\t\t\t\t</head>\n\t\t\t\t<body>\n | |
<h1>500 Internal Server Error</h1>\n <p>An | |
internal error occurred.</p>\n | |
\n\t\t\t\t</body>\n\t\t\t</html>' to be falsy | |
Browser: Chrome 71.0.3578 / Windows 7.0.0 | |
(https://app.saucelabs.com/tests/c24a57479f7b4dd096d9784d3bb8e04d) | |
3 |export default async function () { | |
4 | const {error} = await t.getBrowserConsoleMessages(); | |
5 | if (error[0]) { | |
6 | console.log('These console errors were the cause of | |
the failed test:', error); | |
7 | } | |
> 8 | await t.expect(error[0]).notOk(); | |
9 |} | |
10 | | |
at notOk | |
(/home/circleci/app/Packages/Application/Neos.Neos.Ui/Tests/checkPropTypes.js:8:30) | |
8/13 failed (5m 14s) | |
error Command failed with exit code 8. | |
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. | |
Makefile:112: recipe for target 'test-e2e-saucelabs' failed | |
make: *** [test-e2e-saucelabs] Error 1 | |
Exited with code 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment