@rimori/playwright-testing 0.3.26 → 0.3.27-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -156,17 +156,8 @@ class RimoriE2ETestEnvironment {
156
156
  }
157
157
  async completeOnboarding(page, onboarding, e2ePluginId) {
158
158
  console.log(`[E2E] Starting onboarding`);
159
- await page.goto('/onboarding');
160
- await page.waitForTimeout(5000);
161
- const isOnboaded = page.url().includes('/dashboard');
162
- if (!isOnboaded) {
163
- console.log(`[E2E] Onboarding user`);
164
- await (0, onboarding_1.completeOnboarding)(page, onboarding, e2ePluginId);
165
- console.log(`[E2E] Onboarding completed`);
166
- }
167
- else {
168
- console.log(`[E2E] User already onboarded`);
169
- }
159
+ await (0, onboarding_1.completeOnboarding)(page, onboarding, e2ePluginId);
160
+ console.log(`[E2E] Onboarding completed`);
170
161
  }
171
162
  async completeExerciseSetup(page, exercises) {
172
163
  for (const exercise of exercises) {