Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix(e2e): update skip button selector and remove broken vcredist download

Louis Beaumont0de4c23c1dfd
diff --git a/screenpipe-app-tauri/e2e/terminator-e2e/screenpipe.spec.js b/screenpipe-app-tauri/e2e/terminator-e2e/screenpipe.spec.js
index bc9e07426..5c79fb661 100644
--- a/screenpipe-app-tauri/e2e/terminator-e2e/screenpipe.spec.js
+++ b/screenpipe-app-tauri/e2e/terminator-e2e/screenpipe.spec.js
@@ -19,7 +19,7 @@ describe('Screenpipe App Health Status', function() {
const mainWindow = client.locator('window:Screenpipe');
const rootWebArea = mainWindow.locator('role:Document');
- const skipOnboarding = rootWebArea.locator('Name:skip onboarding');
+ const skipOnboarding = rootWebArea.locator('Name:skip');
await skipOnboarding.click();
await delay(3000);
diff --git a/screenpipe-app-tauri/e2e/tests/health-check.js b/screenpipe-app-tauri/e2e/tests/health-check.js
index 34b7561bd..bd8bfb6ae 100644
--- a/screenpipe-app-tauri/e2e/tests/health-check.js
+++ b/screenpipe-app-tauri/e2e/tests/health-check.js
@@ -19,16 +19,16 @@ describe('Project', () => {
return userAgent.includes('linux') && !userAgent.includes('android');
});
- // Wait for the skip onboarding button to be visible
- const button = await $('button.text-muted-foreground*=skip onboarding');
+ // Wait for the skip button to be visible (button text is just "skip")
+ const button = await $('button.text-muted-foreground*=skip');
await button.waitForDisplayed({ timeout: 10000 });
-
+
if (isLinux) {
// Use JavaScript click directly with a valid CSS selector on Linux
await browser.execute(() => {
- const buttons = document.querySelectorAll('button');
+ const buttons = document.querySelectorAll('button.text-muted-foreground');
for (const btn of buttons) {
- if (btn.textContent.includes('skip onboarding')) {
+ if (btn.textContent.trim() === 'skip') {
btn.click();
break;
}
diff --git a/screenpipe-app-tauri/e2e/tests/timeline-performance.js b/screenpipe-app-tauri/e2e/tests/timeline-performance.js
index 0017d0c44..075a5c4ee 100644
--- a/screenpipe-app-tauri/e2e/tests/timeline-performance.js
+++ b/screenpipe-app-tauri/e2e/tests/timeline-performance.js
@@ -41,9 +41,9 @@ describe('Timeline Performance', () => {
});
it('should measure timeline loading performance', async () => {
- // Skip onboarding if present
+ // Skip onboarding if present (button text is just "skip")
try {
- const skipButton = await $('button*=skip onboarding');
+ const skipButton = await $('button.text-muted-foreground*=skip');
if (await skipButton.isDisplayed()) {
await skipButton.click();
await browser.pause(500);