Skip to content

Commit

Permalink
Release v3.4.0-beta.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lpetrora committed Sep 10, 2024
1 parent 9b8ef2a commit 59e22a5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

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

## 3.4.0 - Beta 1
- Updated error message when Rest API cannot be found
- Switched from yarn to npm
- Updated dependencies to latest versions
- Updated unit tests
- Migrated end-to-end tests to Playwright
- Updated documentation

## 3.3.0
- Support for new autocomplete endpoints
- Rebranding of Checkmk commercial products
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tribe-29-checkmk-datasource",
"version": "3.3.0",
"version": "3.4.0-beta.1",
"description": "Datasource for checkmk",
"scripts": {
"build": "bash utils/plugin_json_to_unsigned.sh && webpack -c ./webpack.config.ts --env production",
Expand Down
7 changes: 5 additions & 2 deletions tests/e2e/models/DashboardPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import { type Page, expect } from '@playwright/test';
import current_config from '../config';
import { FilterTypes, GRAFANA_SELECTORS, GRAFANA_TEXT, GraphTypes } from '../constants';

const CUSTOM_TIMEOUT = 40000;

export class DashboardPage {
readonly page: Page;

Expand Down Expand Up @@ -58,7 +60,7 @@ export class DashboardPage {
if (visible) {
await expect(cmp).toBeVisible();
} else {
await expect(cmp).not.toBeVisible({ timeout: 20000 });
await expect(cmp).not.toBeVisible({ timeout: CUSTOM_TIMEOUT });
}
}

Expand All @@ -73,7 +75,7 @@ export class DashboardPage {
if (findByInputValue) {
await expect(this.page.locator(fieldSelector).first()).toHaveValue(value);
} else {
await expect(this.page.locator(`text="${value}"`).first()).toBeVisible({ timeout: 20000 });
await expect(this.page.locator(`text="${value}"`).first()).toBeVisible({ timeout: CUSTOM_TIMEOUT });
}
}

Expand Down Expand Up @@ -102,6 +104,7 @@ export class DashboardPage {
}

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

Expand Down

0 comments on commit 59e22a5

Please sign in to comment.