Project

General

Profile

Bug #46622

mgr/dashboard: e2e test timeouts on configuration.e2e-spec.ts

Added by Laura Paduano 3 months ago. Updated 16 days ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
-
Category:
dashboard/qa
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

Configuration page
    breadcrumb test
      ✓ should open and show breadcrumb (3351ms)
    fields check
      ✓ should verify that selected footer increases when an entry is clicked (1304ms)
      ✓ should check that details table opens (w/o tab header) (979ms)
    edit configuration test
      1) should click and edit a configuration and results should appear in the table
      2) "before each" hook for "should show only modified configurations" 
      3) "after each" hook for "should show only modified configurations" 
      4) "after all" hook for "should show only modified configurations" 

  3 passing (4m)
  4 failing

  1) Configuration page
       edit configuration test
         should click and edit a configuration and results should appear in the table:
     AssertionError: Timed out retrying: Expected to find element: `datatable-scroller, .empty-row`, but never found it.
      at ConfigurationPageHelper.PageHelper.waitDataTableToLoad (https://braggi13:41616/__cypress/tests?p=cypress/integration/cluster/configuration.e2e-spec.ts:274:12)
      at ConfigurationPageHelper.PageHelper.seachTable (https://braggi13:41616/__cypress/tests?p=cypress/integration/cluster/configuration.e2e-spec.ts:364:14)
      at ConfigurationPageHelper.edit (https://braggi13:41616/__cypress/tests?p=cypress/integration/cluster/configuration.e2e-spec.ts:156:14)
      at Context.eval (https://braggi13:41616/__cypress/tests?p=cypress/integration/cluster/configuration.e2e-spec.ts:37:27)

  2) Configuration page
       edit configuration test
         "before each" hook for "should show only modified configurations":
     CypressError: Timed out after waiting `60000ms` for your remote page to load.

Your page did not fire its `load` event within `60000ms`.

You can try increasing the `pageLoadTimeout` value in `cypress.json` to wait longer.

Browsers will not fire the `load` event until all stylesheets and scripts are done downloading.

When this `load` event occurs, Cypress will continue running commands.

Because this error occurred during a `before each` hook we are skipping the remaining tests in the current suite: `Configuration page`
      at timedOutWaitingForPageLoad (https://braggi13:41616/__cypress/runner/cypress_runner.js:155493:13)
      at https://braggi13:41616/__cypress/runner/cypress_runner.js:156469:16
      at tryCatcher (https://braggi13:41616/__cypress/runner/cypress_runner.js:10130:23)
      at https://braggi13:41616/__cypress/runner/cypress_runner.js:5252:41
      at tryCatcher (https://braggi13:41616/__cypress/runner/cypress_runner.js:10130:23)
      at Promise._settlePromiseFromHandler (https://braggi13:41616/__cypress/runner/cypress_runner.js:8065:31)
      at Promise._settlePromise (https://braggi13:41616/__cypress/runner/cypress_runner.js:8122:18)
      at Promise._settlePromise0 (https://braggi13:41616/__cypress/runner/cypress_runner.js:8167:10)
      at Promise._settlePromises (https://braggi13:41616/__cypress/runner/cypress_runner.js:8243:18)
      at _drainQueueStep (https://braggi13:41616/__cypress/runner/cypress_runner.js:4837:12)
      at _drainQueue (https://braggi13:41616/__cypress/runner/cypress_runner.js:4830:9)
      at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://braggi13:41616/__cypress/runner/cypress_runner.js:4846:5)
      at Async.drainQueues (https://braggi13:41616/__cypress/runner/cypress_runner.js:4716:14)
  From Your Spec Code:
      at ConfigurationPageHelper.PageHelper.navigateTo (https://braggi13:41616/__cypress/tests?p=cypress/integration/cluster/configuration.e2e-spec.ts:205:12)
      at Context.eval (https://braggi13:41616/__cypress/tests?p=cypress/integration/cluster/configuration.e2e-spec.ts:9:23)

See:
- https://jenkins.ceph.com/job/ceph-dashboard-pull-requests/4982/consoleFull


Related issues

Related to mgr - Bug #46623: mgr/dashboard: ui/navigation.e2e-spec.ts: AssertionError: Timed out retrying: Expected not to find content: 'Creating...' but continuously found it. Resolved

History

#1 Updated by Sebastian Wagner 3 months ago

  • Related to Bug #46623: mgr/dashboard: ui/navigation.e2e-spec.ts: AssertionError: Timed out retrying: Expected not to find content: 'Creating...' but continuously found it. added

#3 Updated by Tiago Melo 3 months ago

It looks like the cluster died while running the tests, since no page is loading.
Don't think we can do anything in the e2e side.

#4 Updated by Laura Paduano 16 days ago

  • Status changed from New to Can't reproduce

Also available in: Atom PDF