mirror of
https://github.com/penpot/penpot.git
synced 2025-05-17 00:16:12 +02:00
✨ Add login page as Page Object Model
This commit is contained in:
parent
7280dfd3f7
commit
832c1db63b
19 changed files with 143 additions and 85 deletions
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");
|
||||
|
||||
};
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue