Skip to content

Commit

Permalink
Temp workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
otociulis committed Dec 6, 2024
1 parent b203ac0 commit c290a72
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: screenshot
path: screenshot.png
path: screenshot*.png

11 changes: 10 additions & 1 deletion tests/integration/example.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,14 @@ test('has title', async () => {
// Expect a title "to contain" a substring.
await expect(page).toHaveTitle(/ComfyUI/);

await page.screenshot({ path: 'screenshot.png' });
await page.screenshot({ path: 'screenshot-load.png' });

const getStartedButton = await page.$("button[data-testid='get-started-button']");

expect(getStartedButton).toBeDefined();

getStartedButton?.click();


await page.screenshot({ path: 'screenshot-get-started.png' });
});

0 comments on commit c290a72

Please sign in to comment.