Skip to content

Commit 0803192

Browse files
committed
2.3.4 prep (tests)
1 parent 90d4be9 commit 0803192

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

tests/e2e/community-mocked.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ test.describe('Community - mocked AJAX flows', () => {
240240
});
241241

242242
test('authorized sites collapse duplicate site URLs', async ({ page }) => {
243+
test.skip(SKIP_CONNECTED_ON_CI, 'Authorized sites only render for a connected community user; not configured on CI yet.');
243244
await installCommunityAjaxMock(page);
244245
await page.goto(COMMUNITY_URL);
245246

tests/e2e/community.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const COMMUNITY_URL = '/wp-admin/admin.php?page=janzeman-shared-albums-for-googl
1919
// capture its JWT.
2020
// 2. Add JZSA_E2E_CONNECTED_JWT as a GitHub Actions secret and pass
2121
// it through to setup-fixtures.php in .github/workflows/tests.yml.
22-
// 3. Delete SKIP_CONNECTED_ON_CI and its four call sites below.
22+
// 3. Delete SKIP_CONNECTED_ON_CI and its call sites below.
2323
//
2424
// Affected describes: lines tagged with SKIP_CONNECTED_ON_CI.
2525
// =====================================================================
@@ -61,6 +61,7 @@ test.describe('Community - page structure', () => {
6161
});
6262

6363
test('page has the audience legend chips', async ({ page }) => {
64+
test.skip(SKIP_CONNECTED_ON_CI, 'Audience legend only renders for a connected community user; not configured on CI yet.');
6465
const chips = page.locator('.jzsa-community-audience-chip');
6566
await expect(chips).toHaveCount(2, { timeout: 10_000 });
6667
});

0 commit comments

Comments
 (0)