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

E2e tests for Native and Outstream video Ad formats. #4116

Merged
merged 15 commits into from
Sep 10, 2019
Merged

E2e tests for Native and Outstream video Ad formats. #4116

merged 15 commits into from
Sep 10, 2019

Conversation

Fawke
Copy link
Contributor

@Fawke Fawke commented Aug 26, 2019

Type of change

  • e2e tests

Description of change

This PR introduces basic End to End tests for Native and Outstream video Ad formats. The tests checks for the followings things:

  1. Targeting keys are getting returned with the expected values and properties.
  2. The Ad is getting rendered to the DOM.

Also, browsers.json file has been updated to reflect recent versions for major browsers but care has been taken to not include the latest versions or beta versions.

Although, steps have been taken to ensure the tests are robust and have a consistent behaviour, some tests fail in Browserstack when the Ad doesn't render. This behaviour is because sometimes, Browserstack is not able to load the Ad in a given timeframe or the browser glitches out.

Plan to fix this erratic behaviour with Browserstack in a separate PR. Probably, will try updating Browserstack or Webdriver to the latest version, or in worst case, have to research some other Test runner/Frameworks for E2E testing.

@jsnellbaker jsnellbaker added the needs 2nd review Core module updates require two approvals from the core team label Aug 28, 2019
@Fawke Fawke merged commit 8b92b1f into master Sep 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs 2nd review Core module updates require two approvals from the core team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants