Skip to content

Commit

Permalink
remove not used file
Browse files Browse the repository at this point in the history
  • Loading branch information
sunker committed Nov 21, 2023
1 parent cdd4f14 commit 2634e64
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const createDataSourceViaAPI = async (
const text = await createDsReq.text();
const status = await createDsReq.status();
if (status === 200) {
console.log('Data source created: ', dsName);
console.log('Data source created: ', name);
return createDsReq.json().then((r) => r.datasource);
}

Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-e2e/tests/datasource/configEditor.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ test('valid credentials should return a 200 status code', async ({ createDataSou
const configPage = await createDataSourceConfigPage({ type: 'grafana-googlesheets-datasource' });
await page.getByText('Google JWT File', { exact: true }).click();
await page.getByTestId('Paste JWT button').click();
await page.getByTestId('Configuration text area').fill(process.env.GOOGLE_JWT_FILE!);
await page.getByTestId('Configuration text area').fill(process.env.GOOGLE_JWT_FILE!.replace(/'/g, ''));
await expect(configPage.saveAndTest()).toBeOK();
});
10 changes: 0 additions & 10 deletions packages/plugin-e2e/tests/datasource/datasource.setup.ts

This file was deleted.

0 comments on commit 2634e64

Please sign in to comment.