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

Add query integration test #317

Merged
merged 10 commits into from
Jul 8, 2020
Merged

Add query integration test #317

merged 10 commits into from
Jul 8, 2020

Conversation

julianrex
Copy link
Contributor

@julianrex julianrex commented Jun 15, 2020

This is part 1 of 3 PRs that port mapbox/mapbox-gl-native#15303 to this repo. (See also #318, #319.)

This PR adds a query test, but primarily adds a regression test for comparing accessibility elements - to track improvements to accessibilityElementAtIndex:. See #220 for the original issue.

@julianrex julianrex marked this pull request as ready for review June 15, 2020 16:04
@julianrex julianrex requested a review from 1ec5 as a code owner June 15, 2020 16:04
@julianrex julianrex requested review from a team and removed request for a team and 1ec5 June 15, 2020 16:04
@jmkiley
Copy link
Contributor

jmkiley commented Jun 18, 2020

Noting that I'm seeing a few failing integration tests on master. Seems to be unrelated to this PR, though.

<EnvironmentVariables>
<EnvironmentVariable
key = "MAPBOX_ACCESS_TOKEN"
value = "pk.eyJ1IjoianVsaWFucmV4IiwiYSI6ImNrMGp2N3k3ZzAwbWkzbnMzcG1zZ291cmkifQ.6Fv-dxHmzcqHHm_Tlf3x6A"
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we want to hard code a real access token here? Can we use the same script that iosapp uses to pull in the access token from ~/.mapbox?

Copy link
Contributor Author

@julianrex julianrex Jun 22, 2020

Choose a reason for hiding this comment

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

Oops! Yeah, that shouldn't be there. Can you remove please? And rebase the other PRs

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For future reference - this access token has been revoked.

Copy link
Contributor

@captainbarbosa captainbarbosa left a comment

Choose a reason for hiding this comment

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

✅ once the conflicts are fixed

Julian Rex and others added 2 commits July 7, 2020 17:17
* Port tests from gl-native 14324

* Port accessibility calcs

* Fix typo from merge.

* Match results from before optimization.

* Remove temp commented code

* Address some TODOs

* Include exception from failing test

Co-authored-by: jmkiley <jordan.kiley@mapbox.com>
@jmkiley jmkiley merged commit fb2b28e into master Jul 8, 2020
@jmkiley jmkiley deleted the jrex/query-tests branch July 8, 2020 07:12
@knov knov added this to the release-xoài milestone Jul 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants