summaryrefslogtreecommitdiffstats
path: root/cypress_test/integration_tests/desktop/writer/copy_paste_spec.js
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2020-11-13 09:40:27 +0100
committerTamás Zolnai <zolnaitamas2000@gmail.com>2020-11-13 11:57:23 +0100
commit2aa37cbaf44bbdcb3ef5e7cb32fd320401d25765 (patch)
treebe337dabc95c6709bebd13cb78380ab4e14e967a /cypress_test/integration_tests/desktop/writer/copy_paste_spec.js
parentcypress: NC: avoid hard coding locale indicator in number formatting tests. (diff)
downloadonline-2aa37cbaf44bbdcb3ef5e7cb32fd320401d25765.tar.gz
online-2aa37cbaf44bbdcb3ef5e7cb32fd320401d25765.zip
cypress: do not run afterAll method in case of failure.
After a test failure, it's common, that the afterAll method also fails which covers the right error message and also makes the following tests to be ignored. Change-Id: I5c1bbc5dd8b1b48dd2a8f1fc20a8ca3b8ecd8462 Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'cypress_test/integration_tests/desktop/writer/copy_paste_spec.js')
-rw-r--r--cypress_test/integration_tests/desktop/writer/copy_paste_spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/cypress_test/integration_tests/desktop/writer/copy_paste_spec.js b/cypress_test/integration_tests/desktop/writer/copy_paste_spec.js
index 33970653eb..3fefa1fa89 100644
--- a/cypress_test/integration_tests/desktop/writer/copy_paste_spec.js
+++ b/cypress_test/integration_tests/desktop/writer/copy_paste_spec.js
@@ -10,7 +10,7 @@ describe('Clipboard operations.', function() {
});
afterEach(function() {
- helper.afterAll(testFileName);
+ helper.afterAll(testFileName, this.currentTest.state);
});
it('Copy and Paste text.', function() {