commit 1370c95646c57c3bad3413b6704e011aa06a196a
parent f44be356930b90ad6158650ee2a3c7ccfb725aea
Author: MTRNord <mtrnord1@gmail.com>
Date: Sat, 1 Jan 2022 16:24:37 +0100
Install msedge and make sure to use proper PL when creating Profile rooms
Diffstat:
2 files changed, 25 insertions(+), 17 deletions(-)
diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml
@@ -1,26 +1,26 @@
name: Playwright Tests
on:
push:
- branches: [ main, master ]
+ branches: [main, master]
pull_request:
- branches: [ main, master ]
+ branches: [main, master]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-node@v2
- with:
- node-version: '14.x'
- - name: Install dependencies
- run: npm ci
- - name: Install Playwright
- run: npx playwright install --with-deps
- - name: Run Playwright tests
- run: npx playwright test
- - uses: actions/upload-artifact@v2
- if: always()
- with:
- name: playwright-test-results
- path: test-results/
+ - uses: actions/checkout@v2
+ - uses: actions/setup-node@v2
+ with:
+ node-version: "14.x"
+ - name: Install dependencies
+ run: npm ci
+ - name: Install Playwright
+ run: npx playwright install --with-deps && npx playwright install msedge
+ - name: Run Playwright tests
+ run: npx playwright test
+ - uses: actions/upload-artifact@v2
+ if: always()
+ with:
+ name: playwright-test-results
+ path: test-results/
diff --git a/helpers/matrix_client.ts b/helpers/matrix_client.ts
@@ -195,6 +195,14 @@ export default class MatrixClient {
room_alias_name: "@" + MatrixClient.localpart(this.userId!),
creation_content: {
type: "matrixart.profile"
+ },
+ power_level_content_override: {
+ state_default: 100,
+ events_default: 100,
+ kick: 100,
+ invite: 100,
+ ban: 100,
+ redact: 100,
}
}),
headers: {