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

AG-12515 Add text and callout e2e tests #2230

Merged
merged 8 commits into from
Aug 9, 2024
Merged

Conversation

lsjroberts
Copy link
Member

https://ag-grid.atlassian.net/browse/AG-12515

Text and callout tests both cover creating, text also covers editing and changing font size, while callout covers changing colour.

Also simplifies the zoom and line annotation tests to use specific examples for each with simplified charts.

@lsjroberts lsjroberts marked this pull request as ready for review August 8, 2024 12:12
@lsjroberts lsjroberts requested review from rmc-software and a team as code owners August 8, 2024 12:12
@lsjroberts
Copy link
Member Author

/snapshots

Copy link
Contributor

github-actions bot commented Aug 8, 2024

⏱️ Snapshot update job running: https://github.com/ag-grid/ag-charts/actions/runs/10302015830

@lsjroberts
Copy link
Member Author

Linux snapshots look as expected


test.describe('toolbar', () => {
setupIntrinsicAssertions();

const testUrls = toExamplePageUrls('financial-charts', 'financial-charts-showcase');
const { url } = toExamplePageUrl('financial-charts-test', 'e2e-toolbar', 'reactFunctionalTs');
Copy link
Member

Choose a reason for hiding this comment

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

Nit: Could we use vanilla JS examples, I think this will scale better as there is less to load (no system JS involved)?

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

Copy link
Member

Choose a reason for hiding this comment

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

Is the position of the floating toolbar here correct?

Copy link
Member Author

Choose a reason for hiding this comment

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

My eyes failed me, appears to be a bug. Fixed.

Copy link
Member

Choose a reason for hiding this comment

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

Ditto?

@lsjroberts
Copy link
Member Author

/snapshots

Copy link
Contributor

github-actions bot commented Aug 9, 2024

⏱️ Snapshot update job running: https://github.com/ag-grid/ag-charts/actions/runs/10317192398

Copy link
Member

@alantreadway alantreadway left a comment

Choose a reason for hiding this comment

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

LGTM

@alantreadway alantreadway merged commit 5c31a4d into latest Aug 9, 2024
@alantreadway alantreadway deleted the AG-12515-e2e-tests branch August 9, 2024 12:21
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