From ef4d8cd206200cb2f564d318ab745ae076f29dbe Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Wed, 31 Mar 2021 19:55:11 +0100 Subject: [PATCH] rename Signed-off-by: Andrew Johnson --- .changeset/thirty-panthers-learn.md | 2 +- plugins/github-deployments/package.json | 2 +- .../src/components/GithubDeploymentsCard.test.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.changeset/thirty-panthers-learn.md b/.changeset/thirty-panthers-learn.md index 676de6afa6..5109fdffe1 100644 --- a/.changeset/thirty-panthers-learn.md +++ b/.changeset/thirty-panthers-learn.md @@ -2,4 +2,4 @@ '@backstage/plugin-github-deployments': minor --- -add reload button and functionality +Add a button to reload the GitHub Deployments card diff --git a/plugins/github-deployments/package.json b/plugins/github-deployments/package.json index 41e7992ac1..b8761c1385 100644 --- a/plugins/github-deployments/package.json +++ b/plugins/github-deployments/package.json @@ -1,6 +1,6 @@ { "name": "@backstage/plugin-github-deployments", - "version": "0.1.2", + "version": "0.1.1", "main": "src/index.ts", "types": "src/index.ts", "license": "Apache-2.0", diff --git a/plugins/github-deployments/src/components/GithubDeploymentsCard.test.tsx b/plugins/github-deployments/src/components/GithubDeploymentsCard.test.tsx index 615ad9614c..e20183f1d6 100644 --- a/plugins/github-deployments/src/components/GithubDeploymentsCard.test.tsx +++ b/plugins/github-deployments/src/components/GithubDeploymentsCard.test.tsx @@ -151,7 +151,7 @@ describe('github-deployments', () => { ), ); - const refreshButton = await rendered.findByTitle('Refresh'); + const refreshButton = await rendered.findByTitle('Reload'); fireEvent.click(refreshButton); expect(