Using Atlassian Bitbucket with Eyes

About Bitbucket Integration

The Eyes-Bitbucket integration builds on the branching capabilities in Eyes, and on the Bitbucket pull request and commit functionality.

Eyes supports multiple branches, each of which can consist of multiple test baselines Defines the sequence of images to which the sequence of images captured at checkpoints will be compared. A test can have multiple baselines, each of which is characterized by the execution environment it ran on (operating system, browser and viewport size). A baseline can have instances in multiple branches.. This lets you create a new branch based on an existing branch, make independent updates to the baselines in each branch, compare branches to detect conflicts, and then merge the baselines in each branch.

Bitbucket integrates with Eyes in the following aspects:

  • Eyes tests are automatically configured to use and save baselines in branches whose name is derived from the Git branch names.

  • All visual UI tests that are in a specific CI build, are automatically batched together, with a batch name that includes the Git commit information.

  • The Bitbucket Pull Request panel includes a status indicating the latest visual UI test results and merge status.

  • The Bitbucket Commits panel also includes a status indicating the visual UI test result.

  • When you initiate a Bitbucket pull-request merge, an Eyes branch merge is automatically triggered.

Bitbucket setup

Setting up Bitbucket integration requires the following steps:

Once Bitbucket integration is complete, see Working with Bitbucket for information about the push and commit workflow.