fix test
This commit is contained in:
1
.github/workflows/build-enjoy-app.yml
vendored
1
.github/workflows/build-enjoy-app.yml
vendored
@@ -58,6 +58,5 @@ jobs:
|
||||
path: |
|
||||
enjoy/out/make/**/*.deb
|
||||
enjoy/out/make/**/*.rpm
|
||||
enjoy/out/make/**/*.zip
|
||||
enjoy/out/make/**/*.exe
|
||||
enjoy/out/make/**/*.dmg
|
||||
|
||||
1
.github/workflows/release-enjoy-app.yml
vendored
1
.github/workflows/release-enjoy-app.yml
vendored
@@ -39,6 +39,5 @@ jobs:
|
||||
path: |
|
||||
enjoy/out/make/**/*.deb
|
||||
enjoy/out/make/**/*.rpm
|
||||
enjoy/out/make/**/*.zip
|
||||
enjoy/out/make/**/*.exe
|
||||
enjoy/out/make/**/*.dmg
|
||||
|
||||
@@ -67,6 +67,15 @@ test.describe("with login", async () => {
|
||||
});
|
||||
});
|
||||
|
||||
page.route("**/api/stories", (route) => {
|
||||
route.fulfill({
|
||||
json: {
|
||||
stories: [],
|
||||
next: null,
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
await page.evaluate(() => {
|
||||
return (window as any).__ENJOY_APP__.app.reload();
|
||||
});
|
||||
@@ -84,7 +93,7 @@ test.describe("with login", async () => {
|
||||
});
|
||||
|
||||
test.describe("with conversation", async () => {
|
||||
test.beforeEach(async () => {
|
||||
test.beforeAll(async () => {
|
||||
const file = fs.readFileSync(
|
||||
path.join(process.cwd(), "samples", "speech.mp3")
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user