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

Use applitools branches #2325

Merged
merged 3 commits into from
Sep 10, 2024
Merged

Use applitools branches #2325

merged 3 commits into from
Sep 10, 2024

Conversation

samtygier-stfc
Copy link
Collaborator

@samtygier-stfc samtygier-stfc commented Sep 9, 2024

Issue

Closes #2324

Description

Set the branch_name property to the name of the PR branch. This will cause applitools to consider these tests to be ona branch with their own baselines. This might solve the issue of conflicts when making GUI changes.

Acceptance Criteria

Overall we want a solution that. Its not easy to test this in advance on a PR, so we'll have to merge and then see how it works.

  • does not additional manual work on most PRs (We might not know until we are using this on real branches)
  • catches and warns about changes in PRs (See comment below)

Documentation

Release notes

@coveralls
Copy link

coveralls commented Sep 9, 2024

Coverage Status

coverage: 74.337%. remained the same
when pulling cfbf0ff on 2324-applitools-branches
into 6d67ad7 on main.

@samtygier-stfc
Copy link
Collaborator Author

samtygier-stfc commented Sep 9, 2024

Confirmation that this changes on a branch still generate an test fail.
https://github.com/mantidproject/mantidimaging/actions/runs/10775518839/job/29880107683?pr=2325
image

@samtygier-stfc samtygier-stfc force-pushed the 2324-applitools-branches branch from 6b35239 to cfbf0ff Compare September 9, 2024 15:05
@samtygier-stfc samtygier-stfc marked this pull request as ready for review September 9, 2024 15:20
@ashmeigh ashmeigh self-requested a review September 10, 2024 09:35
Copy link
Collaborator

@ashmeigh ashmeigh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reviewed the PR and confirmed that the branch_name is correctly implemented for Applitools. Everything appears to be working as expected, and I found no issues. The implementation meets the acceptance criteria and should solve the baseline conflict problem.

@samtygier-stfc samtygier-stfc added this pull request to the merge queue Sep 10, 2024
Merged via the queue into main with commit 0948a45 Sep 10, 2024
8 checks passed
@samtygier-stfc samtygier-stfc deleted the 2324-applitools-branches branch September 10, 2024 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Applitools branches
3 participants