@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.
- package/dist/core/RimoriE2ETestEnvironment.js +2 -11
- package/dist/harness/__mfe_internal__rimori_mf_2_scenario_mf_2_host__loadShare___mf_0_rimori_mf_1_react_mf_2_client__loadShare__.mjs.js +42 -42
- package/dist/harness/hostInit.js +1 -1
- package/dist/harness/localSharedImportMap.js +1 -1
- package/dist/helpers/e2e/onboarding.js +7 -3
- package/package.json +3 -3
|
@@ -156,17 +156,8 @@ class RimoriE2ETestEnvironment {
|
|
|
156
156
|
}
|
|
157
157
|
async completeOnboarding(page, onboarding, e2ePluginId) {
|
|
158
158
|
console.log(`[E2E] Starting onboarding`);
|
|
159
|
-
await
|
|
160
|
-
|
|
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) {
|