-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
e2e-testingE2E testing utilities and infrastructureE2E testing utilities and infrastructurepriority:P0Critical priorityCritical prioritysprint-2Sprint 2 tasksSprint 2 tasks
Milestone
Description
Description
Extend WordPress's test fixture with the factory and export public API.
Acceptance Criteria
-
test.extend()addskernelfixture - All WordPress fixtures exposed:
requestUtils,admin,editor,pageUtils,page -
@geekist/wp-kernel-e2e-utilsexportstest,expect - TypeScript types exported:
KernelFixtures,KernelUtils - Package.json configured correctly
- Integration test with WordPress fixtures
Implementation Notes
export const test = base.extend({
kernel: async ({ page, requestUtils, admin, editor, pageUtils }, use) => {
await use(createKernelUtils({ page, requestUtils, admin, editor, pageUtils }));
}
});Dependencies
- Task 1: Core Factory Implementation
Estimate
0.5 day
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
e2e-testingE2E testing utilities and infrastructureE2E testing utilities and infrastructurepriority:P0Critical priorityCritical prioritysprint-2Sprint 2 tasksSprint 2 tasks