Commit 312cb8d
Improve Cypress teardown (#7745)
* fix(cypress): adjust task timeout and enhance logging for teardown process
* Apply suggestion from @yanthomasdev
Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
* fix(cypress): enhance logging and improve API request timeouts in gitGateway and setup tasks
* fix(cypress): enhance logging for media upload and test setup processes
* fix(cypress): adjust timeout settings and refine clock handling in tests
* fix(cypress): remove unnecessary logging from uploadMediaFile and beforeEach hooks
* fix(cypress): remove unnecessary logging, fix format in media library and spec utils
* fix(cypress): refactor API request handling and enhance logging in teardown processes
* fix(cypress): streamline API calls by combining fetch functions
* fix(cypress): increase retry delay in waitForDeploys function and improve error message
* fix(cypress): optimize element selection by using aliases
* fix(cypress): enhance logging for better traceability during tests and setup
* fix(cypress): enhance logging in test lifecycle hooks and improve error handling
* fix(cypress): improve logging during media file upload and enhance error handling in afterEach
* fix(cypress): streamline logging in media library and login functions for improved clarity
* fix(cypress): reduce logging in beforeEach and remove unnecessary log tasks
* fix(gitGateway): make fetchWithTimeout handle full URLs, remove wrapper functions
* fix(cypress): enhance logging in media library tests and utility functions for better traceability
---------
Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>1 parent d2a5726 commit 312cb8d
File tree
9 files changed
+179
-134
lines changed- .github/workflows
- cypress
- e2e
- common
- plugins
- support
- utils
9 files changed
+179
-134
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | 11 | | |
14 | 12 | | |
15 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
106 | 110 | | |
107 | 111 | | |
108 | 112 | | |
| 113 | + | |
109 | 114 | | |
| 115 | + | |
110 | 116 | | |
| 117 | + | |
111 | 118 | | |
112 | 119 | | |
| 120 | + | |
113 | 121 | | |
114 | 122 | | |
115 | 123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
3 | 4 | | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
| 8 | + | |
6 | 9 | | |
7 | | - | |
| 10 | + | |
8 | 11 | | |
9 | | - | |
| 12 | + | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
| 17 | + | |
| 18 | + | |
13 | 19 | | |
14 | | - | |
| 20 | + | |
15 | 21 | | |
16 | | - | |
| 22 | + | |
17 | 23 | | |
18 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
19 | 30 | | |
20 | 31 | | |
21 | 32 | | |
22 | 33 | | |
23 | 34 | | |
| 35 | + | |
| 36 | + | |
24 | 37 | | |
25 | 38 | | |
26 | 39 | | |
27 | 40 | | |
28 | | - | |
29 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
30 | 47 | | |
31 | 48 | | |
32 | | - | |
33 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
34 | 56 | | |
35 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
36 | 61 | | |
37 | 62 | | |
38 | 63 | | |
| |||
51 | 76 | | |
52 | 77 | | |
53 | 78 | | |
| 79 | + | |
54 | 80 | | |
55 | 81 | | |
56 | 82 | | |
57 | 83 | | |
58 | | - | |
| 84 | + | |
59 | 85 | | |
60 | | - | |
| 86 | + | |
61 | 87 | | |
62 | 88 | | |
63 | 89 | | |
64 | 90 | | |
65 | | - | |
| 91 | + | |
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| 18 | + | |
16 | 19 | | |
| 20 | + | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
| 24 | + | |
20 | 25 | | |
| 26 | + | |
21 | 27 | | |
22 | 28 | | |
23 | 29 | | |
| 30 | + | |
24 | 31 | | |
| 32 | + | |
25 | 33 | | |
26 | 34 | | |
| 35 | + | |
27 | 36 | | |
| 37 | + | |
28 | 38 | | |
0 commit comments