Skip to content

[CI Failure]: TimeoutError: waiting for selector .e2e-test-modal-close-button to be hidden failed: timeout 30000ms exceeded #23457

@jayam04

Description

@jayam04

CI Test Type

Acceptance

Which CI step failed?

exploration-creator/preview-math-interactions

Stacktrace

FAIL core/tests/puppeteer-acceptance-tests/specs/exploration-creator/preview-math-interactions.spec.ts (921.333 s)
  Exploration Editor
    ✓ should be able to preview "Fraction Input" interaction (106584 ms)
    ✓ should be able to preview "Graph Theory" interaction (144801 ms)
    ✓ should be able to preview "Set Input" interaction (105043 ms)
    ✓ should be able to preview "Numeric Expression" interaction (129929 ms)
    ✓ should be able to preview "Algebric Expression" intreaction (129496 ms)
    ✓ should be able to preview "Math Equation" interaction (127850 ms)
    ✕ should be able to preview "Number With Units" interaction (81297 ms)
    ✕ should be able to preview "Ratio Expression Input" interaction (33336 ms)

  ● Exploration Editor › should be able to preview "Number With Units" interaction

    TimeoutError: waiting for selector `.e2e-test-modal-close-button` to be hidden failed: timeout 30000ms exceeded

      1211 |   ): Promise<void> {
      1212 |     const options = visibility ? {visible: true} : {hidden: true};
    > 1213 |     await context.waitForSelector(selector, options);
           |                   ^
      1214 |     showMessage(`Element ${selector} is ${visibility ? 'visible' : 'hidden'}.`);
      1215 |   }
      1216 |

      at new WaitTask (../../../node_modules/puppeteer/src/common/DOMWorld.ts:813:28)
      at DOMWorld.waitForSelectorInPage (../../../node_modules/puppeteer/src/common/DOMWorld.ts:656:22)
      at Object.internalHandler.waitFor (../../../node_modules/puppeteer/src/common/QueryHandler.ts:78:19)
      at DOMWorld.waitForSelector (../../../node_modules/puppeteer/src/common/DOMWorld.ts:511:25)
      at Frame.waitForSelector (../../../node_modules/puppeteer/src/common/FrameManager.ts:1290:47)
      at Page.waitForSelector (../../../node_modules/puppeteer/src/common/Page.ts:3222:29)
      at BaseUser.expectElementToBeVisible (utilities/common/puppeteer-utils.ts:1213:19)
      at BaseUser.expectUnitsTableToShowProperly (utilities/user/exploration-editor.ts:6255:16)
          at runMicrotasks (<anonymous>)

  ● Exploration Editor › should be able to preview "Ratio Expression Input" interaction

    TimeoutError: waiting for selector `.e2e-test-state-edit-content` failed: timeout 30000ms exceeded

      2775 |   async updateCardContent(content: string): Promise<void> {
      2776 |     await this.waitForPageToFullyLoad();
    > 2777 |     await this.page.waitForSelector(stateEditSelector, {
           |                     ^
      2778 |       visible: true,
      2779 |     });
      2780 |     await this.clickOn(stateEditSelector);

      at new WaitTask (../../../node_modules/puppeteer/src/common/DOMWorld.ts:813:28)
      at DOMWorld.waitForSelectorInPage (../../../node_modules/puppeteer/src/common/DOMWorld.ts:656:22)
      at Object.internalHandler.waitFor (../../../node_modules/puppeteer/src/common/QueryHandler.ts:78:19)
      at DOMWorld.waitForSelector (../../../node_modules/puppeteer/src/common/DOMWorld.ts:511:25)
      at Frame.waitForSelector (../../../node_modules/puppeteer/src/common/FrameManager.ts:1290:47)
      at Page.waitForSelector (../../../node_modules/puppeteer/src/common/Page.ts:3222:29)
      at BaseUser.updateCardContent (utilities/user/exploration-editor.ts:2777:21)
          at runMicrotasks (<anonymous>)
      at Object.<anonymous> (specs/exploration-creator/preview-math-interactions.spec.ts:482:5)

Test Suites: 1 failed, 1 total
Tests:       2 failed, 6 passed, 8 total
Snapshots:   0 total
Time:        923.01 s
Ran all test suites matching /core\/tests\/puppeteer-acceptance-tests\/specs\/exploration-creator\/preview-math-interactions.spec.ts/i.
INFO     2025-09-25 10:16:55,345 shutdown.py:48] Shutting down.
Error: 9-25 10:16:55 +0000] [2876] [ERROR] Worker (pid:2878) was sent SIGTERM!
Error: 9-25 10:16:55 +0000] [3071] [ERROR] Worker (pid:3077) was sent SIGTERM!
INFO     2025-09-25 10:16:56,236 stub_util.py:321] Applying all pending transactions and saving the datastore
INFO     2025-09-25 10:16:56,236 stub_util.py:324] Saving search indexes

Screenshots (if e2e tests)

No response

Occurrences

https://github.com/oppia/oppia/actions/runs/18003125848/job/51217930681?pr=23242

Additional Information

No response

Debugging document link

No response

Metadata

Metadata

Assignees

Labels

CI breakageThis bug breaks CI workflows.Flake: AcceptanceImpact: HighBlocks or significantly slows down a core workflow.Work: MediumThe means to find the solution is clear, but it isn't at good-first-issue level yet.bugLabel to indicate an issue is a regression

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions