create-pw-core 0.0.4 → 0.0.5
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.
|
@@ -10,6 +10,7 @@ scenario('Verify advanced locators, actions and assertions in pw-core', async ({
|
|
|
10
10
|
// 1. Navigation and Title Verification
|
|
11
11
|
await loginPage.goto();
|
|
12
12
|
await loginPage.verifyTitle('PW-Core Workspace — Build, Test & Document');
|
|
13
|
+
await loginPage.waitForLoadState('networkidle');
|
|
13
14
|
|
|
14
15
|
// 2. Click action using options (hasText)
|
|
15
16
|
// This resolves the locator and filters it by the provided text before clicking
|
|
@@ -56,6 +56,7 @@ scenario('End-to-End User Flow on QECore App with Page Object Flows', async ({
|
|
|
56
56
|
expect(taskRows.getAll('title')).toContain('Demo Task');
|
|
57
57
|
|
|
58
58
|
// 4. Logout (automatic page usage)
|
|
59
|
+
await topNav.hover('workspaceDropdown');
|
|
59
60
|
await topNav.click('logoutBtn');
|
|
60
61
|
await loginPage.verifyURL();
|
|
61
62
|
await loginPage.verify('defaultUserLogin'); // Inbuilt visibility check
|