Tests: Refactoring functional tests#3657
Draft
osulzhenko wants to merge 38 commits intomasterfrom
Draft
Conversation
6ad3b09 to
26f38ea
Compare
26f38ea to
c6ddf01
Compare
# Conflicts: # src/test/groovy/org/prebid/server/functional/tests/AmpFpdSpec.groovy
Collaborator
Author
|
review is postponed |
# Conflicts: # src/test/groovy/org/prebid/server/functional/tests/module/AbTestingModuleSpec.groovy # src/test/groovy/org/prebid/server/functional/tests/module/GeneralModuleSpec.groovy # src/test/groovy/org/prebid/server/functional/tests/module/analyticstag/AnalyticsTagsModuleSpec.groovy # src/test/groovy/org/prebid/server/functional/tests/module/ortb2blocking/Ortb2BlockingSpec.groovy # src/test/groovy/org/prebid/server/functional/tests/module/pbrequestcorrection/PbRequestCorrectionSpec.groovy # src/test/groovy/org/prebid/server/functional/tests/module/richmedia/RichMediaFilterSpec.groovy
# Conflicts: # src/test/groovy/org/prebid/server/functional/tests/privacy/ActivityTraceLogSpec.groovy
marki1an
requested changes
Feb 17, 2025
# Conflicts: # src/test/groovy/org/prebid/server/functional/tests/privacy/GppTransmitUfpdActivitiesSpec.groovy
marki1an
reviewed
Mar 31, 2025
| private static PrebidServerService pbsServiceWithEnabledMediaFilter | ||
| private static PrebidServerService pbsServiceWithEnabledMediaFilterAndDifferentCaseStrategy | ||
|
|
||
|
|
marki1an
requested changes
Nov 14, 2025
| private static final PrebidServerService disabledDebugPbsService = pbsServiceFactory.getService("adapters.generic.debug.allow": "false") | ||
|
|
||
| def cleanupSpec() { | ||
| pbsServiceFactory.removeContainer("adapters.generic.debug.allow": "true") |
Collaborator
There was a problem hiding this comment.
Please extract into a separate const variable "adapters.generic.debug.allow": "true"
| "adapter-defaults.ortb.multiformat-supported": "true") | ||
| private static final Map<String, String> ENABLED_MULTI_FORMAT = ["adapter-defaults.ortb.multiformat-supported": "true"] | ||
| private static final Map<String, String> DISABLED_MULTI_FORMAT = ["adapter-defaults.ortb.multiformat-supported": "false"] | ||
| private static final Map<String, String> DISABLED_MULTI_FORMAT_DEFAULT = [ |
Collaborator
There was a problem hiding this comment.
Please format according to the usual format
| "adapters.generic.ortb.multiformat-supported": "false" | ||
| ] | ||
|
|
||
| private static def enabledMultiFormatPbsService = pbsServiceFactory.getService(ENABLED_MULTI_FORMAT) |
Collaborator
There was a problem hiding this comment.
Please change ''def'' to the right object
| PrebidServerService prebidServerService = pbsServiceFactory.getService(SCHAIN_NODE_CONFIG) | ||
| @Shared | ||
| PrebidServerService prebidServerService = pbsServiceFactory.getService(["auction.host-schain-node": encode(GLOBAL_SUPPLY_SCHAIN_NODE)]) | ||
| PrebidServerService prebidServerServiceWithElderOrtb = pbsServiceFactory.getService(ORTB_2_5_CONFIG) |
Collaborator
There was a problem hiding this comment.
Please add private static final
Comment on lines
+26
to
+27
| private static final PrebidServerService storedRequestIdGenEnabledService = pbsServiceFactory.getService(STORED_REQUEST_ID_GEN_ENABLED_CONFIG) | ||
| private static final PrebidServerService storedRequestIdGenDisabledService = pbsServiceFactory.getService(STORED_REQUEST_ID_GEN_DISABLED_CONFIG) |
marki1an
requested changes
Nov 14, 2025
21 tasks
Collaborator
Author
|
WIP |
…nal-tests # Conflicts: # src/test/groovy/org/prebid/server/functional/tests/privacy/GppCookieSyncSpec.groovy
|
…nal-tests # Conflicts: # src/test/groovy/org/prebid/server/functional/testcontainers/Dependencies.groovy
# Conflicts: # src/test/groovy/org/prebid/server/functional/testcontainers/Dependencies.groovy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔧 Type of changes
✨ What's the context?
What's the context for the changes?
🧠 Rationale behind the change
Why did you choose to make these changes? Were there any trade-offs you had to consider?
🔎 New Bid Adapter Checklist
🧪 Test plan
How do you know the changes are safe to ship to production?
🏎 Quality check