Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
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
111 changes: 0 additions & 111 deletions .github/workflows/cd.yml

This file was deleted.

166 changes: 0 additions & 166 deletions .github/workflows/ci.yml

This file was deleted.

44 changes: 44 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Playwright Tests
on:
push:
branches: [ development ]
pull_request:
branches: [ development ]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.47.0-jammy
steps:
- uses: actions/checkout@v4
- name: Set Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
- name: Run install
uses: borales/actions-yarn@v5
with:
cmd: install
- run: cd loama
- name: Build repo
uses: borales/actions-yarn@v5
with:
cmd: build
- name: Install Playwright Browsers
uses: borales/actions-yarn@v5
with:
cmd: playwright install --with-deps
dir: loama
- name: Run playwright tests
uses: borales/actions-yarn@v5
with:
cmd: test
dir: loama
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: loama/playwright-report/
retention-days: 30
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ node_modules/
dist/
build/
.env
pods/

.nx/cache
.nx/workspace-data
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Added

- Add automated UI tests on ./loama
- Add Github action to run UI tests on PR to default branch

## [0.1.0] - 2025-02-20

### Added
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,9 @@ Now you can find loama at <http://localhost:5173>, or in a URL with a path, if y
2. `docker compose up -d --wait`

This will spin up a Community Solid Server on port 3000.

### Automated tests

The `./loama` subproject contains automated tests and these are added to the github workflow.

See the local [README](./loama/README.md) for details to execute these tests locally.
36 changes: 21 additions & 15 deletions css/config/seeds.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
[
{
"email": "hello@example.com",
"password": "abc123",
"pods": [
{ "name": "pod1" }
]
},
{
"email": "hello2@example.com",
"password": "123abc",
"pods": [
{ "name": "pod2" },
{ "name": "pod3" }
]
}
{
"email": "hello@example.com",
"password": "abc123",
"pods": [
{
"name": "pod1"
}
]
},
{
"email": "hello2@example.com",
"password": "123abc",
"pods": [
{
"name": "pod2"
},
{
"name": "pod3"
}
]
}
]
Loading