@scm-manager/e2e-tests 2.37.2-20220611-074043 → 2.37.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,16 +1,16 @@
1
- @scm-manager/e2e-tests:ci: cache hit, replaying output 41684d8ce3045c52
1
+ @scm-manager/e2e-tests:ci: cache hit, replaying output 05be1b93183f23b3
2
2
  @scm-manager/e2e-tests:ci: $ integration-test-runner run -u scmadmin -p scmadmin -O ../build/target/ -d ./
3
- @scm-manager/e2e-tests:ci: [1657523606552] INFO (@scm-manager/integration-test-runner/8179 on c7e9ad4f8e6a): Running cypress ...
3
+ @scm-manager/e2e-tests:ci: [1657701310533] INFO (@scm-manager/integration-test-runner/8130 on 42e75ae4a6c7): Running cypress ...
4
4
  @scm-manager/e2e-tests:ci: It looks like this is your first time using Cypress: 9.5.1
5
5
  @scm-manager/e2e-tests:ci:
6
6
  @scm-manager/e2e-tests:ci: [STARTED] Task without title.
7
7
  @scm-manager/e2e-tests:ci: [SUCCESS] Task without title.
8
8
  @scm-manager/e2e-tests:ci:
9
9
  @scm-manager/e2e-tests:ci: Opening Cypress...
