Skip to content

Commit a33a775

Browse files
authored
Feat: Adding signed commits flag to create PR action (#504)
* Adding signed commits flag to create PR action * making the selectors more precise
1 parent 0badd90 commit a33a775

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/automatic-update.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
steps:
1212
- name: Generate token
1313
id: generate_token
14-
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
14+
uses: actions/create-github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v2.0.2
1515
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 }}
1818

1919
- name: Checkout repository
2020
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -43,6 +43,7 @@ jobs:
4343
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
4444
delete-branch: true
4545
commit-message: "chore: update configuration to latest version"
46+
sign-commits: true
4647
title: "Chore: Bump plugin-examples configuration to latest version"
4748
body: |
4849
Bumps [`grafana-plugin-examples`](https://github.com/grafana/grafana-plugin-examples) configuration to the latest version.
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
1+
import { testIds } from "../src/components/testIds";
12
import { test, expect } from "./fixtures";
23

34
test("page one should successfully call backend and display reply", async ({
45
pageOne,
56
page,
67
}) => {
7-
await expect(page.getByText("pong")).toBeVisible();
8+
await expect(page.getByTestId(testIds.pageOne.ping).getByText("pong")).toBeVisible();
89
});
910

1011
test("page one should succesfully check health and display status", async ({
1112
pageOne,
1213
page,
13-
}) => {
14-
await expect(page.getByText("OK")).toBeVisible();
14+
}) => {
15+
await expect(page.getByTestId(testIds.pageOne.health).getByText("OK")).toBeVisible();
1516
});

0 commit comments

Comments
 (0)