Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ma4nn committed Mar 3, 2025
1 parent b735565 commit e4fdd88
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/deploy-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,14 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- uses: leafo/gh-actions-lua@v11
with:
luaVersion: "5.4"
- run: |
npm ci
make
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/verify-lua-script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'

- uses: leafo/gh-actions-lua@v11
with:
Expand Down
2 changes: 1 addition & 1 deletion tests/chart.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ test('has correct metadata', async ({ page }) => {
});

test('can view options', async ({ page }) => {
const config = page.locator('#accordionConfig #collapseOne');
const config = page.locator('#offcanvasConfig');
const select = page.getByRole('button', { name: 'Chart anpassen' });

await expect(config).toBeHidden();
Expand Down

0 comments on commit e4fdd88

Please # to comment.