Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

market data scenario #649

Open
anastasiyaig opened this issue Apr 24, 2024 · 4 comments
Open

market data scenario #649

anastasiyaig opened this issue Apr 24, 2024 · 4 comments
Assignees
Labels
UI tests end-to-end UI scenarios in automation framework
Milestone

Comments

@anastasiyaig
Copy link
Collaborator

Add a test that will check that the prices and chart are not empty (or integrate to any existing test)

@anastasiyaig anastasiyaig added the UI tests end-to-end UI scenarios in automation framework label Apr 24, 2024
@anastasiyaig anastasiyaig added this to the 2.29.0 Beta milestone May 3, 2024
@Valentina1133
Copy link
Contributor

Valentina1133 commented May 14, 2024

I investigated how to implement it. With prices - no problem, we can get it from every single box with text.
But there is the problem with charts. I compared locators for empty and non empty chart and they are completely the same

scrollView_graphComponent_Chart = {"container": scrollView_StatusScrollView, "id": "graphComponent", "type": "Chart", "unnamed": 1, "visible": True}

I also checked the properties for both - couldn't find any differences between them. So we need to figure out how to check that the chart is not empty

@Valentina1133
Copy link
Contributor

Ok. I found (but not sure yet), that there are different values of property maxTicksLimit if there is a graph (if not - the value is 0), maybe we can check this property to make sure that there is a graph

@anastasiyaig
Copy link
Collaborator Author

@Valentina1133 well if we get prices (they are not none / null) then we can skip checking the curve line of the chart, having data in prices field is the main idea

@Valentina1133 Valentina1133 self-assigned this May 22, 2024
@Valentina1133
Copy link
Contributor

@anastasiyaig Ok! Great then

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
UI tests end-to-end UI scenarios in automation framework
Projects
None yet
Development

No branches or pull requests

2 participants