Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
node-version: 22.x

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
node-version: 22.x

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: "23.x"
node-version: "22.x"

- name: Install dependencies
run: |
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
- uses: actions/checkout@v5
- uses: actions/setup-node@v4
with:
node-version: "23.x"
node-version: "22.x"

- name: Install dependencies
run: yarn install
Expand Down
3 changes: 3 additions & 0 deletions tests/e2e/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,16 @@ export default defineConfig({
viewport: { width: 1920, height: 1080 }
}
},
// WebKit on CI is flaky, so we run it only locally
/*
{
name: 'webkit',
use: {
...devices['Desktop Safari'],
viewport: { width: 1920, height: 1080 }
}
}
*/
],
outputDir: 'test-results',
timeout: 60_000,
Expand Down
6 changes: 5 additions & 1 deletion tests/e2e/tests/edit/edit_corner_cases.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ for (const editorName of editors) {
})

test(`MTHTML-97 Validate formula edition on styled text blocks: ${editorName} editor`, async ({ page }) => {
test.skip(editorName === 'generic' && test.info().project.name === 'firefox', 'Not possible to apply styles with shortcuts in generic editor on Firefox')

const { editor, wirisEditor } = await setupEditor(page, editorName)

await editor.open()
Expand Down Expand Up @@ -83,7 +85,9 @@ for (const editorName of editors) {
expect(isTextAfterEquation).toBeTruthy()
})

test(`MTHTML-100 User edits a formula deleted during edition: ${editorName} editor`, async ({ page }) => {
test(`MTHTML-100 User edits a formula deleted during edition: ${editorName} editor`, {tag: editorName === 'ckeditor5' ? ['@knownIssue'] : []}, async ({ page }) => {
test.fail(editorName === 'ckeditor5', 'Known issue in CKEditor5')

const { editor, wirisEditor } = await setupEditor(page, editorName)

await editor.open()
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/tests/insert/insert_corner_cases.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
await wirisEditor.waitUntilLoaded()
await wirisEditor.insertEquationUsingEntryForm(Equations.singleNumber.mathml)
await editor.waitForEquation(Equations.singleNumber)
await editor.type('12')
await editor.type('11')

const equationsInHTMLEditor = await editor.getEquations()
const isEquationPresent = equationsInHTMLEditor.some((equation: Equation) => equation.altText === Equations.singleNumber.altText)
Expand All @@ -82,7 +82,7 @@
// Visual regression: compare the editor area against a stored baseline to catch
// vertical misalignment between the formula image and the surrounding text.
const editArea = editor.getEditAreaLocator()
await expect(editArea).toHaveScreenshot(`alignment-${editorName}-${toolbar}.png`, {

Check failure on line 85 in tests/e2e/tests/insert/insert_corner_cases.spec.ts

View workflow job for this annotation

GitHub Actions / E2E Tests - generic

[firefox] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - generic editor - ChemType › MTHTML-23 Validate formula alignment: generic editor @generic @regression

4) [firefox] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - generic editor - ChemType › MTHTML-23 Validate formula alignment: generic editor @Generic @regression Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) failed Locator: locator('#editable') Expected an image 750px by 54px, received 750px by 50px. 176 pixels (ratio 0.01 of all image pixels) are different. Snapshot: alignment-generic-ChemType.png Call log: - Expect "toHaveScreenshot(alignment-generic-ChemType.png)" with timeout 10000ms - verifying given screenshot expectation - waiting for locator('#editable') - locator resolved to <div id="editable" contenteditable="true">…</div> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - Expected an image 750px by 54px, received 750px by 50px. 176 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('#editable') - locator resolved to <div id="editable" contenteditable="true">…</div> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - Expected an image 750px by 54px, received 750px by 50px. 176 pixels (ratio 0.01 of all image pixels) are different. 83 | // vertical misalignment between the formula image and the surrounding text. 84 | const editArea = editor.getEditAreaLocator() > 85 | await expect(editArea).toHaveScreenshot(`alignment-${editorName}-${toolbar}.png`, { | ^ 86 | // Allow up to 0.1 % of pixels to differ (sub-pixel rendering, font hinting, etc.) 87 | maxDiffPixelRatio: 0.001, 88 | }) at /home/runner/work/html-integrations/html-integrations/tests/e2e/tests/insert/insert_corner_cases.spec.ts:85:32

Check failure on line 85 in tests/e2e/tests/insert/insert_corner_cases.spec.ts

View workflow job for this annotation

GitHub Actions / E2E Tests - generic

[firefox] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - generic editor - MathType › MTHTML-23 Validate formula alignment: generic editor @generic @regression

3) [firefox] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - generic editor - MathType › MTHTML-23 Validate formula alignment: generic editor @Generic @regression Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) failed Locator: locator('#editable') Expected an image 750px by 54px, received 750px by 50px. 176 pixels (ratio 0.01 of all image pixels) are different. Snapshot: alignment-generic-MathType.png Call log: - Expect "toHaveScreenshot(alignment-generic-MathType.png)" with timeout 10000ms - verifying given screenshot expectation - waiting for locator('#editable') - locator resolved to <div id="editable" contenteditable="true">…</div> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - Expected an image 750px by 54px, received 750px by 50px. 176 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('#editable') - locator resolved to <div id="editable" contenteditable="true">…</div> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - Expected an image 750px by 54px, received 750px by 50px. 176 pixels (ratio 0.01 of all image pixels) are different. 83 | // vertical misalignment between the formula image and the surrounding text. 84 | const editArea = editor.getEditAreaLocator() > 85 | await expect(editArea).toHaveScreenshot(`alignment-${editorName}-${toolbar}.png`, { | ^ 86 | // Allow up to 0.1 % of pixels to differ (sub-pixel rendering, font hinting, etc.) 87 | maxDiffPixelRatio: 0.001, 88 | }) at /home/runner/work/html-integrations/html-integrations/tests/e2e/tests/insert/insert_corner_cases.spec.ts:85:32

Check failure on line 85 in tests/e2e/tests/insert/insert_corner_cases.spec.ts

View workflow job for this annotation

GitHub Actions / E2E Tests - froala

[firefox] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - froala editor - ChemType › MTHTML-23 Validate formula alignment: froala editor @froala @regression

2) [firefox] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - froala editor - ChemType › MTHTML-23 Validate formula alignment: froala editor @froala @regression Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) failed Locator: locator('.fr-element') 110 pixels (ratio 0.01 of all image pixels) are different. Snapshot: alignment-froala-ChemType.png Call log: - Expect "toHaveScreenshot(alignment-froala-ChemType.png)" with timeout 10000ms - verifying given screenshot expectation - waiting for locator('.fr-element') - locator resolved to <div dir="auto" spellcheck="true" aria-disabled="false" contenteditable="true" class="fr-element fr-view">…</div> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 110 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('.fr-element') - locator resolved to <div dir="auto" spellcheck="true" aria-disabled="false" contenteditable="true" class="fr-element fr-view">…</div> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 110 pixels (ratio 0.01 of all image pixels) are different. 83 | // vertical misalignment between the formula image and the surrounding text. 84 | const editArea = editor.getEditAreaLocator() > 85 | await expect(editArea).toHaveScreenshot(`alignment-${editorName}-${toolbar}.png`, { | ^ 86 | // Allow up to 0.1 % of pixels to differ (sub-pixel rendering, font hinting, etc.) 87 | maxDiffPixelRatio: 0.001, 88 | }) at /home/runner/work/html-integrations/html-integrations/tests/e2e/tests/insert/insert_corner_cases.spec.ts:85:32

Check failure on line 85 in tests/e2e/tests/insert/insert_corner_cases.spec.ts

View workflow job for this annotation

GitHub Actions / E2E Tests - froala

[firefox] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - froala editor - MathType › MTHTML-23 Validate formula alignment: froala editor @froala @regression

1) [firefox] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - froala editor - MathType › MTHTML-23 Validate formula alignment: froala editor @froala @regression Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) failed Locator: locator('.fr-element') 110 pixels (ratio 0.01 of all image pixels) are different. Snapshot: alignment-froala-MathType.png Call log: - Expect "toHaveScreenshot(alignment-froala-MathType.png)" with timeout 10000ms - verifying given screenshot expectation - waiting for locator('.fr-element') - locator resolved to <div dir="auto" spellcheck="true" aria-disabled="false" contenteditable="true" class="fr-element fr-view">…</div> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 110 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('.fr-element') - locator resolved to <div dir="auto" spellcheck="true" aria-disabled="false" contenteditable="true" class="fr-element fr-view">…</div> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 110 pixels (ratio 0.01 of all image pixels) are different. 83 | // vertical misalignment between the formula image and the surrounding text. 84 | const editArea = editor.getEditAreaLocator() > 85 | await expect(editArea).toHaveScreenshot(`alignment-${editorName}-${toolbar}.png`, { | ^ 86 | // Allow up to 0.1 % of pixels to differ (sub-pixel rendering, font hinting, etc.) 87 | maxDiffPixelRatio: 0.001, 88 | }) at /home/runner/work/html-integrations/html-integrations/tests/e2e/tests/insert/insert_corner_cases.spec.ts:85:32

Check failure on line 85 in tests/e2e/tests/insert/insert_corner_cases.spec.ts

View workflow job for this annotation

GitHub Actions / E2E Tests - ckeditor4

[firefox] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - ckeditor4 editor - ChemType › MTHTML-23 Validate formula alignment: ckeditor4 editor @ckeditor4 @regression

2) [firefox] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - ckeditor4 editor - ChemType › MTHTML-23 Validate formula alignment: ckeditor4 editor @ckeditor4 @regression Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) failed Locator: locator('iframe[title=\'Editor, editor\']').contentFrame().locator('body') 99 pixels (ratio 0.01 of all image pixels) are different. Snapshot: alignment-ckeditor4-ChemType.png Call log: - Expect "toHaveScreenshot(alignment-ckeditor4-ChemType.png)" with timeout 10000ms - verifying given screenshot expectation - waiting for locator('iframe[title=\'Editor, editor\']').contentFrame().locator('body') - locator resolved to <body role="textbox" spellcheck="false" aria-multiline="true" aria-readonly="false" contenteditable="true" aria-label="Editor, editor" class="cke_editable cke_editable_themed cke_contents_ltr cke_show_borders">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 99 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('iframe[title=\'Editor, editor\']').contentFrame().locator('body') - locator resolved to <body role="textbox" spellcheck="false" aria-multiline="true" aria-readonly="false" contenteditable="true" aria-label="Editor, editor" class="cke_editable cke_editable_themed cke_contents_ltr cke_show_borders">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 99 pixels (ratio 0.01 of all image pixels) are different. 83 | // vertical misalignment between the formula image and the surrounding text. 84 | const editArea = editor.getEditAreaLocator() > 85 | await expect(editArea).toHaveScreenshot(`alignment-${editorName}-${toolbar}.png`, { | ^ 86 | // Allow up to 0.1 % of pixels to differ (sub-pixel rendering, font hinting, etc.) 87 | maxDiffPixelRatio: 0.001, 88 | }) at /home/runner/work/html-integrations/html-integrations/tests/e2e/tests/insert/insert_corner_cases.spec.ts:85:32

Check failure on line 85 in tests/e2e/tests/insert/insert_corner_cases.spec.ts

View workflow job for this annotation

GitHub Actions / E2E Tests - ckeditor4

[firefox] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - ckeditor4 editor - MathType › MTHTML-23 Validate formula alignment: ckeditor4 editor @ckeditor4 @regression

1) [firefox] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - ckeditor4 editor - MathType › MTHTML-23 Validate formula alignment: ckeditor4 editor @ckeditor4 @regression Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) failed Locator: locator('iframe[title=\'Editor, editor\']').contentFrame().locator('body') 99 pixels (ratio 0.01 of all image pixels) are different. Snapshot: alignment-ckeditor4-MathType.png Call log: - Expect "toHaveScreenshot(alignment-ckeditor4-MathType.png)" with timeout 10000ms - verifying given screenshot expectation - waiting for locator('iframe[title=\'Editor, editor\']').contentFrame().locator('body') - locator resolved to <body role="textbox" spellcheck="false" aria-multiline="true" aria-readonly="false" contenteditable="true" aria-label="Editor, editor" class="cke_editable cke_editable_themed cke_contents_ltr cke_show_borders">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 99 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('iframe[title=\'Editor, editor\']').contentFrame().locator('body') - locator resolved to <body role="textbox" spellcheck="false" aria-multiline="true" aria-readonly="false" contenteditable="true" aria-label="Editor, editor" class="cke_editable cke_editable_themed cke_contents_ltr cke_show_borders">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 99 pixels (ratio 0.01 of all image pixels) are different. 83 | // vertical misalignment between the formula image and the surrounding text. 84 | const editArea = editor.getEditAreaLocator() > 85 | await expect(editArea).toHaveScreenshot(`alignment-${editorName}-${toolbar}.png`, { | ^ 86 | // Allow up to 0.1 % of pixels to differ (sub-pixel rendering, font hinting, etc.) 87 | maxDiffPixelRatio: 0.001, 88 | }) at /home/runner/work/html-integrations/html-integrations/tests/e2e/tests/insert/insert_corner_cases.spec.ts:85:32

Check failure on line 85 in tests/e2e/tests/insert/insert_corner_cases.spec.ts

View workflow job for this annotation

GitHub Actions / E2E Tests - tinymce5

[firefox] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - tinymce5 editor - ChemType › MTHTML-23 Validate formula alignment: tinymce5 editor @tinymce5 @regression

4) [firefox] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - tinymce5 editor - ChemType › MTHTML-23 Validate formula alignment: tinymce5 editor @tinymce5 @regression Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) failed Locator: locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') 147 pixels (ratio 0.01 of all image pixels) are different. Snapshot: alignment-tinymce5-ChemType.png Call log: - Expect "toHaveScreenshot(alignment-tinymce5-ChemType.png)" with timeout 10000ms - verifying given screenshot expectation - waiting for locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') - locator resolved to <body id="tinymce" data-id="editor" spellcheck="false" contenteditable="true" class="mce-content-body " aria-label="Rich Text Area. Press ALT-0 for help.">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 147 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') - locator resolved to <body id="tinymce" data-id="editor" spellcheck="false" contenteditable="true" class="mce-content-body " aria-label="Rich Text Area. Press ALT-0 for help.">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 147 pixels (ratio 0.01 of all image pixels) are different. 83 | // vertical misalignment between the formula image and the surrounding text. 84 | const editArea = editor.getEditAreaLocator() > 85 | await expect(editArea).toHaveScreenshot(`alignment-${editorName}-${toolbar}.png`, { | ^ 86 | // Allow up to 0.1 % of pixels to differ (sub-pixel rendering, font hinting, etc.) 87 | maxDiffPixelRatio: 0.001, 88 | }) at /home/runner/work/html-integrations/html-integrations/tests/e2e/tests/insert/insert_corner_cases.spec.ts:85:32

Check failure on line 85 in tests/e2e/tests/insert/insert_corner_cases.spec.ts

View workflow job for this annotation

GitHub Actions / E2E Tests - tinymce5

[firefox] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - tinymce5 editor - MathType › MTHTML-23 Validate formula alignment: tinymce5 editor @tinymce5 @regression

3) [firefox] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - tinymce5 editor - MathType › MTHTML-23 Validate formula alignment: tinymce5 editor @tinymce5 @regression Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) failed Locator: locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') 147 pixels (ratio 0.01 of all image pixels) are different. Snapshot: alignment-tinymce5-MathType.png Call log: - Expect "toHaveScreenshot(alignment-tinymce5-MathType.png)" with timeout 10000ms - verifying given screenshot expectation - waiting for locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') - locator resolved to <body id="tinymce" data-id="editor" spellcheck="false" contenteditable="true" class="mce-content-body " aria-label="Rich Text Area. Press ALT-0 for help.">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 147 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') - locator resolved to <body id="tinymce" data-id="editor" spellcheck="false" contenteditable="true" class="mce-content-body " aria-label="Rich Text Area. Press ALT-0 for help.">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 147 pixels (ratio 0.01 of all image pixels) are different. 83 | // vertical misalignment between the formula image and the surrounding text. 84 | const editArea = editor.getEditAreaLocator() > 85 | await expect(editArea).toHaveScreenshot(`alignment-${editorName}-${toolbar}.png`, { | ^ 86 | // Allow up to 0.1 % of pixels to differ (sub-pixel rendering, font hinting, etc.) 87 | maxDiffPixelRatio: 0.001, 88 | }) at /home/runner/work/html-integrations/html-integrations/tests/e2e/tests/insert/insert_corner_cases.spec.ts:85:32

Check failure on line 85 in tests/e2e/tests/insert/insert_corner_cases.spec.ts

View workflow job for this annotation

GitHub Actions / E2E Tests - tinymce5

