Skip to content

Commit 59e22a5

Browse files
committed
Release v3.4.0-beta.1
1 parent 9b8ef2a commit 59e22a5

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
[//]: # 'The ci will use the first section starting with `##` as release notes.'
44

5+
## 3.4.0 - Beta 1
6+
- Updated error message when Rest API cannot be found
7+
- Switched from yarn to npm
8+
- Updated dependencies to latest versions
9+
- Updated unit tests
10+
- Migrated end-to-end tests to Playwright
11+
- Updated documentation
12+
513
## 3.3.0
614
- Support for new autocomplete endpoints
715
- Rebranding of Checkmk commercial products

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tribe-29-checkmk-datasource",
3-
"version": "3.3.0",
3+
"version": "3.4.0-beta.1",
44
"description": "Datasource for checkmk",
55
"scripts": {
66
"build": "bash utils/plugin_json_to_unsigned.sh && webpack -c ./webpack.config.ts --env production",

tests/e2e/models/DashboardPage.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import { type Page, expect } from '@playwright/test';
33
import current_config from '../config';
44
import { FilterTypes, GRAFANA_SELECTORS, GRAFANA_TEXT, GraphTypes } from '../constants';
55

6+
const CUSTOM_TIMEOUT = 40000;
7+
68
export class DashboardPage {
79
readonly page: Page;
810

@@ -58,7 +60,7 @@ export class DashboardPage {
5860
if (visible) {
5961
await expect(cmp).toBeVisible();
6062
} else {
61-
await expect(cmp).not.toBeVisible({ timeout: 20000 });
63+
await expect(cmp).not.toBeVisible({ timeout: CUSTOM_TIMEOUT });
6264
}
6365
}
6466

@@ -73,7 +75,7 @@ export class DashboardPage {
7375
if (findByInputValue) {
7476
await expect(this.page.locator(fieldSelector).first()).toHaveValue(value);
7577
} else {
76-
await expect(this.page.locator(`text="${value}"`).first()).toBeVisible({ timeout: 20000 });
78+
await expect(this.page.locator(`text="${value}"`).first()).toBeVisible({ timeout: CUSTOM_TIMEOUT });
7779
}
7880
}
7981

@@ -102,6 +104,7 @@ export class DashboardPage {
102104
}
103105

104106
async selectPredefinedGraphType(graphType: GraphTypes) {
107+
await this.expectSpinners(false);
105108
await this._addFilterBy(`input[id="${GRAFANA_SELECTORS.DASHBOARD.PREDEFINED_GRAPH_FIELD_ID}"]`, graphType);
106109
}
107110

0 commit comments

Comments
 (0)