10
- @scm-manager/e2e-tests:ci: [8355:0711/071333.417451:ERROR:bus.cc(392)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
11
- @scm-manager/e2e-tests:ci: [8355:0711/071333.419555:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
12
- @scm-manager/e2e-tests:ci: [8355:0711/071333.419595:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
13
- @scm-manager/e2e-tests:ci: [8512:0711/071333.450852:ERROR:gpu_init.cc(453)] Passthrough is not supported, GL is swiftshader, ANGLE is
10
+ @scm-manager/e2e-tests:ci: [8304:0713/083515.388308:ERROR:bus.cc(392)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
11
+ @scm-manager/e2e-tests:ci: [8304:0713/083515.390274:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
12
+ @scm-manager/e2e-tests:ci: [8304:0713/083515.390325:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
13
+ @scm-manager/e2e-tests:ci: [8461:0713/083515.416562:ERROR:gpu_init.cc(453)] Passthrough is not supported, GL is swiftshader, ANGLE is
14
14
  @scm-manager/e2e-tests:ci:
15
15
  @scm-manager/e2e-tests:ci: tput: No value for $TERM and no -T specified
16
16
  @scm-manager/e2e-tests:ci: ====================================================================================================
@@ -20,18 +20,18 @@
20
20
  @scm-manager/e2e-tests:ci:  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
21
21
  @scm-manager/e2e-tests:ci:  │ Cypress: 9.5.1 │
22
22
  @scm-manager/e2e-tests:ci:  │ Browser: Electron 94 (headless) │
23
- @scm-manager/e2e-tests:ci:  │ Node Version: v16.14.2 (/tmp/workspace/nager-github_scm-manager_develop/scm-it/.gradle/ │
23
+ @scm-manager/e2e-tests:ci:  │ Node Version: v16.14.2 (/tmp/workspace/ithub_scm-manager_release_2.37.2/scm-it/.gradle/ │
24
24
  @scm-manager/e2e-tests:ci:  │ nodejs/node-v16.14.2-linux-x64/bin/node) │
25
- @scm-manager/e2e-tests:ci:  │ Specs: 5 found (anonymous_mode_disabled_spec.ts, anonymous_mode_full_spec.ts, anonymo │
26
- @scm-manager/e2e-tests:ci:  │ us_mode_protocol_only_spec.ts, create_user_spec.ts, repository_code_filesearch │
27
- @scm-manager/e2e-tests:ci:  │ _spec.ts) │
25
+ @scm-manager/e2e-tests:ci:  │ Specs: 6 found (anonymous_mode_disabled_spec.ts, anonymous_mode_full_spec.ts, anonymo │
26
+ @scm-manager/e2e-tests:ci:  │ us_mode_protocol_only_spec.ts, create_user_spec.ts, edit_user_spec.ts, reposit │
27
+ @scm-manager/e2e-tests:ci:  │ ory_code_filesearch_spec.ts) │
28
28
  @scm-manager/e2e-tests:ci:  └────────────────────────────────────────────────────────────────────────────────────────────────┘
29
29
  @scm-manager/e2e-tests:ci:
30
30
  @scm-manager/e2e-tests:ci:
31
31
  @scm-manager/e2e-tests:ci: ────────────────────────────────────────────────────────────────────────────────────────────────────
32
32
  @scm-manager/e2e-tests:ci:
33
- @scm-manager/e2e-tests:ci: Running: anonymous_mode_disabled_spec.ts (1 of 5)
34
- @scm-manager/e2e-tests:ci: [8355:0711/071335.893627:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
33
+ @scm-manager/e2e-tests:ci: Running: anonymous_mode_disabled_spec.ts (1 of 6)
34
+ @scm-manager/e2e-tests:ci: [8304:0713/083517.056343:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
35
35
  @scm-manager/e2e-tests:ci:
36
36
  @scm-manager/e2e-tests:ci:  (Results)
37
37
  @scm-manager/e2e-tests:ci:
@@ -50,8 +50,8 @@
50
50
  @scm-manager/e2e-tests:ci:
51
51
  @scm-manager/e2e-tests:ci: ────────────────────────────────────────────────────────────────────────────────────────────────────
52
52
  @scm-manager/e2e-tests:ci:
53
- @scm-manager/e2e-tests:ci: Running: anonymous_mode_full_spec.ts (2 of 5)
54
- @scm-manager/e2e-tests:ci: [8355:0711/071347.787143:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
53
+ @scm-manager/e2e-tests:ci: Running: anonymous_mode_full_spec.ts (2 of 6)
54
+ @scm-manager/e2e-tests:ci: [8304:0713/083528.080090:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
55
55
  @scm-manager/e2e-tests:ci:
56
56
  @scm-manager/e2e-tests:ci:  (Results)
57
57
  @scm-manager/e2e-tests:ci:
@@ -63,15 +63,15 @@
63
63
  @scm-manager/e2e-tests:ci:  │ Skipped: 0 │
64
64
  @scm-manager/e2e-tests:ci:  │ Screenshots: 0 │
65
65
  @scm-manager/e2e-tests:ci:  │ Video: true │
66
- @scm-manager/e2e-tests:ci:  │ Duration: 11 seconds │
66
+ @scm-manager/e2e-tests:ci:  │ Duration: 9 seconds │
67
67
  @scm-manager/e2e-tests:ci:  │ Spec Ran: anonymous_mode_full_spec.ts │
68
68
  @scm-manager/e2e-tests:ci:  └────────────────────────────────────────────────────────────────────────────────────────────────┘
69
69
  @scm-manager/e2e-tests:ci:
70
70
  @scm-manager/e2e-tests:ci:
71
71
  @scm-manager/e2e-tests:ci: ────────────────────────────────────────────────────────────────────────────────────────────────────
72
72
  @scm-manager/e2e-tests:ci:
73
- @scm-manager/e2e-tests:ci: Running: anonymous_mode_protocol_only_spec.ts (3 of 5)
74
- @scm-manager/e2e-tests:ci: [8355:0711/071401.893935:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
73
+ @scm-manager/e2e-tests:ci: Running: anonymous_mode_protocol_only_spec.ts (3 of 6)
74
+ @scm-manager/e2e-tests:ci: [8304:0713/083540.464851:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
75
75
  @scm-manager/e2e-tests:ci:
76
76
  @scm-manager/e2e-tests:ci:  (Results)
77
77
  @scm-manager/e2e-tests:ci:
@@ -90,8 +90,8 @@
90
90
  @scm-manager/e2e-tests:ci:
91
91
  @scm-manager/e2e-tests:ci: ────────────────────────────────────────────────────────────────────────────────────────────────────
92
92
  @scm-manager/e2e-tests:ci:
93
- @scm-manager/e2e-tests:ci: Running: create_user_spec.ts (4 of 5)
94
- @scm-manager/e2e-tests:ci: [8355:0711/071408.189517:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
93
+ @scm-manager/e2e-tests:ci: Running: create_user_spec.ts (4 of 6)
94
+ @scm-manager/e2e-tests:ci: [8304:0713/083546.824338:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
95
95
  @scm-manager/e2e-tests:ci:
96
96
  @scm-manager/e2e-tests:ci:  (Results)
97
97
  @scm-manager/e2e-tests:ci:
@@ -110,8 +110,8 @@
110
110
  @scm-manager/e2e-tests:ci:
111
111
  @scm-manager/e2e-tests:ci: ────────────────────────────────────────────────────────────────────────────────────────────────────
112
112
  @scm-manager/e2e-tests:ci:
113
- @scm-manager/e2e-tests:ci: Running: repository_code_filesearch_spec.ts (5 of 5)
114
- @scm-manager/e2e-tests:ci: [8355:0711/071418.255539:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
113
+ @scm-manager/e2e-tests:ci: Running: edit_user_spec.ts (5 of 6)
114
+ @scm-manager/e2e-tests:ci: [8304:0713/083556.310608:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
115
115
  @scm-manager/e2e-tests:ci:
116
116
  @scm-manager/e2e-tests:ci:  (Results)
117
117
  @scm-manager/e2e-tests:ci:
@@ -123,29 +123,51 @@
123
123
  @scm-manager/e2e-tests:ci:  │ Skipped: 0 │
124
124
  @scm-manager/e2e-tests:ci:  │ Screenshots: 0 │
125
125
  @scm-manager/e2e-tests:ci:  │ Video: true │
126
- @scm-manager/e2e-tests:ci:  │ Duration: 16 seconds │
126
+ @scm-manager/e2e-tests:ci:  │ Duration: 6 seconds │
127
+ @scm-manager/e2e-tests:ci:  │ Spec Ran: edit_user_spec.ts │
128
+ @scm-manager/e2e-tests:ci:  └────────────────────────────────────────────────────────────────────────────────────────────────┘
129
+ @scm-manager/e2e-tests:ci:
130
+ @scm-manager/e2e-tests:ci:
131
+ @scm-manager/e2e-tests:ci: ────────────────────────────────────────────────────────────────────────────────────────────────────
132
+ @scm-manager/e2e-tests:ci:
133
+ @scm-manager/e2e-tests:ci: Running: repository_code_filesearch_spec.ts (6 of 6)
134
+ @scm-manager/e2e-tests:ci: [8304:0713/083606.219576:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
135
+ @scm-manager/e2e-tests:ci:
136
+ @scm-manager/e2e-tests:ci:  (Results)
137
+ @scm-manager/e2e-tests:ci:
138
+ @scm-manager/e2e-tests:ci:  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
139
+ @scm-manager/e2e-tests:ci:  │ Tests: 1 │
140
+ @scm-manager/e2e-tests:ci:  │ Passing: 1 │
141
+ @scm-manager/e2e-tests:ci:  │ Failing: 0 │
142
+ @scm-manager/e2e-tests:ci:  │ Pending: 0 │
143
+ @scm-manager/e2e-tests:ci:  │ Skipped: 0 │
144
+ @scm-manager/e2e-tests:ci:  │ Screenshots: 0 │
145
+ @scm-manager/e2e-tests:ci:  │ Video: true │
146
+ @scm-manager/e2e-tests:ci:  │ Duration: 14 seconds │
127
147
  @scm-manager/e2e-tests:ci:  │ Spec Ran: repository_code_filesearch_spec.ts │
128
148
  @scm-manager/e2e-tests:ci:  └────────────────────────────────────────────────────────────────────────────────────────────────┘
129
149
  @scm-manager/e2e-tests:ci:
130
150
  @scm-manager/e2e-tests:ci:
131
- @scm-manager/e2e-tests:ci: tput: No value for $TERM and no -T specified
132
151
  @scm-manager/e2e-tests:ci: ====================================================================================================
133
152
  @scm-manager/e2e-tests:ci:
134
153
  @scm-manager/e2e-tests:ci:  (Run Finished)
154
+ @scm-manager/e2e-tests:ci: tput: No value for $TERM and no -T specified
135
155
  @scm-manager/e2e-tests:ci:
136
156
  @scm-manager/e2e-tests:ci:
137
157
  @scm-manager/e2e-tests:ci:   Spec Tests Passing Failing Pending Skipped  
138
158
  @scm-manager/e2e-tests:ci:  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
139
159
  @scm-manager/e2e-tests:ci:  │ ✔ anonymous_mode_disabled_spec.ts 00:07 2 2 - - - │
140
160
  @scm-manager/e2e-tests:ci:  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
141
- @scm-manager/e2e-tests:ci:  │ ✔ anonymous_mode_full_spec.ts 00:11 5 5 - - - │
161
+ @scm-manager/e2e-tests:ci:  │ ✔ anonymous_mode_full_spec.ts 00:09 5 5 - - - │
142
162
  @scm-manager/e2e-tests:ci:  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
143
163
  @scm-manager/e2e-tests:ci:  │ ✔ anonymous_mode_protocol_only_spec.t 00:03 1 1 - - - │
144
164
  @scm-manager/e2e-tests:ci:  │ s │
145
165
  @scm-manager/e2e-tests:ci:  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
146
166
  @scm-manager/e2e-tests:ci:  │ ✔ create_user_spec.ts 00:06 1 1 - - - │
147
167
  @scm-manager/e2e-tests:ci:  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
148
- @scm-manager/e2e-tests:ci:  │ ✔ repository_code_filesearch_spec.ts 00:16 1 1 - - - │
168
+ @scm-manager/e2e-tests:ci:  │ ✔ edit_user_spec.ts 00:06 1 1 - - - │
169
+ @scm-manager/e2e-tests:ci:  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
170
+ @scm-manager/e2e-tests:ci:  │ ✔ repository_code_filesearch_spec.ts 00:14 1 1 - - - │
149
171
  @scm-manager/e2e-tests:ci:  └────────────────────────────────────────────────────────────────────────────────────────────────┘
150
- @scm-manager/e2e-tests:ci:   ✔ All specs passed! 00:45 10 10 - - -  
172
+ @scm-manager/e2e-tests:ci:   ✔ All specs passed! 00:48 11 11 - - -  
151
173
  @scm-manager/e2e-tests:ci:
@@ -0,0 +1,57 @@
1
+ /*
2
+ * MIT License
3
+ *
4
+ * Copyright (c) 2020-present Cloudogu GmbH and Contributors
5
+ *
6
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ * of this software and associated documentation files (the "Software"), to deal
8
+ * in the Software without restriction, including without limitation the rights
9
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ * copies of the Software, and to permit persons to whom the Software is
11
+ * furnished to do so, subject to the following conditions:
12
+ *
13
+ * The above copyright notice and this permission notice shall be included in all
14
+ * copies or substantial portions of the Software.
15
+ *
16
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ * SOFTWARE.
23
+ */
24
+
25
+ import { hri } from "human-readable-ids";
26
+
27
+ describe("Edit User", () => {
28
+
29
+ let userNameToEdit: string;
30
+
31
+ beforeEach(() => {
32
+ // Create user and login
33
+ const username = hri.random();
34
+ const password = hri.random();
35
+ cy.restCreateUser(username, password);
36
+ cy.restLogin(username, password);
37
+ cy.restSetUserPermissions(username, ["user:*"]);
38
+
39
+ userNameToEdit = hri.random();
40
+ cy.restCreateUser(userNameToEdit, hri.random());
41
+ });
42
+
43
+ it("should edit user", () => {
44
+ // Prepare data
45
+ const newUser = hri.random();
46
+ const newEmail = `${hri.random()}@${hri.random()}.com`;
47
+
48
+ // Act
49
+ cy.visit(`/user/${userNameToEdit}/settings/general`);
50
+ cy.byTestId("input-displayname").clear().type(newUser);
51
+ cy.byTestId("input-mail").clear().type(newEmail);
52
+ cy.byTestId("submit-button").click();
53
+
54
+ // Assert
55
+ cy.get("div.notification.is-success").should("exist");
56
+ });
57
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scm-manager/e2e-tests",
3
- "version": "2.37.2-20220611-074043",
3
+ "version": "2.37.2",
4
4
  "description": "End to end Tests for SCM-Manager",
5
5
  "main": "index.js",
6
6
  "author": "Eduard Heimbuch <eduard.heimbuch@cloudogu.com>",