Skip to content

Fix e2e tests after GLPI redirection to created ticket - #74

Merged
stonebuzz merged 1 commit into
11.0/bugfixesfrom
fix_e2e_redirect_after_submit_11
Oct 20, 2026
Merged

stonebuzz merged 1 commit into
11.0/bugfixesfrom
fix_e2e_redirect_after_submit_11

Conversation

@stonebuzz

@stonebuzz stonebuzz commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Checklist before requesting a review

Please delete options that are not relevant.

  • I have performed a self-review of my code.
  • I have added tests (when available) that prove my fix is effective or that my feature works.
  • I have updated the CHANGELOG with a short functional description of the fix or new feature.
  • This change requires a documentation update.

Description

Error: expect(locator).toBeVisible() failed

Locator: getByRole('alert').filter({ hasText: 'E2E table submit - 2f59c4f0-144a-4fed-aa19-1fc99ec794b6' }).filter({ visible: true }).getByRole('link', { name: 'E2E table submit - 2f59c4f0-144a-4fed-aa19-1fc99ec794b6' })
Expected: visible
Timeout: 5000ms
Error: element(s) not found

Call log:
  - Expect "toBeVisible" with timeout 5000ms
    - waiting for" http://localhost:8090/front/ticket.form.php?id=2" navigation to finish...
    - navigated to "http://localhost:8090/front/ticket.form.php?id=2"

The tests now assert the redirection to the created ticket and its title, as done in GLPI core title.spec.ts.

Screenshots (if appropriate):

@stonebuzz
stonebuzz force-pushed the fix_e2e_redirect_after_submit_11 branch from 2c6762b to 62a868d Compare October 20, 2026 08:29
@stonebuzz stonebuzz mentioned this pull request Oct 20, 2026
3 of 4 tasks
@stonebuzz
stonebuzz requested a review from Rom1-B October 20, 2026 08:29
@stonebuzz stonebuzz self-assigned this Oct 20, 2026
@stonebuzz
stonebuzz force-pushed the fix_e2e_redirect_after_submit_11 branch from 62a868d to efd06d1 Compare October 20, 2026 08:37
@stonebuzz
stonebuzz merged commit bba103f into 11.0/bugfixes Oct 20, 2026
7 checks passed
@stonebuzz
stonebuzz deleted the fix_e2e_redirect_after_submit_11 branch October 20, 2026 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants