Skip to content

Commit 33de2b7

Browse files
committed
Updated chumsdemo
1 parent 2fde3be commit 33de2b7

File tree

11 files changed

+18
-18
lines changed

11 files changed

+18
-18
lines changed

playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default defineConfig({
1212
expect: { timeout: 5 * 1000 },
1313

1414
use: {
15-
baseURL: 'https://chumsdemo.churchapps.org',
15+
baseURL: 'https://demo.b1.church',
1616
trace: 'on-first-retry',
1717
screenshot: 'only-on-failure',
1818
video: 'retain-on-failure',

test_old/helpers/attendance-helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class AttendanceHelper {
3939
// Try direct navigation
4040
const currentUrl = page.url();
4141
if (!currentUrl.includes('/attendance')) {
42-
await page.goto('https://chumsdemo.churchapps.org/attendance');
42+
await page.goto('https://demo.b1.church/attendance');
4343
await page.waitForLoadState('networkidle');
4444
await page.waitForTimeout(2000);
4545
}

test_old/helpers/auth-helper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export class AuthHelper {
66
*/
77
static async login(page: Page, email = 'demo@chums.org', password = 'password') {
88
// Navigate to the login page
9-
await page.goto('https://chumsdemo.churchapps.org/');
9+
await page.goto('https://demo.b1.church/');
1010

1111
// Verify we're on the login page
1212
await expect(page).toHaveURL(/.*login/);
@@ -115,7 +115,7 @@ export class AuthHelper {
115115
* Navigate to the login page
116116
*/
117117
static async goToLogin(page: Page) {
118-
await page.goto('https://chumsdemo.churchapps.org/');
118+
await page.goto('https://demo.b1.church/');
119119
await expect(page).toHaveURL(/.*login/);
120120
}
121121
}

test_old/helpers/donations-helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export class DonationsHelper {
7373
}
7474

7575
// Try direct navigation
76-
await page.goto('https://chumsdemo.churchapps.org/funds');
76+
await page.goto('https://demo.b1.church/funds');
7777
await page.waitForLoadState('networkidle');
7878
console.log('Funds navigation completed');
7979
}

test_old/helpers/forms-helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class FormsHelper {
3939
// Try direct navigation
4040
const currentUrl = page.url();
4141
if (!currentUrl.includes('/forms')) {
42-
await page.goto('https://chumsdemo.churchapps.org/forms');
42+
await page.goto('https://demo.b1.church/forms');
4343
await page.waitForLoadState('networkidle');
4444
await page.waitForTimeout(2000);
4545
}

test_old/helpers/plans-helper.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export class PlansHelper {
3636
// Try direct navigation
3737
const currentUrl = page.url();
3838
if (!currentUrl.includes('/plans')) {
39-
await page.goto('https://chumsdemo.churchapps.org/plans');
39+
await page.goto('https://demo.b1.church/plans');
4040
await page.waitForLoadState('networkidle');
4141
await page.waitForTimeout(2000);
4242
}
@@ -63,7 +63,7 @@ export class PlansHelper {
6363
}
6464

6565
// Try direct navigation
66-
await page.goto('https://chumsdemo.churchapps.org/ministries');
66+
await page.goto('https://demo.b1.church/ministries');
6767
await page.waitForLoadState('networkidle');
6868
console.log('Ministries navigation completed');
6969
}
@@ -87,7 +87,7 @@ export class PlansHelper {
8787
}
8888

8989
// Try direct navigation
90-
await page.goto('https://chumsdemo.churchapps.org/songs');
90+
await page.goto('https://demo.b1.church/songs');
9191
await page.waitForLoadState('networkidle');
9292
console.log('Songs navigation completed');
9393
}

test_old/helpers/reports-helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export class ReportsHelper {
3636
// Try direct navigation
3737
const currentUrl = page.url();
3838
if (!currentUrl.includes('/reports')) {
39-
await page.goto('https://chumsdemo.churchapps.org/reports');
39+
await page.goto('https://demo.b1.church/reports');
4040
await page.waitForLoadState('networkidle');
4141
await page.waitForTimeout(2000);
4242
}

test_old/helpers/settings-helper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export class SettingsHelper {
3636
// Try direct navigation
3737
const currentUrl = page.url();
3838
if (!currentUrl.includes('/settings')) {
39-
await page.goto('https://chumsdemo.churchapps.org/settings');
39+
await page.goto('https://demo.b1.church/settings');
4040
await page.waitForLoadState('networkidle');
4141
await page.waitForTimeout(2000);
4242
}
@@ -63,7 +63,7 @@ export class SettingsHelper {
6363
}
6464

6565
// Try direct navigation
66-
await page.goto('https://chumsdemo.churchapps.org/roles');
66+
await page.goto('https://demo.b1.church/roles');
6767
await page.waitForLoadState('networkidle');
6868
console.log('Roles management navigation completed');
6969
}

test_old/helpers/tasks-helper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export class TasksHelper {
3636
// Try direct navigation
3737
const currentUrl = page.url();
3838
if (!currentUrl.includes('/tasks')) {
39-
await page.goto('https://chumsdemo.churchapps.org/tasks');
39+
await page.goto('https://demo.b1.church/tasks');
4040
await page.waitForLoadState('networkidle');
4141
await page.waitForTimeout(2000);
4242
}
@@ -63,7 +63,7 @@ export class TasksHelper {
6363
}
6464

6565
// Try direct navigation
66-
await page.goto('https://chumsdemo.churchapps.org/automations');
66+
await page.goto('https://demo.b1.church/automations');
6767
await page.waitForLoadState('networkidle');
6868
console.log('Automations navigation completed');
6969
}

test_old/login.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { AuthHelper } from './helpers/auth-helper';
44
test.describe('Login Page', () => {
55
test('should display form elements and accept credentials', async ({ page }) => {
66
// Navigate to the login page
7-
await page.goto('https://chumsdemo.churchapps.org/');
7+
await page.goto('https://demo.b1.church/');
88

99
// Verify we're on the login page
1010
await expect(page).toHaveURL(/.*login/);
@@ -30,7 +30,7 @@ test.describe('Login Page', () => {
3030

3131
test('should reject bad password and have forgot/reset password links', async ({ page }) => {
3232
// Navigate to the login page
33-
await page.goto('https://chumsdemo.churchapps.org/');
33+
await page.goto('https://demo.b1.church/');
3434

3535
// First test: Look for forgot password link
3636
const forgotPasswordSelectors = [

0 commit comments

Comments
 (0)