Want to create interactive content? It’s easy in Genially!

Get started free

Polaris Automation with Playwright

Andrew Rodriguez

Created on June 20, 2023

Start designing with a free template

Discover more than 1500 professional designs like these:

Urban Illustrated Presentation

KPOP Presentation

Snow Presentation

Corporate Christmas Presentation

Historical Presentation

Scary Eighties Presentation

Memories Presentation

Transcript

playwright for Ad Platform

automation Testing

Start

Our Team

Andrew RodriguezQA Engineer

Kenton DeAngeliTest Lead

Madhvi BhatnagarQA Automation Eng.

Alexandra SolomakhaSenior QA Analyst

Tor RybergQA Analyst

Anastasya SergienkoQA Engineer

Dmitriy Zamriy QA Specialist

What We Test

What do we test?

polaris console

bellatrix

calvera

Content management system used to build and store assets and creatives for retailer marketing campaigns on DDM sites

Rich media player and editor used to create advertisements with interactive and/or video elements

Application that interprets visual and functional configurations of creatives in Polaris into advertisements as presented on our sites

Our Ad Products

OUR AD PRODUCTS

Mixer ads use retailer APIs and internal tools to feature several related products (non-IAB)

SDUs are IAB-compliant ad units featuring one product or retailer

PAUs use internal site taxonomy to deliver programmatic ads related to page content

Assets include images, videos, recipes, carts and shopper promotions

Why Playwright?

WHY Do we use playwright?

  • E2E integrated testing that's fast and reliable using web-first assertions
  • Cross-browser, cross-platform, and cross-language
  • Native mobile emulation for efficient mobile testing
  • Ability to traverse/test frames and pierce shadow DOM
  • Preserved authentication state for one-time login to Polaris
  • Creation of isolated environments for effective parallel testing
  • Robust API testing infrastructure for testing without GUI interaction

Visual Regression

Visual regression testing in playwright

Screenshot comparison coupled with comprehensive suite of dynamic web element assertions ensure full test coverage

+ docs

Easy method to regularly establish new baselines before scheduled deployments

Features

+ docs

ADDITIONAL FEATURES

continuous integration

test reporters

Readable reports using Command line (list, line, dot), HTML, JSON, XML (J-Unit style), Github annotations; compatible with many third party reporters (Allure, Monocart, Tesults, ReportPortal, Currents, Serenity/JS)

Test execution in CI environments are easily configured with a variety of platforms (Gitlab, Github Actions, Bitbucket, Azure, Jenkins, Docker, CircleCI)

+ docs

Initiatives

+ docs

INITIATIVES

csv file handling

contract testing

Playwright is geared towards end-to-end testing, but API testing can be utilized to accomplish many aspects of contract testing (mock requests and events, modify responses, verify API calls)

Quick installation of Fast CSV coupled with built-in functionality of Playwright enables JSON parsing of CSV files; objects/arrays are easily accessible for writing/editing data and testing (URLs being an excellent use case)

Video Resources

youtube resources

Visual Regression Testing

API Testing

Reading and Writing CSV Files

More Resources

Additional resources

UI Mode Playwright Docs - https://playwright.dev/docs/test-ui-mode

UI Watch Mode - https://youtu.be/ACauIiIMg_k

UI Mode Updates & Traceviewer - https://youtu.be/ukeRba65vG8

Discord Server - https://discord.gg/playwright-807756831384403968

Page Object Models - https://playwright.dev/docs/pom

Thank You

questions?

Thank you!