Start with the first test

Start

GPT Test Pages

Release Smoke Tests

Release Smoke Tests : release_smoke_tests.html

Adsense backfill

Adsense text ads (SB/Sync Loading/Sync Rendering) : adsense_text.html

Adsense image ads (SB/Sync Loading/Sync Rendering) : adsense_image.html

Click URL

Setting a custom click URL (SB/Async/Async) : click-url-async.html

Setting a custom click URL (SB/FIF/Sync) : click-url-fif.html

Setting a custom click URL (SB/Sync/Sync) : click-url-sync.html

Companion Service

Player test - real player and trafficked ads : gpt-companions-player-ima-sdk-v3.html

Modified document.domain

Document.domain (Premium/Sync Loading/Sync Rendering) : gpt-p-sync-sync-domain.html

Document.domain (Premium/Async Loading/Async Rendering) : gpt-p-async-async-domain.html

Hosted creatives

Hosted flash (SB/Sync Loading/Sync Rendering) : hosted_flash.html

Interstitials

Interstitial popup (Premium/Sync Loading/Sync Rendering) : gpt-p-sync-sync-interstitial.html

Interstitial popup (Premium/Async Loading/Async Rendering) : gpt-p-async-async-interstitial.html

Redirected creatives

Redirected flash (SB/Sync Loading/Sync Rendering) : redirect_flash.html

Redirected image (SB/Sync Loading/Sync Rendering) : redirect_image.html

Refresh Testing

Basic slot-refresh (SB/Sync Loading/Async Rendering) : refresh.html

Basic slot-refresh (SB/Sync Loading/Async Rendering/SRA) : refresh-sra.html

Show how refresh can still happen when initial ad loading is disabled (SB/Sync Loading/Async Rendering) SRA : refresh_no_initial_sra.html

Targeting

Clear slot-level targeting : clear_slot_targeting.html

On Screen Detection (OSD / OSE)

OSD monitoring on a page-level targeted ad : target_page_with_ose.html

OSD monitoring on a mobile sync-sync ad : mobile-gpt-p-sync-sync-with-ose.html

Video content setting

Video content id passing test : gpt-video-content.html

Passback Rendering

Passback On Page Minimal : passback-on-page-minimal.html

Passback On Page Targeting : passback-on-page-targeting.html

Passback On Page Click Url : passback-on-page-click-url.html

Passback In Creative Async - SRA : passback-in-creative-async-sra.html

Passback In Creative Async - Non-SRA : passback-in-creative-async-nonsra.html

Passback In Creative Sync - SRA : passback-in-creative-sync-sra.html

Passback In Creative Sync - Non-SRA : passback-in-creative-sync-nonsra.html

Do NOT run during Bow manual testing

The following tests work fine but for various reasons they shouldn't be run during Bow manual testing.

Location API (broken when using manual QA proxy, do not open)

Location targeting (address) : location-address.html

Location targeting (lat/lng) : location-latlng.html

Mobile GPT Test Pages

The landing page for all of these tests should be google.com. The top ad on each page may populate the search box with "one" but the bottom ad never will.

The mobile tests should not be tested on desktop browsers unless you've changed the user-agent. The behaviour is undefined on desktop browsers.

Small Business Sync-Sync Non-SRA : mobile-gpt-sb-sync-sync.html

Small Business Sync-Async Non-SRA : mobile-gpt-sb-sync-async.html

Premium Sync-Sync Non-SRA : mobile-gpt-p-sync-sync.html

Premium Sync-Async Non-SRA : mobile-gpt-p-sync-async.html

Mobile xFP direct-sold (SB/Sync Loading/Sync Rendering) : mobile-gpt-sync.html

Mobile xFP direct-sold (SB/Sync Loading/Async Rendering) : mobile-gpt-async.html

Mobile xFP Adsense Backfill (SB/Sync Loading/Sync Rendering) : mobile-gpt-adsense-sync.html

Mobile xFP Adsense Backfill (SB/Sync Loading/Async Rendering) : mobile-gpt-adsense-async.html

Mobile long text ad : mobile-text_ad_long.html

Mobile short text ad : mobile-text_ad_short.html

SSL

SSL-only requests (SB/Async Loading/Async Rendering) : ssl.html

SSL-only requests (SB/Sync Loading/Sync Rendering) : ssl-sync.html

AdSense Expandable Eligibility

AdSense Expandable Eligibility : adsense_expandable_eligibility.html

Publisher Provided ID (PPID)

Publisher Provided ID (PPID) : set_ppid.html

Fine grained SRA with initial refresh

Fine grained SRA with initial refresh : sra_with_initial_refresh.html

SRA googletag.display() edge cases

An page with some edge cases in async SRA related to when googletag.display() is called : sra_display_edge_cases.html

Ad Category Exclusions

Ad Category Exclusions : set_category_exclusion.html

POST Tests

These are tests that verify POST functionality. These need not be tested in all releases but should be run when POST functionality is launched.

Check adsense backfill works with POST. POST is off by default and should be enabled explicitly. : adsense_image_post.html

GPT in iframe tests with options to enable POST. POST is off by default and should be enabled explicitly. : gpt-in-iframe-post.html

Check URL truncation works correctly. Includes options to enable POST. POST is off by default and should be enabled explicitly. : url-truncation.html

Check Cookies are set correctly. Includes options to enable POST. POST is off by default and should be enabled explicitly. : cookie-tests-post.html

Check network level backfill works with POST. POST is off by default and should be enabled explicitly. : gpt-network-level-backfill.html

Other passback Tests

The following tests are added to test passback behavior when it is in the same window context as a GPT tag. Some things don't work yet. This will be moved to the passback tests section above once all issues are fixed.

Passback and sync GPT in same window context(GPT tag loaded first). This configuration should work. : passback_sync_gpt_loads_first.html

Passback and async GPT in same window context(GPT tag loaded first). This configuration doesn't work yet. : passback_async_gpt_loads_first.html

Passback and sync GPT in same window context(Passback tag loaded first). This configuration doesn't work yet. : passback_sync_gpt_loads_later.html

Passback and async SRA GPT in same window context(Passback tag loaded first). This configuration doesn't work yet. : passback_sra_gpt_loads_later.html

Passback and async SRA GPT in same window context(Passback tag loaded first). Additionally, gpt slots are defined after enabled services. This configuration doesn't work yet. : passback_sra_gpt_later_slots_defined_after_enable.html

Occasional Tests

The following tests are added to test specific behaviours for a particular release, but they are not supposed to be regression tests and should not be ran at every release.

Companion backfill marked in eri param, SRA : gpt-companions-backfill-eri-sra.html

Companion backfill marked in eri param, Non-SRA : gpt-companions-backfill-eri-non-sra.html

Adx DFP backfill Test, SRA. : gpt-adx-backfill-sra.html

Adx DFP backfill Test, Non-SRA. : gpt-adx-backfill.html

Gpt Behavior Test. : gpt-behavior.html

GPT AMP Test : amp.html

Test chrome intervention signal collection for gpt sync loading. : chrome-intervention-sync.html

Test chrome intervention signal collection for gpt sync loading using document.write. : chrome-intervention-sync-doc-written.html

View Optimized Rendering : view-optimized-rendering.html

View Optimized Rendering - SRA : view-optimized-rendering-sra.html

View Optimized Rendering - AdSense + SafeFrame : view-optimized-rendering-adsense.html

Delay Requests On Hidden Pages : delay-requests-hidden-pages.html

Shadow Dom : shadow-dom.html

Shadow Dom - AdSense + SafeFrame : shadow-dom-adsense.html

Block Refreshes On Hidden Pages : block-refresh-when-hidden.html

Block Refreshes On Hidden Pages (Disable Initial Load) : block-refresh-when-hidden-disable-initial-load.html

Companions Service

Player refresh test - real player and refresh-based backfill : gpt-companions-refresh-player-ima-sdk-v3.html

Player refresh and clear test : gpt-companions-refresh-or-clear-player-ima-sdk-v3-refresh-clear.html

Player refresh and no-clear test : gpt-companions-refresh-or-clear-player-ima-sdk-v3-refresh-no-clear.html

Player no-refresh and clear test : gpt-companions-refresh-or-clear-player-ima-sdk-v3-no-refresh-clear.html

Player no-refresh and no-clear test : gpt-companions-refresh-or-clear-player-ima-sdk-v3-no-refresh-no-clear.html

Slot render ended event in companion service : gpt-companions-render-ended-callback.html

Automated Tests

Every test below this point is automated and part of the Arrow continuous build so they do not need to be tested manually. You can run them with: blaze test javatests/com/google/contentads/frontend/selenium/xfp:GptClickTest javatests/com/google/contentads/frontend/selenium/xfp:GptPdiffTest. If the Arrow build is not green at the release CL then please make sure that these tests run successfully or escalate!

The landing page for all of these tests should be google.com

Small Business Sync Sync Non-SRA : gpt-sb-sync-sync.html

Small Business Sync Sync SRA : gpt-sb-sync-sync-sra.html

Small Business Sync Async Non-SRA : gpt-sb-sync-async.html

Small Business Sync Async SRA : gpt-sb-sync-async-sra.html

