Skip to content

Repository for the investigation of end to end frameworks.

License

Notifications You must be signed in to change notification settings

mediasuitenz/end-to-end-testing-investigation

Repository files navigation

End to End - Testing Investigation

This repository contains tests for end to end testing for Media Suite.

Note: Any GitHub Actions workflow files for a step in the investigation are located within the .github/ directory.

0 - Install and setup

Install npm dependencies

npm install

Install playwright

npx playwright install
npx playwright install msedge

1 - Basic Tests

The purpose of this directory is to write simple tests for an already deployed website (in this case, the Media Suite website). This is to become familiar with each framework.

An issue was encountered when running Playwright tests on Media Suite machines. The installed antivirus caused issues with HTTPS certificates for tests running on Firefox. A locally installed FireFox would function correctly, however the Nightly build of Firefox that Playwright uses would cause issues. A conditional has been added to ignore HTTPS errors in Firefox only when running locally. This compromise seems acceptable as any general HTTPS errors would be caught by other browsers, and any Firefox specific HTTPS errors would be caught in a CI pipeline.

2 - CI Pipeline

This directory tests using GitHub Actions for running tests.

About

Repository for the investigation of end to end frameworks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published