Files
openobserve/tests/ui-testing
ktx-akshay 43abef047e test: update dashboard test cases and remove unused files (#9944)
### **PR Type**
Tests


___

### **Description**
- Enable previously skipped dashboard tests
- `dashboard-filter.spec.js`, `dashboard-html-chart.spec.js`,
`dashboard.spec.js`

- Update relative time and endpoint in filter spec

- Remove `visualization-vrl.spec.js` and CI workflow entry

- Fix panel deletion call in `dashboard.spec.js`


___

### Diagram Walkthrough


```mermaid
flowchart LR
  DF["dashboard-filter.spec.js updated"] --> CW["CI workflow updated"]
  HC["dashboard-html-chart.spec.js enabled"] --> CW
  DS["dashboard.spec.js updates"] --> CW
  VRL["visualization-vrl.spec.js removed"] --> CW
```



<details> <summary><h3> File Walkthrough</h3></summary>

<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Tests</strong></td><td><table>
<tr>
  <td>
    <details>
<summary><strong>dashboard-filter.spec.js</strong><dd><code>Update
filter spec timing and endpoint</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; </dd></summary>
<hr>

tests/ui-testing/playwright-tests/Dashboards/dashboard-filter.spec.js

<ul><li>Changed default time range from 6 weeks to 30 days<br> <li>
Enabled custom value search test (removed skip)<br> <li> Updated
response listener to <code>/ _values_stream</code> endpoint</ul>


</details>


  </td>
<td><a
href="https://github.com/openobserve/openobserve/pull/9944/files#diff-0b36e0f7bb97e53ba43466ae6666f04e2b3015f5760243493a058ad3df6fbef9">+4/-4</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>

<tr>
  <td>
    <details>
<summary><strong>dashboard-html-chart.spec.js</strong><dd><code>Enable
HTML chart variable test</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
</dd></summary>
<hr>


tests/ui-testing/playwright-tests/Dashboards/dashboard-html-chart.spec.js

<ul><li>Enabled variable replacement test (removed skip)<br> <li> No
other logic changes</ul>


</details>


  </td>
<td><a
href="https://github.com/openobserve/openobserve/pull/9944/files#diff-5b258fd2098659bd4445a432b9aaca79b1e1295bc45f20e82408498cf2b4696a">+1/-1</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>

<tr>
  <td>
    <details>
<summary><strong>dashboard.spec.js</strong><dd><code>Enable dynamic
filter test and remove drilldown test</code>&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; </dd></summary>
<hr>

tests/ui-testing/playwright-tests/Dashboards/dashboard.spec.js

<ul><li>Enabled dynamic filter test (removed skip)<br> <li> Fixed panel
deletion call to <code>dashboardPanelEdit.deletePanel</code><br> <li>
Removed skipped drilldown feature test block</ul>


</details>


  </td>
<td><a
href="https://github.com/openobserve/openobserve/pull/9944/files#diff-1403f96be575d5ae4215674b2b1c53c2503ddb1b35a3f4e0aefcf391b1cea1be">+2/-54</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
  <td>
    <details>
<summary><strong>visualization-vrl.spec.js</strong><dd><code>Remove VRL
visualization tests</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; </dd></summary>
<hr>

tests/ui-testing/playwright-tests/Dashboards/visualization-vrl.spec.js

<ul><li>Deleted VRL visualization test file entirely<br> <li> Removed
all VRL-related test cases</ul>


</details>


  </td>
<td><a
href="https://github.com/openobserve/openobserve/pull/9944/files#diff-935ba0de56260b2b735a350ada52a9d07cff34b79f0b137a384ed47cf80075d6">+0/-425</a>&nbsp;
</td>

</tr>
</table></td></tr><tr><td><strong>Configuration
changes</strong></td><td><table>
<tr>
  <td>
    <details>
<summary><strong>playwright.yml</strong><dd><code>Remove VRL test from
CI workflow</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary>
<hr>

.github/workflows/playwright.yml

<ul><li>Removed <code>visualization-vrl.spec.js</code> from CI run_files
list<br> <li> Updated workflow to skip VRL tests</ul>


</details>


  </td>
<td><a
href="https://github.com/openobserve/openobserve/pull/9944/files#diff-7afcd2d8f7b49bda74843f209eefb7b2da45f7e7803bf2e4bd636699b76aa2d3">+0/-1</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>
</table></td></tr></tr></tbody></table>

</details>

___
2026-01-13 12:06:47 +05:30
..
2024-11-13 15:13:36 +05:30

zinc-observe-ui-automation

Playwright UI Testing

Installation

npm install

Running Tests

cd playwright-runner
npm start

Then open http://localhost:3000 to access the test runner interface.

Using Command Line

# Run all tests
npx playwright test

# Run specific test by tag
npx playwright test -g @alertsImportExport

# Run in headed mode
npx playwright test --headed

# Run specific test file
npx playwright test Alerts/alerts-import.spec.js

Environment Configuration

Tests can be configured using:

  1. Playwright Runner UI - Set environment variables through the web interface
  2. Environment Variables - Set variables in terminal or .env file