Small Business Async Async Non-SRA : gpt-sb-async-async.html

Small Business Async Async SRA : gpt-sb-async-async-sra.html

Premium Sync Sync Non-SRA : gpt-p-sync-sync.html

Premium Sync Sync SRA : gpt-p-sync-sync-sra.html

Premium Sync Async Non-SRA : gpt-p-sync-async.html

Premium Sync Async SRA : gpt-p-sync-async-sra.html

Premium Async Async Non-SRA : gpt-p-async-async.html

Premium Async Async SRA : gpt-p-async-async-sra.html

3rd party ad server trafficked GPT

Sync Only : 3rd-party-served-gpt.html

Collapsing empty slots

Async test page : collapse-slots-async.html

5-level IU Testing

5-level IU (Premium/Async Loading/Async Rendering/Non-SRA) : five-level-iu.html

5-level IU (Premium/Async Loading/Async Rendering/SRA) : five-level-iu-sra.html

Upside-down 5-level IU (Premium/Async Loading/Async Rendering) : five-level-iu-upsidedown.html

GPT and GAM on the same page

GPT and GAM tags on the same page : gpt-and-gam.html

GPT and AdSense on the same page

GPT and AdSense tags on the same page : adsense-and-gpt.html

GPT inside GPT

Serving GPT as a creative, inside GPT (SB/Sync Loading/Sync Rendering) : gpt-inside-gpt.html

Hosted creatives

Hosted image (SB/Sync Loading/Sync Rendering) : hosted_image.html

Multiple-Slot-Instances Testing

These tests will work when multiple ad unit functionality is released to prod.

Multiple-Slot-Instances (Premium/Async/Non-SRA) : gpt-p-async-async-multi-slot.html

Multiple-Slot-Instances (Premium/Async/SRA) : gpt-p-async-async-sra-multi-slot.html

Multiple-Slot-Instances (Premium/Sync/Non-SRA) : gpt-p-sync-sync-multi-slot.html

Multiple-Slot-Instances (Premium/Sync/SRA) : gpt-p-sync-sync-sra-multi-slot.html

No div tag

Sync rendering without the ads inside <div> tags (SB/Sync/Sync) : gpt-nodiv-sync-sync.html

Refresh Testing

Show how refresh can still happen when initial ad loading is disabled (SB/Sync Loading/Async Rendering) : refresh_no_initial.html

Targeting

Page-level targeting (SB/Sync Loading/Sync Rendering) : target_page.html

Slot-level targeting (SB/Sync Loading/Sync Rendering) : target_slot.html

Slot-level targeting (SB/Async Loading/Async Rendering/SRA) : target_slot_sra.html

UTF-8

UTF-8 characters in the IU name (SB/Async Loading/Async Rendering) : utf8_iu.html

UTF-8 characters in custom targeting (SB/Async Loading/Async Rendering) : utf8-targeting-async-async.html

Out-of-page

Out-of-page passback slot : oop-passback.html

Suite of tests which highlight some GPT bugs.

Fetch slots after the implementation has loaded in SRA mode : small-change-fixable-sra-fetch-after-impl-load.html

Out of order response-slot matching in SRA mode : small-change-fixable-sra-out-of-order.html

Create fetching IFrame for slot which has a div : small-change-fixable-sra-fetch-on-slot-with-div.html

Multiple slots, first slot with size mapping, SRA mode, ASYNC rendering. : responsive_sra_async.html

Multiple slots, first slot with size mapping, SRA mode, SYNC rendering. : responsive_sra_sync.html

Broken Tests

Any tests in this section should be ignored and not tested.

Multiple-size Testing

<b>TODO(pjl):</b>This test does not work, fixme. Multiple-size (SB/Sync Loading/Async Rendering) : multi-size.html

GPT inside GPT

Serving GPT as a creative, inside GPT (SB/Sync Loading/Sync Rendering) : gpt-inside-gpt-sra.html

Ad container iframe title test. : iframe-title-async.html

Serving GPT as a creative, inside GPT (SB/Async Loading/Async Rendering/Non-SRA) : gpt-inside-gpt-async.html

Serving GPT as a creative, inside GPT (SB/Async Loading/Async Rendering/SRA) : gpt-inside-gpt-async-sra.html

IMA SDK V2 Tests

Player test - real player and trafficked ads : gpt-companions-player-ima-sdk-v2.html

Player refresh test - real player and refresh-based backfill : gpt-companions-refresh-player-ima-sdk-v2.html

Player refresh or clear tests - real player, refresh-based backfill and slot clearing : gpt-companions-refresh-or-clear-player-ima-sdk-v2.html