File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
examples/app-with-backend/tests Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ jobs:
11
11
steps :
12
12
- name : Generate token
13
13
id : generate_token
14
- uses : tibdex/ github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
14
+ uses : actions/create- github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v2.0.2
15
15
with :
16
- app_id : ${{ secrets.APP_ID }}
17
- private_key : ${{ secrets.APP_PEM }}
16
+ app-id : ${{ secrets.APP_ID }}
17
+ private-key : ${{ secrets.APP_PEM }}
18
18
19
19
- name : Checkout repository
20
20
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
43
43
author : github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
44
44
delete-branch : true
45
45
commit-message : " chore: update configuration to latest version"
46
+ sign-commits : true
46
47
title : " Chore: Bump plugin-examples configuration to latest version"
47
48
body : |
48
49
Bumps [`grafana-plugin-examples`](https://github.com/grafana/grafana-plugin-examples) configuration to the latest version.
Original file line number Diff line number Diff line change
1
+ import { testIds } from "../src/components/testIds" ;
1
2
import { test , expect } from "./fixtures" ;
2
3
3
4
test ( "page one should successfully call backend and display reply" , async ( {
4
5
pageOne,
5
6
page,
6
7
} ) => {
7
- await expect ( page . getByText ( "pong" ) ) . toBeVisible ( ) ;
8
+ await expect ( page . getByTestId ( testIds . pageOne . ping ) . getByText ( "pong" ) ) . toBeVisible ( ) ;
8
9
} ) ;
9
10
10
11
test ( "page one should succesfully check health and display status" , async ( {
11
12
pageOne,
12
13
page,
13
- } ) => {
14
- await expect ( page . getByText ( "OK" ) ) . toBeVisible ( ) ;
14
+ } ) => {
15
+ await expect ( page . getByTestId ( testIds . pageOne . health ) . getByText ( "OK" ) ) . toBeVisible ( ) ;
15
16
} ) ;
You can’t perform that action at this time.
0 commit comments