@appsemble/e2e 0.40.15 → 0.40.17

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.40.15/config/assets/logo.svg) Appsemble End 2 End Tests
1
+ # ![](https://gitlab.com/appsemble/appsemble/-/raw/0.40.17/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.40.15/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.40.15)
5
+ [![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.40.17/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.40.17)
6
6
  [![Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://prettier.io)
7
7
 
8
8
  ## Table of Contents
@@ -124,5 +124,5 @@ When writing end-to-end tests, have a look at the
124
124
 
125
125
  ## License
126
126
 
127
- [LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.40.15/LICENSE.md) ©
127
+ [LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.40.17/LICENSE.md) ©
128
128
  [Appsemble](https://appsemble.com)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appsemble/e2e",
3
- "version": "0.40.15",
3
+ "version": "0.40.17",
4
4
  "description": "End-to-end tests used for testing Appsemble apps in an existing environment.",
5
5
  "keywords": [
6
6
  "app",
@@ -40,9 +40,9 @@
40
40
  "@playwright/test": "Pinned exact and kept in sync with the mcr.microsoft.com/playwright:v<version>-noble tags of the `mermaid svgs`, `e2e node`, and `e2e keycloak` jobs in .gitlab-ci.yml; Renovate bumps them all together (see renovate.json)."
41
41
  },
42
42
  "dependencies": {
43
- "@appsemble/lang-sdk": "0.40.15",
44
- "@appsemble/node-utils": "0.40.15",
45
- "@appsemble/types": "0.40.15",
43
+ "@appsemble/lang-sdk": "0.40.17",
44
+ "@appsemble/node-utils": "0.40.17",
45
+ "@appsemble/types": "0.40.17",
46
46
  "@axe-core/playwright": "4.14.0",
47
47
  "@playwright/test": "1.64.1",
48
48
  "mailpit-api": "^2.1.0",
@@ -107,7 +107,9 @@ test.describe('App Collections', () => {
107
107
  await page.click('#app-options-menu');
108
108
  await page.getByRole('button', { name: 'Add to collection' }).click();
109
109
  await page.getByRole('combobox').selectOption({ label: appCollectionName });
110
+ const addResponse = page.waitForResponse(`**/api/app-collections/${appCollectionId}/apps`);
110
111
  await page.locator('form').getByRole('button', { name: 'Add to collection' }).click();
112
+ await addResponse;
111
113
  await page.goto(`/en/collections/${appCollectionId}`);
112
114
  await expect(page.getByRole('link', { name: appName })).toBeVisible();
113
115
  await deleteApp(id);