Skip to content

Commit 0330d2a

Browse files
Philipp SiegmantelTheSpacyCat
authored andcommitted
Add testsids in preparation for e2e tests
1 parent e4667f1 commit 0330d2a

File tree

5 files changed

+15
-3
lines changed

5 files changed

+15
-3
lines changed

dist/index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Webpack App</title>
6+
<meta name="viewport" content="width=device-width, initial-scale=1"><script defer src="/module.js"></script></head>
7+
<body>
8+
</body>
9+
</html>

dist/module.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/module.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
],
2222
"screenshots": [],
2323
"version": "2.0.0",
24-
"updated": "2022-08-08"
24+
"updated": "2022-08-17"
2525
},
2626
"dependencies": {
2727
"grafanaDependency": ">=8.0.0",

src/ConfigEditor.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ export class ConfigEditor extends PureComponent<Props, State> {
9393
onChange={this.onUrlChange}
9494
value={jsonData.url || ''}
9595
tooltip="Which Checkmk Server to connect to. (Example: https://checkmk.server/site)"
96+
data-test-id="checkmk-url"
9697
/>
9798
</div>
9899
<InlineField label="Edition" labelWidth={12}>
@@ -114,6 +115,7 @@ export class ConfigEditor extends PureComponent<Props, State> {
114115
onChange={this.onUsernameChange}
115116
value={jsonData.username || ''}
116117
tooltip="A checkmk monitoring user. Don't use 'automation' user, because it has admin rights."
118+
data-test-id="checkmk-username"
117119
/>
118120
</div>
119121
<div className="gf-form">
@@ -127,6 +129,7 @@ export class ConfigEditor extends PureComponent<Props, State> {
127129
onReset={this.onResetSecret}
128130
onChange={this.onSecretChange}
129131
tooltip="You can find the secret for your user in your checkmk server under Users."
132+
data-test-id="checkmk-password"
130133
/>
131134
</div>
132135
</FieldSet>

0 commit comments

Comments
 (0)