This commit is contained in:
parent
e0f9022dd9
commit
cea3b4a372
2
.github/workflows/playwright.yml
vendored
2
.github/workflows/playwright.yml
vendored
@ -24,6 +24,8 @@ jobs:
|
|||||||
cd packages/test-project
|
cd packages/test-project
|
||||||
yarn playwright install --with-deps
|
yarn playwright install --with-deps
|
||||||
dpkg -i ../../obsidian.deb
|
dpkg -i ../../obsidian.deb
|
||||||
|
- name: compile and test!
|
||||||
|
run: |
|
||||||
yarn workspace obsidian-testing-framework run tsc
|
yarn workspace obsidian-testing-framework run tsc
|
||||||
yarn playwright test
|
yarn playwright test
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
|
@ -33,7 +33,7 @@ const obsidianTestFixtures: Fixtures<ObsidianTestFixtures> = {
|
|||||||
electronApp: [
|
electronApp: [
|
||||||
async ({ obsidian: { vault } }, run) => {
|
async ({ obsidian: { vault } }, run) => {
|
||||||
process.env.ELECTRON_DISABLE_SECURITY_WARNINGS = "true";
|
process.env.ELECTRON_DISABLE_SECURITY_WARNINGS = "true";
|
||||||
|
console.log("asar located at:", getExe())
|
||||||
const electronApp = await electron.launch({
|
const electronApp = await electron.launch({
|
||||||
timeout: 10000,
|
timeout: 10000,
|
||||||
args: [
|
args: [
|
||||||
|
Loading…
Reference in New Issue
Block a user