Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add validation marker and navigator tests #15

Merged

Conversation

haydar-metin
Copy link
Contributor

What it does

Improves the test cases for validation and navigation.
Further improves the API of the GLSP-Playwright framework by:

  • Exposing custom assertions for the graph: toHaveSelected, toBeUnselected for easier tests.
  • Moves internally feature capabilities to their respective feature folder in glsp/features
  • Improves the logged objects for easier debugging

How to test

Execute yarn test

VSCode has no support for Marker Navigation

Follow-ups

Changelog

  • This PR should be mentioned in the changelog
  • This PR introduces a breaking change (if yes, provide more details below for the changelog and the migration guide)

@haydar-metin
Copy link
Contributor Author

@tortmayr I'm not sure why https://github.com/eclipse-glsp/glsp-playwright/actions/runs/10041871309 succeeded - there were failures 🤔

@tortmayr
Copy link
Contributor

@haydar-metin The problem is the continue-on-error condition in the playwright test step. This is needed to also upload the test report when tests failed. But it also as the side effect of reporting the job as successful.

I openend #16 which should fix that issue.

Copy link
Contributor

@tortmayr tortmayr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍🏼 Thanks!

@tortmayr tortmayr merged commit b2e8868 into eclipse-glsp:main Jul 23, 2024
4 checks passed
@haydar-metin haydar-metin deleted the issues/1287_validation_navigation branch July 23, 2024 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants