Skip to content

Commit

Permalink
Revert "tmp: disable edit menu due to colision in ubuntu CI test"
Browse files Browse the repository at this point in the history
This reverts commit 1bc41ad.
  • Loading branch information
LatentDream committed Apr 16, 2024
1 parent c7206ef commit 768bcc9
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions playwright-test/07_block_context_menu.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,21 +46,21 @@ test.describe("Block context menu", () => {
).toBeVisible();
});

// test("Should open block edit menu upon clicking Edit block", async () => {
// // Click on Edit block button from context menu
// await window.getByTestId(Selectors.contextEditBlockBtn).click();
//
// // Select all param div
// const params = await window.$$(
// `[data-testid="${Selectors.blockEditParam}"]`,
// );
//
// // Expect 5 parameters for SINE block
// expect(params).toHaveLength(5);
//
// // Close the block edit menu
// await window.getByTestId(Selectors.blockEditMenuCloseBtn).click();
// });
test("Should open block edit menu upon clicking Edit block", async () => {
// Click on Edit block button from context menu
await window.getByTestId(Selectors.contextEditBlockBtn).click();

// Select all param div
const params = await window.$$(
`[data-testid="${Selectors.blockEditParam}"]`,
);

// Expect 5 parameters for SINE block
expect(params).toHaveLength(5);

// Close the block edit menu
await window.getByTestId(Selectors.blockEditMenuCloseBtn).click();
});

test("Should open block info modal", async () => {
// Right click on `SINE` block
Expand Down

0 comments on commit 768bcc9

Please sign in to comment.