@appsemble/e2e 0.37.0 → 0.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.
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
- # ![](https://gitlab.com/appsemble/appsemble/-/raw/0.37.0/config/assets/logo.svg) Appsemble End 2 End Tests
1
+ # ![](https://gitlab.com/appsemble/appsemble/-/raw/0.37.2/config/assets/logo.svg) Appsemble End 2 End Tests
2
2
 
3
3
  > Run end 2 end tests on an Appsemble environment and provide Appsemble fixtures
4
4
 
5
- [![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.37.0/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.37.0)
5
+ [![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.37.2/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.37.2)
6
6
  [![Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://prettier.io)
7
7
 
8
8
  ## Table of Contents
@@ -102,5 +102,5 @@ When writing end-to-end tests, have a look at the
102
102
 
103
103
  ## License
104
104
 
105
- [LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.37.0/LICENSE.md) ©
105
+ [LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.37.2/LICENSE.md) ©
106
106
  [Appsemble](https://appsemble.com)
@@ -19,7 +19,7 @@ export const test = base.extend({
19
19
  const response = await request.post('/api/apps', {
20
20
  multipart: formData,
21
21
  });
22
- expect(response.status()).toBe(201);
22
+ expect(response.status(), await response.text()).toBe(201);
23
23
  const app = (await response.json());
24
24
  if (process.env.CI) {
25
25
  await aliasAppDomain(app.path, app.OrganizationId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appsemble/e2e",
3
- "version": "0.37.0",
3
+ "version": "0.37.2",
4
4
  "description": "End-to-end tests used for testing Appsemble apps in an existing environment.",
5
5
  "keywords": [
6
6
  "app",
@@ -41,9 +41,9 @@
41
41
  "@playwright/test": "Pinned exact and kept in sync with the mcr.microsoft.com/playwright:v<version>-noble tag of the `e2e node` job in .gitlab-ci.yml; Renovate bumps both together (see renovate.json)."
42
42
  },
43
43
  "dependencies": {
44
- "@appsemble/lang-sdk": "0.37.0",
45
- "@appsemble/node-utils": "0.37.0",
46
- "@appsemble/types": "0.37.0",
44
+ "@appsemble/lang-sdk": "0.37.2",
45
+ "@appsemble/node-utils": "0.37.2",
46
+ "@appsemble/types": "0.37.2",
47
47
  "@playwright/test": "1.58.2",
48
48
  "strip-indent": "^4.0.0"
49
49
  },
@@ -1,4 +1,5 @@
1
1
  import { expect, authenticatedTest as test } from '../../../index.js';
2
+ import pkg from '../../../package.json' with { type: 'json' };
2
3
  const { KEYCLOAK_ADMIN_PASSWORD = 'password', KEYCLOAK_ADMIN_USERNAME = 'admin', KEYCLOAK_BASE_URL, KEYCLOAK_REALM = 'appsemble-e2e', } = process.env;
3
4
  const clientId = 'appsemble-oidc';
4
5
  const clientSecret = 'appsemble-oidc-secret';
@@ -158,7 +159,7 @@ test.describe('App Keycloak OIDC login', () => {
158
159
  - Manager
159
160
  blocks:
160
161
  - type: html
161
- version: 0.36.10
162
+ version: ${pkg.version}
162
163
  parameters:
163
164
  content: <h1>Manager content</h1>
164
165
  - name: Editor Page
@@ -166,7 +167,7 @@ test.describe('App Keycloak OIDC login', () => {
166
167
  - Editor
167
168
  blocks:
168
169
  - type: html
169
- version: 0.36.10
170
+ version: ${pkg.version}
170
171
  parameters:
171
172
  content: <h1>Editor content</h1>
172
173
  - name: Auditor Page
@@ -174,7 +175,7 @@ test.describe('App Keycloak OIDC login', () => {
174
175
  - Auditor
175
176
  blocks:
176
177
  - type: html
177
- version: 0.36.10
178
+ version: ${pkg.version}
178
179
  parameters:
179
180
  content: <h1>Auditor content</h1>
180
181
  `);
@@ -1,4 +1,5 @@
1
1
  import { expect, authenticatedTest as test } from '../../../index.js';
2
+ import pkg from '../../../package.json' with { type: 'json' };
2
3
  const { KEYCLOAK_ADMIN_PASSWORD = 'password', KEYCLOAK_ADMIN_USERNAME = 'admin', KEYCLOAK_BASE_URL, KEYCLOAK_REALM = 'appsemble-e2e', } = process.env;
3
4
  const appsembleBaseUrl = 'http://appsemble:9999';
4
5
  const samlAttributeNameFormat = 'attribute.nameformat';
@@ -224,7 +225,7 @@ test.describe('App Keycloak SAML login', () => {
224
225
  - Manager
225
226
  blocks:
226
227
  - type: html
227
- version: 0.36.7
228
+ version: ${pkg.version}
228
229
  parameters:
229
230
  content: <h1>Manager content</h1>
230
231
  - name: Editor Page
@@ -232,7 +233,7 @@ test.describe('App Keycloak SAML login', () => {
232
233
  - Editor
233
234
  blocks:
234
235
  - type: html
235
- version: 0.36.7
236
+ version: ${pkg.version}
236
237
  parameters:
237
238
  content: <h1>Editor content</h1>
238
239
  - name: Auditor Page
@@ -240,7 +241,7 @@ test.describe('App Keycloak SAML login', () => {
240
241
  - Auditor
241
242
  blocks:
242
243
  - type: html
243
- version: 0.36.7
244
+ version: ${pkg.version}
244
245
  parameters:
245
246
  content: <h1>Auditor content</h1>
246
247
  `);