Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions .github/workflows/nightwatch-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ on:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
node-version: [18.x, 20.x]
browser: [chrome, firefox]

steps:
- uses: actions/checkout@v2
Expand All @@ -24,7 +26,12 @@ jobs:
- name: Install dependencies
run: npm install

- run: sudo apt-get install xvfb
- name: Install Firefox (if needed)
if: matrix.browser == 'firefox'
run: sudo apt-get update && sudo apt-get install -y firefox

- name: Install XVFB
run: sudo apt-get install xvfb

- name: Run Nightwatch tests
run: xvfb-run --auto-servernum npm run ci-test
- name: Run Nightwatch tests on ${{ matrix.browser }}
run: xvfb-run --auto-servernum npm run ci-test -- --env ${{ matrix.browser }}
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,16 @@ Run tests
```
npm run test
```
# Element V3 Regression Test Suite

This repository contains automated regression tests for Element V3 using **Nightwatch.js**.

## Features
- Runs tests in Chrome and other browsers (configurable).
- GitHub Actions CI workflow included.
- HTML test reports generated automatically.

## Setup
1. Clone the repo:
```bash
Copy link

@cubic-dev-ai cubic-dev-ai bot Sep 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unclosed fenced code block in Setup section; add a closing ``` to fix Markdown rendering.

Prompt for AI agents
Address the following comment on README.md at line 27:

<comment>Unclosed fenced code block in Setup section; add a closing ``` to fix Markdown rendering.</comment>

<file context>
@@ -13,3 +13,16 @@ Run tests
+
+## Setup
+1. Clone the repo:
+   ```bash
+   git clone https://github.com/dikwickley/element-v3-regression-test-suite.git
</file context>
Fix with Cubic

git clone https://github.com/dikwickley/element-v3-regression-test-suite.git
Loading