[chromium] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - tinymce5 editor - ChemType › MTHTML-23 Validate formula alignment: tinymce5 editor @tinymce5 @regression

2) [chromium] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - tinymce5 editor - ChemType › MTHTML-23 Validate formula alignment: tinymce5 editor @tinymce5 @regression Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) failed Locator: locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') 217 pixels (ratio 0.02 of all image pixels) are different. Snapshot: alignment-tinymce5-ChemType.png Call log: - Expect "toHaveScreenshot(alignment-tinymce5-ChemType.png)" with timeout 10000ms - verifying given screenshot expectation - waiting for locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') - locator resolved to <body id="tinymce" data-id="editor" spellcheck="false" contenteditable="true" class="mce-content-body " aria-label="Rich Text Area. Press ALT-0 for help.">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 217 pixels (ratio 0.02 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') - locator resolved to <body id="tinymce" data-id="editor" spellcheck="false" contenteditable="true" class="mce-content-body " aria-label="Rich Text Area. Press ALT-0 for help.">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 217 pixels (ratio 0.02 of all image pixels) are different. 83 | // vertical misalignment between the formula image and the surrounding text. 84 | const editArea = editor.getEditAreaLocator() > 85 | await expect(editArea).toHaveScreenshot(`alignment-${editorName}-${toolbar}.png`, { | ^ 86 | // Allow up to 0.1 % of pixels to differ (sub-pixel rendering, font hinting, etc.) 87 | maxDiffPixelRatio: 0.001, 88 | }) at /home/runner/work/html-integrations/html-integrations/tests/e2e/tests/insert/insert_corner_cases.spec.ts:85:32

Check failure on line 85 in tests/e2e/tests/insert/insert_corner_cases.spec.ts

View workflow job for this annotation

GitHub Actions / E2E Tests - tinymce5

[chromium] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - tinymce5 editor - MathType › MTHTML-23 Validate formula alignment: tinymce5 editor @tinymce5 @regression

1) [chromium] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - tinymce5 editor - MathType › MTHTML-23 Validate formula alignment: tinymce5 editor @tinymce5 @regression Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) failed Locator: locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') 217 pixels (ratio 0.02 of all image pixels) are different. Snapshot: alignment-tinymce5-MathType.png Call log: - Expect "toHaveScreenshot(alignment-tinymce5-MathType.png)" with timeout 10000ms - verifying given screenshot expectation - waiting for locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') - locator resolved to <body id="tinymce" data-id="editor" spellcheck="false" contenteditable="true" class="mce-content-body " aria-label="Rich Text Area. Press ALT-0 for help.">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 217 pixels (ratio 0.02 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') - locator resolved to <body id="tinymce" data-id="editor" spellcheck="false" contenteditable="true" class="mce-content-body " aria-label="Rich Text Area. Press ALT-0 for help.">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 217 pixels (ratio 0.02 of all image pixels) are different. 83 | // vertical misalignment between the formula image and the surrounding text. 84 | const editArea = editor.getEditAreaLocator() > 85 | await expect(editArea).toHaveScreenshot(`alignment-${editorName}-${toolbar}.png`, { | ^ 86 | // Allow up to 0.1 % of pixels to differ (sub-pixel rendering, font hinting, etc.) 87 | maxDiffPixelRatio: 0.001, 88 | }) at /home/runner/work/html-integrations/html-integrations/tests/e2e/tests/insert/insert_corner_cases.spec.ts:85:32

Check failure on line 85 in tests/e2e/tests/insert/insert_corner_cases.spec.ts

View workflow job for this annotation

GitHub Actions / E2E Tests - tinymce6

[firefox] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - tinymce6 editor - ChemType › MTHTML-23 Validate formula alignment: tinymce6 editor @tinymce6 @regression

4) [firefox] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - tinymce6 editor - ChemType › MTHTML-23 Validate formula alignment: tinymce6 editor @tinymce6 @regression Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) failed Locator: locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') 147 pixels (ratio 0.01 of all image pixels) are different. Snapshot: alignment-tinymce6-ChemType.png Call log: - Expect "toHaveScreenshot(alignment-tinymce6-ChemType.png)" with timeout 10000ms - verifying given screenshot expectation - waiting for locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') - locator resolved to <body id="tinymce" data-id="editor" spellcheck="false" contenteditable="true" class="mce-content-body " aria-label="Rich Text Area. Press ALT-0 for help.">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 147 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') - locator resolved to <body id="tinymce" data-id="editor" spellcheck="false" contenteditable="true" class="mce-content-body " aria-label="Rich Text Area. Press ALT-0 for help.">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 147 pixels (ratio 0.01 of all image pixels) are different. 83 | // vertical misalignment between the formula image and the surrounding text. 84 | const editArea = editor.getEditAreaLocator() > 85 | await expect(editArea).toHaveScreenshot(`alignment-${editorName}-${toolbar}.png`, { | ^ 86 | // Allow up to 0.1 % of pixels to differ (sub-pixel rendering, font hinting, etc.) 87 | maxDiffPixelRatio: 0.001, 88 | }) at /home/runner/work/html-integrations/html-integrations/tests/e2e/tests/insert/insert_corner_cases.spec.ts:85:32

Check failure on line 85 in tests/e2e/tests/insert/insert_corner_cases.spec.ts

View workflow job for this annotation

GitHub Actions / E2E Tests - tinymce6

[firefox] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - tinymce6 editor - MathType › MTHTML-23 Validate formula alignment: tinymce6 editor @tinymce6 @regression

