Skip to content

Commit

Permalink
Remove unneeded test
Browse files Browse the repository at this point in the history
  • Loading branch information
adamyeats committed Sep 11, 2024
1 parent 33cfc19 commit eb56d2a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
},
"packageManager": "[email protected]",
"volta": {
"node": "20.16.0",
"node": "20.17.0",
"yarn": "1.22.22"
}
}
11 changes: 0 additions & 11 deletions tests/e2e/configEditor.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,6 @@ test.describe('Config Editor', () => {
await expect(configPage.saveAndTest()).not.toBeOK();
});

test('valid credentials should return a 200 status code', async ({ createDataSourceConfigPage, page }) => {
const configPage = await createDataSourceConfigPage({ type: PLUGIN_UID });
configPage.mockHealthCheckResponse({ status: 200 });

await page.getByPlaceholder('Server address').fill(CLICKHOUSE_DB_URL);
await page.getByPlaceholder('9000').fill('9000');
await page.getByPlaceholder('default').fill('default');

await expect(configPage.saveAndTest()).toBeOK();
});

test('valid credentials should display a success alert on the page', async ({ createDataSourceConfigPage, page }) => {
const configPage = await createDataSourceConfigPage({ type: PLUGIN_UID });

Expand Down

0 comments on commit eb56d2a

Please sign in to comment.