Skip to content

fix issues and add test cases #1352

fix issues and add test cases

fix issues and add test cases #1352

Triggered via push August 28, 2024 20:06
Status Failure
Total duration 31m 24s
Artifacts 1

e2e.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 7 warnings, and 4 notices
[chrome] › recordset/histogram-facet.spec.ts:67:9 › Testing features for range picker facet types with histograms › Testing facet: int_col: chaise/test/e2e/specs/delete-prohibited/recordset/histogram-facet.spec.ts#L84
1) [chrome] › recordset/histogram-facet.spec.ts:67:9 › Testing features for range picker facet types with histograms › Testing facet: int_col Error: Timed out 15000ms waiting for expect(locator).toHaveCount(expected) Locator: locator('.facet-panel button.collapsed') Expected: 4 Received: 3 Call log: - expect.soft.toHaveCount with timeout 15000ms - waiting for locator('.facet-panel button.collapsed') - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" 82 | 83 | await RecordsetLocators.getFacetHeaderButtonById(RecordsetLocators.getFacetById(page, 0), 0).click(); > 84 | await expect.soft(RecordsetLocators.getClosedFacets(page)).toHaveCount(testParams.totalNumFacets); | ^ 85 | }); 86 | 87 | await test.step(`should have ${testParams.totalNumFacets} facets with correct names`, async () => { at /home/runner/work/chaise/chaise/chaise/test/e2e/specs/delete-prohibited/recordset/histogram-facet.spec.ts:84:68 at /home/runner/work/chaise/chaise/chaise/test/e2e/specs/delete-prohibited/recordset/histogram-facet.spec.ts:78:7
[chrome] › recordset/histogram-facet.spec.ts:67:9 › Testing features for range picker facet types with histograms › Testing facet: int_col: chaise/test/e2e/specs/delete-prohibited/recordset/histogram-facet.spec.ts#L208
1) [chrome] › recordset/histogram-facet.spec.ts:67:9 › Testing features for range picker facet types with histograms › Testing facet: int_col Error: Timed out 15000ms waiting for expect(locator).toBeVisible() Locator: locator('.fc-0').locator('.accordion-collapse') Expected: visible Received: hidden Call log: - expect.soft.toBeVisible with timeout 15000ms - waiting for locator('.fc-0').locator('.accordion-collapse') - locator resolved to <div class="accordion-collapse collapse">…</div> - unexpected value "hidden" - locator resolved to <div class="accordion-collapse collapse">…</div> - unexpected value "hidden" - locator resolved to <div class="accordion-collapse collapse">…</div> - unexpected value "hidden" - locator resolved to <div class="accordion-collapse collapse">…</div> - unexpected value "hidden" - locator resolved to <div class="accordion-collapse collapse">…</div> - unexpected value "hidden" - locator resolved to <div class="accordion-collapse collapse">…</div> - unexpected value "hidden" - locator resolved to <div class="accordion-collapse collapse">…</div> - unexpected value "hidden" - locator resolved to <div class="accordion-collapse collapse">…</div> - unexpected value "hidden" - locator resolved to <div class="accordion-collapse collapse">…</div> - unexpected value "hidden" - locator resolved to <div class="accordion-collapse collapse">…</div> - unexpected value "hidden" - locator resolved to <div class="accordion-collapse collapse">…</div> - unexpected value "hidden" - locator resolved to <div class="accordion-collapse collapse">…</div> - unexpected value "hidden" - locator resolved to <div class="accordion-collapse collapse">…</div> - unexpected value "hidden" - locator resolved to <div class="accordion-collapse collapse">…</div> - unexpected value "hidden" - locator resolved to <div class="accordion-collapse collapse">…</div> - unexpected value "hidden" - locator resolved to <div class="accordion-collapse collapse">…</div> - unexpected value "hidden" - locator resolved to <div class="accordion-collapse collapse">…</div> - unexpected value "hidden" - locator resolved to <div class="accordion-collapse collapse">…</div> - unexpected value "hidden" - locator resolved to <div class="accordion-collapse collapse">…</div> - unexpected value "hidden" 206 | await test.step('should have a histogram displayed with min/max inputs filled in.', async () => { 207 | // wait for facet to open > 208 | await expect.soft(RecordsetLocators.getFacetCollapse(facet)).toBeVisible(); | ^ 209 | await expect.soft(rangeInputs.submit).toBeVisible(); 210 | 211 | // wait for histogram at /home/runner/work/chaise/chaise/chaise/test/e2e/specs/delete-prohibited/recordset/histogram-facet.spec.ts:208:72 at /home/runner/work/chaise/chaise/chaise/test/e2e/specs/delete-prohibited/recordset/histogram-facet.spec.ts:206:20
[chrome] › recordset/histogram-facet.spec.ts:67:9 › Testing features for range picker facet types with histograms › Testing facet: int_col: chaise/test/e2e/specs/delete-prohibited/recordset/histogram-facet.spec.ts#L209
1) [chrome] › recordset/histogram-facet.spec.ts:67:9 › Testing features for range picker facet types with histograms › Testing facet: int_col Error: Timed out 15000ms waiting for expect(locator).toBeVisible() Locator: locator('.fc-0').locator('.range-input-submit-btn') Expected: visible Received: hidden Call log: - expect.soft.toBeVisible with timeout 15000ms - waiting for locator('.fc-0').locator('.range-input-submit-btn') - locator resolved to <button type="submit" class="chaise-btn chaise-btn-primary range-input-submit-btn">…</button> - unexpected value "hidden" - locator resolved to <button type="submit" class="chaise-btn chaise-btn-primary range-input-submit-btn">…</button> - unexpected value "hidden" - locator resolved to <button type="submit" class="chaise-btn chaise-btn-primary range-input-submit-btn">…</button> - unexpected value "hidden" - locator resolved to <button type="submit" class="chaise-btn chaise-btn-primary range-input-submit-btn">…</button> - unexpected value "hidden" - locator resolved to <button type="submit" class="chaise-btn chaise-btn-primary range-input-submit-btn">…</button> - unexpected value "hidden" - locator resolved to <button type="submit" class="chaise-btn chaise-btn-primary range-input-submit-btn">…</button> - unexpected value "hidden" - locator resolved to <button type="submit" class="chaise-btn chaise-btn-primary range-input-submit-btn">…</button> - unexpected value "hidden" - locator resolved to <button type="submit" class="chaise-btn chaise-btn-primary range-input-submit-btn">…</button> - unexpected value "hidden" - locator resolved to <button type="submit" class="chaise-btn chaise-btn-primary range-input-submit-btn">…</button> - unexpected value "hidden" - locator resolved to <button type="submit" class="chaise-btn chaise-btn-primary range-input-submit-btn">…</button> - unexpected value "hidden" - locator resolved to <button type="submit" class="chaise-btn chaise-btn-primary range-input-submit-btn">…</button> - unexpected value "hidden" - locator resolved to <button type="submit" class="chaise-btn chaise-btn-primary range-input-submit-btn">…</button> - unexpected value "hidden" - locator resolved to <button type="submit" class="chaise-btn chaise-btn-primary range-input-submit-btn">…</button> - unexpected value "hidden" - locator resolved to <button type="submit" class="chaise-btn chaise-btn-primary range-input-submit-btn">…</button> - unexpected value "hidden" - locator resolved to <button type="submit" class="chaise-btn chaise-btn-primary range-input-submit-btn">…</button> - unexpected value "hidden" - locator resolved to <button type="submit" class="chaise-btn chaise-btn-primary range-input-submit-btn">…</button> - unexpected value "hidden" - locator resolved to <button type="submit" class="chaise-btn chaise-btn-primary range-input-submit-btn">…</button> - unexpected value "hidden" - locator resolved to <button type="submit" class="chaise-btn chaise-btn-primary range-input-submit-btn">…</button> - unexpected value "hidden" - locator resolved to <button type="submit" class="chaise-btn chaise-btn-primary range-input-submit-btn">…</button> - unexpected value "hidden" 207 | // wait for facet to open 208 | await expect.soft(RecordsetLocators.getFacetCollapse(facet)).toBeVisible(); > 209 | await expect.soft(rangeInputs.submit).toBeVisible(); | ^ 210 | 211 | // wait for histogram 212 | await expect.soft(RecordsetLocators.getFacetHistogram(facet)).toBeVisible(); at /home/runner/work/chaise/chaise/chaise/test/e2e/specs/delete-prohibited/recordset/histogram-facet.spec.ts:209:49 at /home/runner/wor
[chrome] › recordset/histogram-facet.spec.ts:67:9 › Testing features for range picker facet types with histograms › Testing facet: int_col: chaise/test/e2e/specs/delete-prohibited/recordset/histogram-facet.spec.ts#L1
1) [chrome] › recordset/histogram-facet.spec.ts:67:9 › Testing features for range picker facet types with histograms › Testing facet: int_col Test timeout of 60000ms exceeded.
[chrome] › recordset/histogram-facet.spec.ts:67:9 › Testing features for range picker facet types with histograms › Testing facet: int_col: chaise/test/e2e/specs/delete-prohibited/recordset/histogram-facet.spec.ts#L212
1) [chrome] › recordset/histogram-facet.spec.ts:67:9 › Testing features for range picker facet types with histograms › Testing facet: int_col Error: expect(locator).toBeVisible() Locator: locator('.fc-0').locator('.js-plotly-plot') Expected: visible Received: <element(s) not found> Call log: - expect.soft.toBeVisible with timeout 15000ms - waiting for locator('.fc-0').locator('.js-plotly-plot') 210 | 211 | // wait for histogram > 212 | await expect.soft(RecordsetLocators.getFacetHistogram(facet)).toBeVisible(); | ^ 213 | 214 | // type with `as string` since we know only timestamp_col will be an object 215 | await testRangePickerInputsAfterZoom( at /home/runner/work/chaise/chaise/chaise/test/e2e/specs/delete-prohibited/recordset/histogram-facet.spec.ts:212:73 at /home/runner/work/chaise/chaise/chaise/test/e2e/specs/delete-prohibited/recordset/histogram-facet.spec.ts:206:9
[chrome] › recordset/histogram-facet.spec.ts:67:9 › Testing features for range picker facet types with histograms › Testing facet: int_col: chaise/test/e2e/utils/recordset-utils.ts#L287
1) [chrome] › recordset/histogram-facet.spec.ts:67:9 › Testing features for range picker facet types with histograms › Testing facet: int_col Error: expect.soft.toHaveValue: Target page, context or browser has been closed at ../../utils/recordset-utils.ts:287 285 | await expect.soft(input).toHaveValue(new RegExp(truncatedVal)); 286 | } else { > 287 | await expect.soft(input).toHaveValue(expectedVal); | ^ 288 | } 289 | }; 290 | at testInputValue (/home/runner/work/chaise/chaise/chaise/test/e2e/utils/recordset-utils.ts:287:30) at testRangePickerInputsAfterZoom (/home/runner/work/chaise/chaise/chaise/test/e2e/utils/recordset-utils.ts:299:9) at /home/runner/work/chaise/chaise/chaise/test/e2e/specs/delete-prohibited/recordset/histogram-facet.spec.ts:215:47 at /home/runner/work/chaise/chaise/chaise/test/e2e/specs/delete-prohibited/recordset/histogram-facet.spec.ts:206:9
[chrome] › recordset/histogram-facet.spec.ts:67:9 › Testing features for range picker facet types with histograms › Testing facet: int_col: chaise/test/e2e/utils/recordset-utils.ts#L287
1) [chrome] › recordset/histogram-facet.spec.ts:67:9 › Testing features for range picker facet types with histograms › Testing facet: int_col Error: expect.soft.toHaveValue: Target page, context or browser has been closed at ../../utils/recordset-utils.ts:287 285 | await expect.soft(input).toHaveValue(new RegExp(truncatedVal)); 286 | } else { > 287 | await expect.soft(input).toHaveValue(expectedVal); | ^ 288 | } 289 | }; 290 | at testInputValue (/home/runner/work/chaise/chaise/chaise/test/e2e/utils/recordset-utils.ts:287:30) at testRangePickerInputsAfterZoom (/home/runner/work/chaise/chaise/chaise/test/e2e/utils/recordset-utils.ts:300:9) at /home/runner/work/chaise/chaise/chaise/test/e2e/specs/delete-prohibited/recordset/histogram-facet.spec.ts:215:11 at /home/runner/work/chaise/chaise/chaise/test/e2e/specs/delete-prohibited/recordset/histogram-facet.spec.ts:206:9
[chrome] › recordset/histogram-facet.spec.ts:67:9 › Testing features for range picker facet types with histograms › Testing facet: int_col: chaise/test/e2e/specs/delete-prohibited/recordset/histogram-facet.spec.ts#L224
1) [chrome] › recordset/histogram-facet.spec.ts:67:9 › Testing features for range picker facet types with histograms › Testing facet: int_col Error: expect.soft.toHaveCount: Target page, context or browser has been closed 222 | 223 | await test.step('unzoom should be disabled, clicking zoom should zoom in and enable the unzoom button.', async () => { > 224 | await expect.soft(histogramButtons.unzoomDisabled).toHaveCount(1); | ^ 225 | 226 | await histogramButtons.zoom.click(); 227 | at /home/runner/work/chaise/chaise/chaise/test/e2e/specs/delete-prohibited/recordset/histogram-facet.spec.ts:224:62 at /home/runner/work/chaise/chaise/chaise/test/e2e/specs/delete-prohibited/recordset/histogram-facet.spec.ts:223:20
[chrome] › recordset/histogram-facet.spec.ts:67:9 › Testing features for range picker facet types with histograms › Testing facet: int_col: chaise/test/e2e/specs/delete-prohibited/recordset/histogram-facet.spec.ts#L226
1) [chrome] › recordset/histogram-facet.spec.ts:67:9 › Testing features for range picker facet types with histograms › Testing facet: int_col Error: locator.click: Target page, context or browser has been closed 224 | await expect.soft(histogramButtons.unzoomDisabled).toHaveCount(1); 225 | > 226 | await histogramButtons.zoom.click(); | ^ 227 | 228 | await expect.soft(RecordsetLocators.getFacetSpinner(facet)).not.toBeVisible(); 229 | await expect.soft(histogramButtons.unzoomDisabled).toHaveCount(0); at /home/runner/work/chaise/chaise/chaise/test/e2e/specs/delete-prohibited/recordset/histogram-facet.spec.ts:226:39 at /home/runner/work/chaise/chaise/chaise/test/e2e/specs/delete-prohibited/recordset/histogram-facet.spec.ts:223:9
[chrome] › recordset/histogram-facet.spec.ts:67:9 › Testing features for range picker facet types with histograms › Testing facet: float_col: chaise/test/e2e/specs/delete-prohibited/recordset/histogram-facet.spec.ts#L84
2) [chrome] › recordset/histogram-facet.spec.ts:67:9 › Testing features for range picker facet types with histograms › Testing facet: float_col › should have rows and facets visible Error: Timed out 15000ms waiting for expect(locator).toHaveCount(expected) Locator: locator('.facet-panel button.collapsed') Expected: 4 Received: 3 Call log: - expect.soft.toHaveCount with timeout 15000ms - waiting for locator('.facet-panel button.collapsed') - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" - locator resolved to 3 elements - unexpected value "3" 82 | 83 | await RecordsetLocators.getFacetHeaderButtonById(RecordsetLocators.getFacetById(page, 0), 0).click(); > 84 | await expect.soft(RecordsetLocators.getClosedFacets(page)).toHaveCount(testParams.totalNumFacets); | ^ 85 | }); 86 | 87 | await test.step(`should have ${testParams.totalNumFacets} facets with correct names`, async () => { at /home/runner/work/chaise/chaise/chaise/test/e2e/specs/delete-prohibited/recordset/histogram-facet.spec.ts:84:68 at /home/runner/work/chaise/chaise/chaise/test/e2e/specs/delete-prohibited/recordset/histogram-facet.spec.ts:78:7
install-and-test
Process completed with exit code 1.
install-and-test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
install-and-test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-java@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Slow Test: chaise/[chrome] › recordset/facet-presentation.spec.ts#L1
chaise/[chrome] › recordset/facet-presentation.spec.ts took 20.8s
Slow Test: chaise/[chrome] › multi-form-input/multi-form-input-create.spec.ts#L1
chaise/[chrome] › multi-form-input/multi-form-input-create.spec.ts took 25.2s
Slow Test: chaise/[chrome] › multi-form-input/multi-form-input-clone.spec.ts#L1
chaise/[chrome] › multi-form-input/multi-form-input-clone.spec.ts took 22.3s
Slow Test: chaise/[chrome] › record/related-table.spec.ts#L1
chaise/[chrome] › record/related-table.spec.ts took 1.5m
Slow Test: chaise/[chrome] › acls/dynamic-acl.spec.include.ts#L1
chaise/[chrome] › acls/dynamic-acl.spec.include.ts took 16.3s
🎭 Playwright Run Summary
1 skipped 28 passed (38.6s)
🎭 Playwright Run Summary
6 failed [chrome] › recordset/histogram-facet.spec.ts:67:9 › Testing features for range picker facet types with histograms › Testing facet: int_col [chrome] › recordset/histogram-facet.spec.ts:67:9 › Testing features for range picker facet types with histograms › Testing facet: float_col [chrome] › recordset/histogram-facet.spec.ts:67:9 › Testing features for range picker facet types with histograms › Testing facet: date_col [chrome] › recordset/histogram-facet.spec.ts:67:9 › Testing features for range picker facet types with histograms › Testing facet: timestamp_col [chrome] › recordset/misc-facet.spec.ts:839:9 › Other facet features › navigating to record and recordedit app with facets › in recordedit app, foreign key popup should have facets available [chrome] › recordset/misc-facet.spec.ts:895:9 › Other facet features › navigating to record and recordedit app with facets › in record app, association add popup should have facets available 1 skipped 51 passed (2.4m)
🎭 Playwright Run Summary
3 skipped 16 passed (32.5s)
🎭 Playwright Run Summary
2 skipped 72 passed (2.9m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
1.55 MB