3) [firefox] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - tinymce6 editor - MathType › MTHTML-23 Validate formula alignment: tinymce6 editor @tinymce6 @regression Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) failed Locator: locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') 147 pixels (ratio 0.01 of all image pixels) are different. Snapshot: alignment-tinymce6-MathType.png Call log: - Expect "toHaveScreenshot(alignment-tinymce6-MathType.png)" with timeout 10000ms - verifying given screenshot expectation - waiting for locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') - locator resolved to <body id="tinymce" data-id="editor" spellcheck="false" contenteditable="true" class="mce-content-body " aria-label="Rich Text Area. Press ALT-0 for help.">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 147 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') - locator resolved to <body id="tinymce" data-id="editor" spellcheck="false" contenteditable="true" class="mce-content-body " aria-label="Rich Text Area. Press ALT-0 for help.">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 147 pixels (ratio 0.01 of all image pixels) are different. 83 | // vertical misalignment between the formula image and the surrounding text. 84 | const editArea = editor.getEditAreaLocator() > 85 | await expect(editArea).toHaveScreenshot(`alignment-${editorName}-${toolbar}.png`, { | ^ 86 | // Allow up to 0.1 % of pixels to differ (sub-pixel rendering, font hinting, etc.) 87 | maxDiffPixelRatio: 0.001, 88 | }) at /home/runner/work/html-integrations/html-integrations/tests/e2e/tests/insert/insert_corner_cases.spec.ts:85:32

Check failure on line 85 in tests/e2e/tests/insert/insert_corner_cases.spec.ts

View workflow job for this annotation

GitHub Actions / E2E Tests - tinymce6

[chromium] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - tinymce6 editor - ChemType › MTHTML-23 Validate formula alignment: tinymce6 editor @tinymce6 @regression

2) [chromium] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - tinymce6 editor - ChemType › MTHTML-23 Validate formula alignment: tinymce6 editor @tinymce6 @regression Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) failed Locator: locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') 217 pixels (ratio 0.02 of all image pixels) are different. Snapshot: alignment-tinymce6-ChemType.png Call log: - Expect "toHaveScreenshot(alignment-tinymce6-ChemType.png)" with timeout 10000ms - verifying given screenshot expectation - waiting for locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') - locator resolved to <body id="tinymce" data-id="editor" spellcheck="false" contenteditable="true" class="mce-content-body " aria-label="Rich Text Area. Press ALT-0 for help.">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 217 pixels (ratio 0.02 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') - locator resolved to <body id="tinymce" data-id="editor" spellcheck="false" contenteditable="true" class="mce-content-body " aria-label="Rich Text Area. Press ALT-0 for help.">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 217 pixels (ratio 0.02 of all image pixels) are different. 83 | // vertical misalignment between the formula image and the surrounding text. 84 | const editArea = editor.getEditAreaLocator() > 85 | await expect(editArea).toHaveScreenshot(`alignment-${editorName}-${toolbar}.png`, { | ^ 86 | // Allow up to 0.1 % of pixels to differ (sub-pixel rendering, font hinting, etc.) 87 | maxDiffPixelRatio: 0.001, 88 | }) at /home/runner/work/html-integrations/html-integrations/tests/e2e/tests/insert/insert_corner_cases.spec.ts:85:32

Check failure on line 85 in tests/e2e/tests/insert/insert_corner_cases.spec.ts

View workflow job for this annotation

GitHub Actions / E2E Tests - tinymce6

[chromium] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - tinymce6 editor - MathType › MTHTML-23 Validate formula alignment: tinymce6 editor @tinymce6 @regression

1) [chromium] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - tinymce6 editor - MathType › MTHTML-23 Validate formula alignment: tinymce6 editor @tinymce6 @regression Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) failed Locator: locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') 217 pixels (ratio 0.02 of all image pixels) are different. Snapshot: alignment-tinymce6-MathType.png Call log: - Expect "toHaveScreenshot(alignment-tinymce6-MathType.png)" with timeout 10000ms - verifying given screenshot expectation - waiting for locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') - locator resolved to <body id="tinymce" data-id="editor" spellcheck="false" contenteditable="true" class="mce-content-body " aria-label="Rich Text Area. Press ALT-0 for help.">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 217 pixels (ratio 0.02 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') - locator resolved to <body id="tinymce" data-id="editor" spellcheck="false" contenteditable="true" class="mce-content-body " aria-label="Rich Text Area. Press ALT-0 for help.">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 217 pixels (ratio 0.02 of all image pixels) are different. 83 | // vertical misalignment between the formula image and the surrounding text. 84 | const editArea = editor.getEditAreaLocator() > 85 | await expect(editArea).toHaveScreenshot(`alignment-${editorName}-${toolbar}.png`, { | ^ 86 | // Allow up to 0.1 % of pixels to differ (sub-pixel rendering, font hinting, etc.) 87 | maxDiffPixelRatio: 0.001, 88 | }) at /home/runner/work/html-integrations/html-integrations/tests/e2e/tests/insert/insert_corner_cases.spec.ts:85:32

Check failure on line 85 in tests/e2e/tests/insert/insert_corner_cases.spec.ts

View workflow job for this annotation

GitHub Actions / E2E Tests - tinymce8

[firefox] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - tinymce8 editor - ChemType › MTHTML-23 Validate formula alignment: tinymce8 editor @tinymce8 @regression

4) [firefox] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - tinymce8 editor - ChemType › MTHTML-23 Validate formula alignment: tinymce8 editor @tinymce8 @regression Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) failed Locator: locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') 147 pixels (ratio 0.01 of all image pixels) are different. Snapshot: alignment-tinymce8-ChemType.png Call log: - Expect "toHaveScreenshot(alignment-tinymce8-ChemType.png)" with timeout 10000ms - verifying given screenshot expectation - waiting for locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') - locator resolved to <body id="tinymce" data-id="editor" spellcheck="false" contenteditable="true" class="mce-content-body ">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 147 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') - locator resolved to <body id="tinymce" data-id="editor" spellcheck="false" contenteditable="true" class="mce-content-body ">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 147 pixels (ratio 0.01 of all image pixels) are different. 83 | // vertical misalignment between the formula image and the surrounding text. 84 | const editArea = editor.getEditAreaLocator() > 85 | await expect(editArea).toHaveScreenshot(`alignment-${editorName}-${toolbar}.png`, { | ^ 86 | // Allow up to 0.1 % of pixels to differ (sub-pixel rendering, font hinting, etc.) 87 | maxDiffPixelRatio: 0.001, 88 | }) at /home/runner/work/html-integrations/html-integrations/tests/e2e/tests/insert/insert_corner_cases.spec.ts:85:32

