Skip to content

WIP: svelte5 port #1504

WIP: svelte5 port

WIP: svelte5 port #1504

Triggered via pull request December 13, 2024 15:55
@mgremingermgreminger
synchronize #305
svelte5
Status Success
Total duration 35m 7s
Artifacts 2

playwright.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 1 warning, and 1 notice
[chromium] › test_basic.spec.mjs:684:1 › Test exponents: tests/test_basic.spec.mjs#L689
1) [chromium] › test_basic.spec.mjs:684:1 › Test exponents ─────────────────────────────────────── TimeoutError: page.textContent: Timeout 120000ms exceeded. Call log: - waiting for locator('#result-units-0') 687 | await page.waitForSelector('text=Updating...', {state: 'detached'}); 688 | > 689 | let content = await page.textContent('#result-units-0'); | ^ 690 | expect(content).toBe('m'); 691 | 692 | await page.forceDeleteCell(0); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_basic.spec.mjs:689:28
[chromium] › test_basic.spec.mjs:1831:1 › Test error units applied to variable name: tests/test_basic.spec.mjs#L1832
2) [chromium] › test_basic.spec.mjs:1831:1 › Test error units applied to variable name ─────────── TimeoutError: locator.type: Timeout 120000ms exceeded. Call log: - waiting for locator('#cell-0').locator('math-field.editable') 1830 | 1831 | test('Test error units applied to variable name', async () => { > 1832 | await page.locator('#cell-0 >> math-field.editable').type("a[m]="); | ^ 1833 | 1834 | await expect(page.locator('#cell-0 >> text=Units cannot be applied directly to a variable name')).toBeVisible(); 1835 | }); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_basic.spec.mjs:1832:56
[chromium] › test_data_table.spec.mjs:505:1 › Test linear interpolation with scaled and offset units: tests/test_data_table.spec.mjs#L514
3) [chromium] › test_data_table.spec.mjs:505:1 › Test linear interpolation with scaled and offset units TimeoutError: locator.click: Timeout 120000ms exceeded. Call log: - waiting for locator('#data-table-input-1-0-0') 512 | await page.locator('#add-data-table-cell').click(); 513 | > 514 | await page.locator('#data-table-input-1-0-0').click(); | ^ 515 | 516 | await page.keyboard.type('0'); 517 | await page.keyboard.press('Tab'); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_data_table.spec.mjs:514:49
[chromium] › test_data_table.spec.mjs:549:1 › Test polyfit (quadratic and linear): tests/test_data_table.spec.mjs#L558
4) [chromium] › test_data_table.spec.mjs:549:1 › Test polyfit (quadratic and linear) ───────────── TimeoutError: locator.click: Timeout 120000ms exceeded. Call log: - waiting for locator('#add-col-1') 556 | await page.locator('#add-data-table-cell').click(); 557 | > 558 | await page.locator('#add-col-1').click(); | ^ 559 | 560 | await page.locator('#data-table-input-1-0-0').click(); 561 | at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_data_table.spec.mjs:558:36
[chromium] › test_data_table.spec.mjs:664:1 › Test excel file import with headers and no units: http:/127.0.0.1:8788/build/main-f3712019.js#L30
5) [chromium] › test_data_table.spec.mjs:664:1 › Test excel file import with headers and no units Error: page.evaluate: TypeError: Cannot read properties of null (reading 'setLatex') at window.setCellLatex (http://127.0.0.1:8788/build/main-f3712019.js:30:1366177) at eval (eval at evaluate (:226:30), <anonymous>:1:42) at UtilityScript.evaluate (<anonymous>:228:17) at UtilityScript.<anonymous> (<anonymous>:1:44) at window.setCellLatex (/home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/http:/127.0.0.1:8788/build/main-f3712019.js:30:1366177) at eval (/home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/eval at evaluate (:226:30), <anonymous>:1:42) at UtilityScript.evaluate (/home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/<anonymous>:228:17) at UtilityScript.<anonymous> (/home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/<anonymous>:1:44) at Page.setLatex (/home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/utility.mjs:35:16) at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_data_table.spec.mjs:668:14
[chromium] › test_fluid_properties.spec.mjs:230:1 › Test incompressible aqueous mass based mixture: tests/test_fluid_properties.spec.mjs#L234
6) [chromium] › test_fluid_properties.spec.mjs:230:1 › Test incompressible aqueous mass based mixture TimeoutError: locator.selectOption: Timeout 120000ms exceeded. Call log: - waiting for getByLabel('Fluid:') 232 | 233 | await page.locator('#add-fluid-cell').click(); > 234 | await page.getByLabel('Fluid:').selectOption({label: 'Ethylene Glycol - aq'}); | ^ 235 | await page.getByLabel('Output:').selectOption({label: 'C - Mass specific constant pressure specific heat - [J/kg/K]'}); 236 | await page.getByLabel('Concentration:').click({clickCount: 3}); 237 | await page.getByLabel('Concentration:').fill('0.3'); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_fluid_properties.spec.mjs:234:35
[chromium] › test_fluid_properties.spec.mjs:247:1 › Test compressible predefined mixture: tests/test_fluid_properties.spec.mjs#L251
7) [chromium] › test_fluid_properties.spec.mjs:247:1 › Test compressible predefined mixture ────── TimeoutError: locator.selectOption: Timeout 120000ms exceeded. Call log: - waiting for getByLabel('Fluid:') 249 | 250 | await page.locator('#add-fluid-cell').click(); > 251 | await page.getByLabel('Fluid:').selectOption('R410A.mix'); | ^ 252 | await page.getByLabel('Output:').selectOption({label: 'T - Temperature - [K]'}); 253 | await page.getByLabel('Input 1:').selectOption({label: 'P - Pressure - [Pa]'}); 254 | await page.getByLabel('Input 2:').selectOption({label: 'Q - Molar vapor quality - [mol/mol]'}); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_fluid_properties.spec.mjs:251:35
[chromium] › test_fluid_properties.spec.mjs:515:1 › Test PropsSI fluid function in numerical solve: tests/test_fluid_properties.spec.mjs#L517
8) [chromium] › test_fluid_properties.spec.mjs:515:1 › Test PropsSI fluid function in numerical solve TimeoutError: locator.type: Timeout 120000ms exceeded. Call log: - waiting for locator('#system-expression-1-0 math-field.editable') 515 | test('Test PropsSI fluid function in numerical solve', async () => { 516 | await page.locator('#add-system-cell').click(); > 517 | await page.locator('#system-expression-1-0 math-field.editable').type('AirSGivenTP(25[degC],1[atm])=AirSGivenHP(h,1[atm])'); | ^ 518 | await page.locator('#system-parameterlist-1 math-field.editable').type('h~4.2e5[J/kg'); 519 | await page.locator('#system-parameterlist-1 math-field.editable').press('ArrowRight'); 520 | await page.locator('#system-parameterlist-1 math-field.editable').type(']'); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_fluid_properties.spec.mjs:517:68
[chromium] › test_functions.spec.mjs:56:1 › Test cot: tests/test_functions.spec.mjs#L66
9) [chromium] › test_functions.spec.mjs:56:1 › Test cot, deg conversion with trig functions, and precidence with parens TimeoutError: page.waitForSelector: Timeout 120000ms exceeded. Call log: - waiting for locator('.status-footer') to be detached - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div class="status-footer svelte-1mx5mpn">…</div> - locator resolved to visible <div clas
[chromium] › test_functions.spec.mjs:243:1 › Test floor func: tests/test_functions.spec.mjs#L245
10) [chromium] › test_functions.spec.mjs:243:1 › Test floor func ───────────────────────────────── TimeoutError: locator.type: Timeout 120000ms exceeded. Call log: - waiting for locator('#cell-0').locator('math-field.editable') 243 | test('Test floor func', async ({ browserName }) => { 244 | > 245 | await page.locator('#cell-0 >> math-field.editable').type('floor(1.1)='); | ^ 246 | 247 | await page.locator('#add-math-cell').click(); 248 | await page.locator('#cell-1 >> math-field.editable').type('floor(1.6)='); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_functions.spec.mjs:245:56
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "screenshots", "test-results". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
🎭 Playwright Run Summary
23 flaky [chromium] › test_basic.spec.mjs:684:1 › Test exponents ──────────────────────────────────────── [chromium] › test_basic.spec.mjs:1831:1 › Test error units applied to variable name ──────────── [chromium] › test_data_table.spec.mjs:505:1 › Test linear interpolation with scaled and offset units [chromium] › test_data_table.spec.mjs:549:1 › Test polyfit (quadratic and linear) ────────────── [chromium] › test_data_table.spec.mjs:664:1 › Test excel file import with headers and no units ─ [chromium] › test_fluid_properties.spec.mjs:230:1 › Test incompressible aqueous mass based mixture [chromium] › test_fluid_properties.spec.mjs:247:1 › Test compressible predefined mixture ─────── [chromium] › test_fluid_properties.spec.mjs:515:1 › Test PropsSI fluid function in numerical solve [chromium] › test_functions.spec.mjs:56:1 › Test cot, deg conversion with trig functions, and precidence with parens [chromium] › test_functions.spec.mjs:243:1 › Test floor func ─────────────────────────────────── [chromium] › test_functions.spec.mjs:277:1 › Test round func ─────────────────────────────────── [chromium] › test_matrix_determinant.spec.mjs:36:1 › Determinant of large matrix with units ──── [chromium] › test_matrix_functions.spec.mjs:502:1 › Test average function for matrix with symbolic values [chromium] › test_matrix_functions.spec.mjs:568:1 › Test stdev function with matrix input ────── [chromium] › test_matrix_functions.spec.mjs:592:1 › Test stdev with only one input value ─────── [chromium] › test_matrix_inverse.spec.mjs:53:1 › Matrix exponent inverse with variable matrix ── [chromium] › test_matrix_inverse.spec.mjs:106:1 › Inverse for singular matrix ────────────────── [chromium] › test_matrix_keyboard.spec.mjs:52:1 › Matrix keyboard entry for two blank matrices ─ [chromium] › test_plotting.spec.mjs:110:1 › Test plot dims with 0 start of range ─────────────── [chromium] › test_system_solve.spec.mjs:413:1 › Test solve with extra variables ──────────────── [firefox] › test_custom_base_units.spec.mjs:133:1 › Test custom base units for plot cells ────── [firefox] › test_fluid_properties.spec.mjs:515:1 › Test PropsSI fluid function in numerical solve [firefox] › test_matrix_determinant.spec.mjs:48:1 › Determinant of matrix literal with symbolic entries 9 skipped 744 passed (28.9m)

Artifacts

Produced during runtime
Name Size
screenshots
15.9 MB
test-results Expired
528 MB