cb2150f33c
ref https://linear.app/tryghost/issue/MOM-108/ap-phase-two Added a WIP version of the Ghost-to-Ghost ActivityPub feature behind the feature flag. Enabling it will add a new item to the main sidebar nav that lets you interact with our ActivityPub mock API in the following ways: - Shows you the list of sites you follow - Shows you the list of sites that follow you - Shows you the articles published by sites you follow - Shows you activities (who followed you or liked your article) - Shows your liked articles Mock API can be easily updated to simulate working with different types of data and interactions.
11 lines
350 B
TypeScript
11 lines
350 B
TypeScript
import {expect, test} from '@playwright/test';
|
|
// import {mockApi, responseFixtures} from '@tryghost/admin-x-framework/test/acceptance';
|
|
|
|
test.describe('Demo', async () => {
|
|
test('Renders the list page', async ({page}) => {
|
|
await page.goto('/');
|
|
|
|
await expect(page.locator('body')).toContainText('ActivityPub Inbox');
|
|
});
|
|
});
|