mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
✨ Add login page as Page Object Model
This commit is contained in:
8
frontend/playwright/helpers/intercepts.js
Normal file
8
frontend/playwright/helpers/intercepts.js
Normal file
@@ -0,0 +1,8 @@
|
||||
import { interceptRPC } from "./index";
|
||||
|
||||
|
||||
export const setupNotLogedIn = async (page) => {
|
||||
await interceptRPC(page, "get-profile", "get-profile-anonymous.json");
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user