@appsemble/e2e 0.36.3-test.6 → 0.36.3

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.36.3-test.6/config/assets/logo.svg) Appsemble End 2 End Tests
1
+ # ![](https://gitlab.com/appsemble/appsemble/-/raw/0.36.3/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.36.3-test.6/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.36.3-test.6)
5
+ [![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.36.3/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.36.3)
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.36.3-test.6/LICENSE.md) ©
105
+ [LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.36.3/LICENSE.md) ©
106
106
  [Appsemble](https://appsemble.com)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appsemble/e2e",
3
- "version": "0.36.3-test.6",
3
+ "version": "0.36.3",
4
4
  "description": "End-to-end tests used for testing Appsemble apps in an existing environment.",
5
5
  "keywords": [
6
6
  "app",
@@ -38,10 +38,10 @@
38
38
  "test": "vitest"
39
39
  },
40
40
  "dependencies": {
41
- "@appsemble/lang-sdk": "0.36.3-test.6",
42
- "@appsemble/node-utils": "0.36.3-test.6",
43
- "@appsemble/types": "0.36.3-test.6",
44
- "@playwright/test": "1.58.1",
41
+ "@appsemble/lang-sdk": "0.36.3",
42
+ "@appsemble/node-utils": "0.36.3",
43
+ "@appsemble/types": "0.36.3",
44
+ "@playwright/test": "1.58.2",
45
45
  "strip-indent": "^4.0.0"
46
46
  },
47
47
  "engines": {
@@ -27,11 +27,17 @@ test.describe('Holidays', () => {
27
27
  });
28
28
  test('should navigate to the second tab', async ({ page }) => {
29
29
  await page.click('text=Germany');
30
- await expect(page.getByText('Mariä Himmelfahrt')).toBeVisible();
30
+ await expect(page.getByText('Mariä Himmelfahrt')).toBeVisible({ timeout: 7000 });
31
31
  });
32
32
  test('should navigate to the American holidays page', async ({ page }) => {
33
+ const modal = page.getByRole('dialog', { name: 'ServiceWorkerError' });
34
+ if (await modal.isVisible()) {
35
+ await modal.getByRole('button').click();
36
+ }
33
37
  await page.click('text=Holidays in America');
34
- await expect(page.getByText('Independence Day')).toBeVisible();
38
+ await expect(page.getByText('Independence Day', { exact: true })).toBeVisible({
39
+ timeout: 8000,
40
+ });
35
41
  });
36
42
  });
37
43
  //# sourceMappingURL=holidays.spec.js.map