Check failure on line 85 in tests/e2e/tests/insert/insert_corner_cases.spec.ts

View workflow job for this annotation

GitHub Actions / E2E Tests - tinymce8

[firefox] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - tinymce8 editor - MathType › MTHTML-23 Validate formula alignment: tinymce8 editor @tinymce8 @regression

3) [firefox] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - tinymce8 editor - MathType › MTHTML-23 Validate formula alignment: tinymce8 editor @tinymce8 @regression Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) failed Locator: locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') 147 pixels (ratio 0.01 of all image pixels) are different. Snapshot: alignment-tinymce8-MathType.png Call log: - Expect "toHaveScreenshot(alignment-tinymce8-MathType.png)" with timeout 10000ms - verifying given screenshot expectation - waiting for locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') - locator resolved to <body id="tinymce" data-id="editor" spellcheck="false" contenteditable="true" class="mce-content-body ">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 147 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') - locator resolved to <body id="tinymce" data-id="editor" spellcheck="false" contenteditable="true" class="mce-content-body ">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 147 pixels (ratio 0.01 of all image pixels) are different. 83 | // vertical misalignment between the formula image and the surrounding text. 84 | const editArea = editor.getEditAreaLocator() > 85 | await expect(editArea).toHaveScreenshot(`alignment-${editorName}-${toolbar}.png`, { | ^ 86 | // Allow up to 0.1 % of pixels to differ (sub-pixel rendering, font hinting, etc.) 87 | maxDiffPixelRatio: 0.001, 88 | }) at /home/runner/work/html-integrations/html-integrations/tests/e2e/tests/insert/insert_corner_cases.spec.ts:85:32

Check failure on line 85 in tests/e2e/tests/insert/insert_corner_cases.spec.ts

View workflow job for this annotation

GitHub Actions / E2E Tests - tinymce8

[chromium] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - tinymce8 editor - ChemType › MTHTML-23 Validate formula alignment: tinymce8 editor @tinymce8 @regression

2) [chromium] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - tinymce8 editor - ChemType › MTHTML-23 Validate formula alignment: tinymce8 editor @tinymce8 @regression Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) failed Locator: locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') 217 pixels (ratio 0.02 of all image pixels) are different. Snapshot: alignment-tinymce8-ChemType.png Call log: - Expect "toHaveScreenshot(alignment-tinymce8-ChemType.png)" with timeout 10000ms - verifying given screenshot expectation - waiting for locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') - locator resolved to <body id="tinymce" data-id="editor" spellcheck="false" contenteditable="true" class="mce-content-body " aria-label="Rich Text Area">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 217 pixels (ratio 0.02 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') - locator resolved to <body id="tinymce" data-id="editor" spellcheck="false" contenteditable="true" class="mce-content-body " aria-label="Rich Text Area">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 217 pixels (ratio 0.02 of all image pixels) are different. 83 | // vertical misalignment between the formula image and the surrounding text. 84 | const editArea = editor.getEditAreaLocator() > 85 | await expect(editArea).toHaveScreenshot(`alignment-${editorName}-${toolbar}.png`, { | ^ 86 | // Allow up to 0.1 % of pixels to differ (sub-pixel rendering, font hinting, etc.) 87 | maxDiffPixelRatio: 0.001, 88 | }) at /home/runner/work/html-integrations/html-integrations/tests/e2e/tests/insert/insert_corner_cases.spec.ts:85:32

Check failure on line 85 in tests/e2e/tests/insert/insert_corner_cases.spec.ts

View workflow job for this annotation

GitHub Actions / E2E Tests - tinymce8

[chromium] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - tinymce8 editor - MathType › MTHTML-23 Validate formula alignment: tinymce8 editor @tinymce8 @regression

1) [chromium] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - tinymce8 editor - MathType › MTHTML-23 Validate formula alignment: tinymce8 editor @tinymce8 @regression Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) failed Locator: locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') 217 pixels (ratio 0.02 of all image pixels) are different. Snapshot: alignment-tinymce8-MathType.png Call log: - Expect "toHaveScreenshot(alignment-tinymce8-MathType.png)" with timeout 10000ms - verifying given screenshot expectation - waiting for locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') - locator resolved to <body id="tinymce" data-id="editor" spellcheck="false" contenteditable="true" class="mce-content-body " aria-label="Rich Text Area">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 217 pixels (ratio 0.02 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') - locator resolved to <body id="tinymce" data-id="editor" spellcheck="false" contenteditable="true" class="mce-content-body " aria-label="Rich Text Area">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 217 pixels (ratio 0.02 of all image pixels) are different. 83 | // vertical misalignment between the formula image and the surrounding text. 84 | const editArea = editor.getEditAreaLocator() > 85 | await expect(editArea).toHaveScreenshot(`alignment-${editorName}-${toolbar}.png`, { | ^ 86 | // Allow up to 0.1 % of pixels to differ (sub-pixel rendering, font hinting, etc.) 87 | maxDiffPixelRatio: 0.001, 88 | }) at /home/runner/work/html-integrations/html-integrations/tests/e2e/tests/insert/insert_corner_cases.spec.ts:85:32

Check failure on line 85 in tests/e2e/tests/insert/insert_corner_cases.spec.ts

View workflow job for this annotation

GitHub Actions / E2E Tests - tinymce7

[firefox] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - tinymce7 editor - ChemType › MTHTML-23 Validate formula alignment: tinymce7 editor @tinymce7 @regression

5) [firefox] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - tinymce7 editor - ChemType › MTHTML-23 Validate formula alignment: tinymce7 editor @tinymce7 @regression Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) failed Locator: locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') 147 pixels (ratio 0.01 of all image pixels) are different. Snapshot: alignment-tinymce7-ChemType.png Call log: - Expect "toHaveScreenshot(alignment-tinymce7-ChemType.png)" with timeout 10000ms - verifying given screenshot expectation - waiting for locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') - locator resolved to <body id="tinymce" data-id="editor" spellcheck="false" contenteditable="true" class="mce-content-body " aria-label="Rich Text Area">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 147 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') - locator resolved to <body id="tinymce" data-id="editor" spellcheck="false" contenteditable="true" class="mce-content-body " aria-label="Rich Text Area">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 147 pixels (ratio 0.01 of all image pixels) are different. 83 | // vertical misalignment between the formula image and the surrounding text. 84 | const editArea = editor.getEditAreaLocator() > 85 | await expect(editArea).toHaveScreenshot(`alignment-${editorName}-${toolbar}.png`, { | ^ 86 | // Allow up to 0.1 % of pixels to differ (sub-pixel rendering, font hinting, etc.) 87 | maxDiffPixelRatio: 0.001, 88 | }) at /home/runner/work/html-integrations/html-integrations/tests/e2e/tests/insert/insert_corner_cases.spec.ts:85:32

Check failure on line 85 in tests/e2e/tests/insert/insert_corner_cases.spec.ts

View workflow job for this annotation

GitHub Actions / E2E Tests - tinymce7

[firefox] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - tinymce7 editor - MathType › MTHTML-23 Validate formula alignment: tinymce7 editor @tinymce7 @regression

4) [firefox] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - tinymce7 editor - MathType › MTHTML-23 Validate formula alignment: tinymce7 editor @tinymce7 @regression Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) failed Locator: locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') 147 pixels (ratio 0.01 of all image pixels) are different. Snapshot: alignment-tinymce7-MathType.png Call log: - Expect "toHaveScreenshot(alignment-tinymce7-MathType.png)" with timeout 10000ms - verifying given screenshot expectation - waiting for locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') - locator resolved to <body id="tinymce" data-id="editor" spellcheck="false" contenteditable="true" class="mce-content-body " aria-label="Rich Text Area">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 147 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') - locator resolved to <body id="tinymce" data-id="editor" spellcheck="false" contenteditable="true" class="mce-content-body " aria-label="Rich Text Area">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 147 pixels (ratio 0.01 of all image pixels) are different. 83 | // vertical misalignment between the formula image and the surrounding text. 84 | const editArea = editor.getEditAreaLocator() > 85 | await expect(editArea).toHaveScreenshot(`alignment-${editorName}-${toolbar}.png`, { | ^ 86 | // Allow up to 0.1 % of pixels to differ (sub-pixel rendering, font hinting, etc.) 87 | maxDiffPixelRatio: 0.001, 88 | }) at /home/runner/work/html-integrations/html-integrations/tests/e2e/tests/insert/insert_corner_cases.spec.ts:85:32

Check failure on line 85 in tests/e2e/tests/insert/insert_corner_cases.spec.ts

View workflow job for this annotation

GitHub Actions / E2E Tests - tinymce7

[chromium] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - tinymce7 editor - ChemType › MTHTML-23 Validate formula alignment: tinymce7 editor @tinymce7 @regression

2) [chromium] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - tinymce7 editor - ChemType › MTHTML-23 Validate formula alignment: tinymce7 editor @tinymce7 @regression Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) failed Locator: locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') 217 pixels (ratio 0.02 of all image pixels) are different. Snapshot: alignment-tinymce7-ChemType.png Call log: - Expect "toHaveScreenshot(alignment-tinymce7-ChemType.png)" with timeout 10000ms - verifying given screenshot expectation - waiting for locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') - locator resolved to <body id="tinymce" data-id="editor" spellcheck="false" contenteditable="true" class="mce-content-body " aria-label="Rich Text Area">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 217 pixels (ratio 0.02 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') - locator resolved to <body id="tinymce" data-id="editor" spellcheck="false" contenteditable="true" class="mce-content-body " aria-label="Rich Text Area">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 217 pixels (ratio 0.02 of all image pixels) are different. 83 | // vertical misalignment between the formula image and the surrounding text. 84 | const editArea = editor.getEditAreaLocator() > 85 | await expect(editArea).toHaveScreenshot(`alignment-${editorName}-${toolbar}.png`, { | ^ 86 | // Allow up to 0.1 % of pixels to differ (sub-pixel rendering, font hinting, etc.) 87 | maxDiffPixelRatio: 0.001, 88 | }) at /home/runner/work/html-integrations/html-integrations/tests/e2e/tests/insert/insert_corner_cases.spec.ts:85:32

Check failure on line 85 in tests/e2e/tests/insert/insert_corner_cases.spec.ts

View workflow job for this annotation

GitHub Actions / E2E Tests - tinymce7

[chromium] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - tinymce7 editor - MathType › MTHTML-23 Validate formula alignment: tinymce7 editor @tinymce7 @regression

1) [chromium] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - tinymce7 editor - MathType › MTHTML-23 Validate formula alignment: tinymce7 editor @tinymce7 @regression Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) failed Locator: locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') 217 pixels (ratio 0.02 of all image pixels) are different. Snapshot: alignment-tinymce7-MathType.png Call log: - Expect "toHaveScreenshot(alignment-tinymce7-MathType.png)" with timeout 10000ms - verifying given screenshot expectation - waiting for locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') - locator resolved to <body id="tinymce" data-id="editor" spellcheck="false" contenteditable="true" class="mce-content-body " aria-label="Rich Text Area">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 217 pixels (ratio 0.02 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('iframe[id=\'editor_ifr\']').contentFrame().locator('body') - locator resolved to <body id="tinymce" data-id="editor" spellcheck="false" contenteditable="true" class="mce-content-body " aria-label="Rich Text Area">…</body> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 217 pixels (ratio 0.02 of all image pixels) are different. 83 | // vertical misalignment between the formula image and the surrounding text. 84 | const editArea = editor.getEditAreaLocator() > 85 | await expect(editArea).toHaveScreenshot(`alignment-${editorName}-${toolbar}.png`, { | ^ 86 | // Allow up to 0.1 % of pixels to differ (sub-pixel rendering, font hinting, etc.) 87 | maxDiffPixelRatio: 0.001, 88 | }) at /home/runner/work/html-integrations/html-integrations/tests/e2e/tests/insert/insert_corner_cases.spec.ts:85:32

Check failure on line 85 in tests/e2e/tests/insert/insert_corner_cases.spec.ts

View workflow job for this annotation

GitHub Actions / E2E Tests - ckeditor5

[firefox] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - ckeditor5 editor - ChemType › MTHTML-23 Validate formula alignment: ckeditor5 editor @ckeditor5 @regression

3) [firefox] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - ckeditor5 editor - ChemType › MTHTML-23 Validate formula alignment: ckeditor5 editor @CKEditor5 @regression Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) failed Locator: locator('.ck-editor__editable') 626 pixels (ratio 0.01 of all image pixels) are different. Snapshot: alignment-ckeditor5-ChemType.png Call log: - Expect "toHaveScreenshot(alignment-ckeditor5-ChemType.png)" with timeout 10000ms - verifying given screenshot expectation - waiting for locator('.ck-editor__editable') - locator resolved to <div lang="en" dir="ltr" role="textbox" contenteditable="true" aria-label="Rich Text Editor. Editing area: main. Press Alt+0 for help." class="ck ck-content ck-editor__editable ck-rounded-corners ck-editor__editable_inline ck-focused">…</div> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 626 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('.ck-editor__editable') - locator resolved to <div lang="en" dir="ltr" role="textbox" contenteditable="true" aria-label="Rich Text Editor. Editing area: main. Press Alt+0 for help." class="ck ck-content ck-editor__editable ck-rounded-corners ck-editor__editable_inline ck-focused">…</div> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 626 pixels (ratio 0.01 of all image pixels) are different. 83 | // vertical misalignment between the formula image and the surrounding text. 84 | const editArea = editor.getEditAreaLocator() > 85 | await expect(editArea).toHaveScreenshot(`alignment-${editorName}-${toolbar}.png`, { | ^ 86 | // Allow up to 0.1 % of pixels to differ (sub-pixel rendering, font hinting, etc.) 87 | maxDiffPixelRatio: 0.001, 88 | }) at /home/runner/work/html-integrations/html-integrations/tests/e2e/tests/insert/insert_corner_cases.spec.ts:85:32

Check failure on line 85 in tests/e2e/tests/insert/insert_corner_cases.spec.ts

View workflow job for this annotation

GitHub Actions / E2E Tests - ckeditor5

[firefox] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - ckeditor5 editor - MathType › MTHTML-23 Validate formula alignment: ckeditor5 editor @ckeditor5 @regression

2) [firefox] › tests/e2e/tests/insert/insert_corner_cases.spec.ts:66:11 › Insert equation (corner cases) - ckeditor5 editor - MathType › MTHTML-23 Validate formula alignment: ckeditor5 editor @CKEditor5 @regression Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) failed Locator: locator('.ck-editor__editable') 626 pixels (ratio 0.01 of all image pixels) are different. Snapshot: alignment-ckeditor5-MathType.png Call log: - Expect "toHaveScreenshot(alignment-ckeditor5-MathType.png)" with timeout 10000ms - verifying given screenshot expectation - waiting for locator('.ck-editor__editable') - locator resolved to <div lang="en" dir="ltr" role="textbox" contenteditable="true" aria-label="Rich Text Editor. Editing area: main. Press Alt+0 for help." class="ck ck-content ck-editor__editable ck-rounded-corners ck-editor__editable_inline ck-focused">…</div> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 626 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('.ck-editor__editable') - locator resolved to <div lang="en" dir="ltr" role="textbox" contenteditable="true" aria-label="Rich Text Editor. Editing area: main. Press Alt+0 for help." class="ck ck-content ck-editor__editable ck-rounded-corners ck-editor__editable_inline ck-focused">…</div> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 626 pixels (ratio 0.01 of all image pixels) are different. 83 | // vertical misalignment between the formula image and the surrounding text. 84 | const editArea = editor.getEditAreaLocator() > 85 | await expect(editArea).toHaveScreenshot(`alignment-${editorName}-${toolbar}.png`, { | ^ 86 | // Allow up to 0.1 % of pixels to differ (sub-pixel rendering, font hinting, etc.) 87 | maxDiffPixelRatio: 0.001, 88 | }) at /home/runner/work/html-integrations/html-integrations/tests/e2e/tests/insert/insert_corner_cases.spec.ts:85:32
// Allow up to 0.1 % of pixels to differ (sub-pixel rendering, font hinting, etc.)
maxDiffPixelRatio: 0.001,
})
Expand Down
Loading