Skip to content

Commit

Permalink
test: update
Browse files Browse the repository at this point in the history
  • Loading branch information
deltork committed Nov 29, 2024
1 parent 6f83fde commit 2f9e987
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packages/studio-web/tests/test-commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,15 @@ export const testMakeAReadAlong = async (page: Page) => {
.click();
await page.getByTestId("ras-audio-fileselector").click({ force: true });
await page.getByTestId("ras-audio-fileselector").setInputFiles(testMp3Path);
await expect(async () => {
await expect(
page.getByTestId("next-step"),
"model is loaded",
).not.toBeDisabled();

//create the readalong
await page.getByTestId("next-step").click({ force: true });
//create the readalong
await page.getByTestId("next-step").click();
}).toPass();

//wait for edit page to load
await expect(async () => {
Expand Down

0 comments on commit 2f9e987

Please sign in to comment.