mirror of
https://github.com/penpot/penpot.git
synced 2025-06-24 10:27:01 +02:00
🐛 Fix mocking websockets when running multiple tests
This commit is contained in:
parent
575873eba7
commit
d43458ee89
5 changed files with 51 additions and 36 deletions
|
@ -6,7 +6,7 @@ test.beforeEach(async ({ page }) => {
|
|||
await WorkspacePage.init(page);
|
||||
});
|
||||
|
||||
test.skip("User loads worskpace with empty file", async ({ page }) => {
|
||||
test("User loads worskpace with empty file", async ({ page }) => {
|
||||
const workspacePage = new WorkspacePage(page);
|
||||
await workspacePage.setupEmptyFile(page);
|
||||
|
||||
|
@ -15,7 +15,7 @@ test.skip("User loads worskpace with empty file", async ({ page }) => {
|
|||
await expect(workspacePage.pageName).toHaveText("Page 1");
|
||||
});
|
||||
|
||||
test.skip("User receives presence notifications updates in the workspace", async ({ page }) => {
|
||||
test("User receives presence notifications updates in the workspace", async ({ page }) => {
|
||||
const workspacePage = new WorkspacePage(page);
|
||||
await workspacePage.setupEmptyFile();
|
||||
|
||||
|
@ -25,7 +25,7 @@ test.skip("User receives presence notifications updates in the workspace", async
|
|||
await expect(page.getByTestId("active-users-list").getByAltText("Princesa Leia")).toHaveCount(2);
|
||||
});
|
||||
|
||||
test.skip("User draws a rect", async ({ page }) => {
|
||||
test("User draws a rect", async ({ page }) => {
|
||||
const workspacePage = new WorkspacePage(page);
|
||||
await workspacePage.setupEmptyFile();
|
||||
await workspacePage.mockRPC("update-file?id=*", "workspace/update-file-create-rect.json");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue