Skip to content

Commit

Permalink
log grafanaversion
Browse files Browse the repository at this point in the history
  • Loading branch information
sunker committed Dec 20, 2024
1 parent 055c2cb commit 54bf129
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@ jobs:
grafana-version: latest-${{ matrix.workingDir }}
path: ./${{ matrix.workingDir }}/playwright-report

- name: Delete plawyright report
run: rm -rf ./playwright-report && rm -rf ./test-results && rm -rf ./playwright
working-directory: ./${{ matrix.workingDir }}

- name: Get plugin min version
id: min-version
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ test('smoke: should render query editor', async ({ panelEditPage, readProvisione
await expect(panelEditPage.getQueryEditorRow('A').getByRole('textbox', { name: 'Query Text' })).toBeVisible();
});

test('data query should return a value', async ({ panelEditPage, readProvisionedDataSource }) => {
test('data query should return a value', async ({ panelEditPage, readProvisionedDataSource, grafanaVersion}) => {
console.log('grafanaVersion: ', grafanaVersion);
const ds = await readProvisionedDataSource({ fileName: 'datasources.yml' });
await panelEditPage.datasource.set(ds.name);
await panelEditPage.setVisualization('Table');
Expand Down

0 comments on commit 54bf129

Please sign in to comment.