Skip to content

Commit 8a8f339

Browse files
committed
chore: update test project
1 parent bb615ce commit 8a8f339

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

packages/pluggableWidgets/rich-text-web/e2e/RichText.spec.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ test.describe("RichText", () => {
5454
await expect(page.locator(".mx-name-richText4")).toHaveScreenshot(`toolbarAdvancedMode.png`, {
5555
threshold: 0.4
5656
});
57+
58+
await page.click(".mx-name-richText1 .ql-toolbar button.ql-view-code");
59+
await expect(page.locator(".widget-rich-text .widget-rich-text-modal-body").first()).toHaveScreenshot(
60+
`viewCodeDialog.png`
61+
);
5762
});
5863

5964
test("compares with a screenshot baseline and checks if inline custom mode are rendered as expected", async ({
106 KB
Loading

packages/pluggableWidgets/rich-text-web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
"testProject": {
2626
"githubUrl": "https://github.com/mendix/testProjects",
27-
"branchName": "rich-text-v4-2"
27+
"branchName": "rich-text-v4-web"
2828
},
2929
"scripts": {
3030
"build": "cross-env MPKOUTPUT=RichText.mpk pluggable-widgets-tools build:web",

0 commit comments

Comments
 (0)