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

[DMS-301] E2E testing for OpenSearch queries #256

Merged
merged 16 commits into from
Sep 6, 2024
Merged

[DMS-301] E2E testing for OpenSearch queries #256

merged 16 commits into from
Sep 6, 2024

Conversation

CSR2017
Copy link
Contributor

@CSR2017 CSR2017 commented Sep 4, 2024

No description provided.

Copy link

github-actions bot commented Sep 4, 2024

Test Results

583 tests  +13   555 ✅ +10   2m 54s ⏱️ +9s
  5 suites ± 0    28 💤 + 3 
  5 files   ± 0     0 ❌ ± 0 

Results for commit 3e25327. ± Comparison against base commit 762f0ec.

This pull request removes 11 and adds 24 tests. Note that renamed tests count towards both.
EdFi.DataManagementService.Tests.E2E.Features.Descriptors.ReadADescriptorFeature ‑ _01VerifyExistingDescriptorsCanBeRetrievedSuccessfully
EdFi.DataManagementService.Tests.E2E.Features.Descriptors.ReadADescriptorFeature ‑ _05EnsureClientsCanRetrieveADescriptorByRequestingThroughAValidCodeValue
EdFi.DataManagementService.Tests.E2E.Features.Descriptors.ReadADescriptorFeature ‑ _07EnsureClientsCanRetrieveADescriptorByRequestingThroughAValidNamespace
EdFi.DataManagementService.Tests.E2E.Features.ResourceQueries.QueryStringsHandlingForGETRequestsFeature ‑ _04EnsureThatSchoolsReturnTheTotalCount
EdFi.DataManagementService.Tests.E2E.Features.ResourceQueries.QueryStringsHandlingForGETRequestsFeature ‑ _05ValidateTotalCountHeaderIsNotIncludedWhenEqualsToFalse
EdFi.DataManagementService.Tests.E2E.Features.ResourceQueries.QueryStringsHandlingForGETRequestsFeature ‑ _06ValidateTotalCountIsNotIncludedWhenItIsNotPresentInTheURL
EdFi.DataManagementService.Tests.E2E.Features.ResourceQueries.QueryStringsHandlingForGETRequestsFeature ‑ _07EnsureResultsCanBeLimitedAndTotalCountMatchesTheActualNumberOfExistingRecords
EdFi.DataManagementService.Tests.E2E.Features.ResourceQueries.QueryStringsHandlingForGETRequestsFeature ‑ _08EnsureClientsCanGetInformationWhenFilteringByLimitAndAndAValidOffset
EdFi.DataManagementService.Tests.E2E.Features.ResourceQueries.QueryStringsHandlingForGETRequestsFeature ‑ _09EnsureClientsCanGetInformationWhenFilteringByLimitAndOffsetGreaterThanTheTotal
EdFi.DataManagementService.Tests.E2E.Features.ResourceQueries.QueryStringsHandlingForGETRequestsFeature ‑ _10EnsureClientsCantGETInformationWhenFilteringUsingInvalidValues
…
EdFi.DataManagementService.Tests.E2E.Features.ResourceQueries.PagingSupportForGETRequestsForEd_FiResourcesFeature ‑ _00Background
EdFi.DataManagementService.Tests.E2E.Features.ResourceQueries.QueryStringHandlingForGETRequestsForDescriptorQueriesFeature ‑ _00Background
EdFi.DataManagementService.Tests.E2E.Features.ResourceQueries.QueryStringHandlingForGETRequestsForDescriptorQueriesFeature ‑ _01VerifyExistingDescriptorsCanBeRetrievedSuccessfully
EdFi.DataManagementService.Tests.E2E.Features.ResourceQueries.QueryStringHandlingForGETRequestsForDescriptorQueriesFeature ‑ _05EnsureClientsCanRetrieveADescriptorByRequestingThroughAValidCodeValue
EdFi.DataManagementService.Tests.E2E.Features.ResourceQueries.QueryStringHandlingForGETRequestsForDescriptorQueriesFeature ‑ _06EnsureClientsCannotRetrieveADescriptorByRequestingThroughANonExistingCodeValue
EdFi.DataManagementService.Tests.E2E.Features.ResourceQueries.QueryStringHandlingForGETRequestsForDescriptorQueriesFeature ‑ _07EnsureClientsCanRetrieveADescriptorByRequestingThroughAValidNamespace
EdFi.DataManagementService.Tests.E2E.Features.ResourceQueries.QueryStringHandlingForGETRequestsForDescriptorQueriesFeature ‑ _08EnsureClientsCannotRetrieveADescriptorByRequestingThroughANonExistingNamespace
EdFi.DataManagementService.Tests.E2E.Features.ResourceQueries.QueryStringHandlingForGETRequestsForResourceQueriesFeature ‑ _00Background
EdFi.DataManagementService.Tests.E2E.Features.ResourceQueries.QueryStringHandlingForGETRequestsForResourceQueriesFeature ‑ _01EnsureClientsCanGETInformationWhenQueryingByValidDate
EdFi.DataManagementService.Tests.E2E.Features.ResourceQueries.QueryStringHandlingForGETRequestsForResourceQueriesFeature ‑ _02EnsureClientsCantGETInformationWhenQueryingByInvalidDate
…
This pull request skips 2 and un-skips 1 tests.
EdFi.DataManagementService.Tests.E2E.Features.ResourceQueries.PagingSupportForGETRequestsForEd_FiResourcesFeature ‑ _01EnsureClientsCanGetInformationWhenFilteringByLimitAndAndAValidOffset
EdFi.DataManagementService.Tests.E2E.Features.ResourceQueries.PagingSupportForGETRequestsForEd_FiResourcesFeature ‑ _03EnsureClientsCanGETInformationWhenQueryingUsingAnOffsetWithoutProvidingAnyLimitInTheQueryString
EdFi.DataManagementService.Tests.E2E.Features.ResourceQueries.PagingSupportForGETRequestsForEd_FiResourcesFeature ‑ _04EnsureClientsCanGETInformationWhenFilteringWithLimitsAndProperties

♻️ This comment has been updated with latest results.

@CSR2017 CSR2017 marked this pull request as ready for review September 5, 2024 17:11
@CSR2017 CSR2017 requested a review from a team as a code owner September 5, 2024 17:11
@@ -103,24 +67,6 @@ Feature: Read a Descriptor
[]
"""
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Comment from @stephenfuqua : @msilesgap when we merge this PR, some of the scenarios will move. We will need to update the spreadsheet accordingly.

Why? Suganya and I discussed and agreed that this would simplify our ability to only reset OpenSearch between tests if really needed. Thus we want to keep all of the OpenSearch-related tests together in one place. We thought about using tags, but there is also a setup step that needs to happen ("background"), and we did not want that setup step scattered in many different places.

@@ -0,0 +1,74 @@
Feature: Query String handling for GET requests for Descriptor Queries
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@msilesgap
All the descriptors tests with query string are moved to this new file

@stephenfuqua stephenfuqua merged commit bca81e8 into main Sep 6, 2024
12 checks passed
@stephenfuqua stephenfuqua deleted the DMS-301-v4 branch September 6, 2024 16:35
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