Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Percy: hide timestamp in permalink rendering screenshot test#10836

Merged
kerryarchibald merged 7 commits into
developfrom
kerry/hide-timestamp-permalink-rendering-percy
May 12, 2023
Merged

Percy: hide timestamp in permalink rendering screenshot test#10836
kerryarchibald merged 7 commits into
developfrom
kerry/hide-timestamp-permalink-rendering-percy

Conversation

@kerryarchibald
Copy link
Copy Markdown
Contributor

@kerryarchibald kerryarchibald commented May 10, 2023

https://percy.io/dfde73bd/matrix-react-sdk/builds/27244298/changed/1515623098?browser=chrome&browser_ids=36%2C38%2C39&subcategories=unreviewed%2Cchanges_requested&viewLayout=overlay&viewMode=new&width=1920&widths=264%2C1024%2C1920

Checklist

  • Tests written for new code (and old code if feasible)
  • Linter and other CI checks pass
  • Sign-off given on the changes (see CONTRIBUTING.md)

This change is marked as an internal change (Task), so will not be included in the changelog.

@kerryarchibald kerryarchibald added the T-Task Refactoring, enabling or disabling functionality, other engineering tasks label May 10, 2023
@kerryarchibald kerryarchibald requested a review from a team as a code owner May 10, 2023 02:51
@kerryarchibald kerryarchibald added the X-Needs-Percy Whether to run Percy screenshot tests in Merge Queue label May 10, 2023
cy.get(".mx_GenericEventListSummary").invoke("remove");

cy.get(".mx_RoomView_timeline").percySnapshotElement("Permalink rendering");
const percyCSS = ".mx_MessageTimestamp, .mx_RoomView_myReadMarker { visibility: hidden !important; }";
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This will have to be updated once #10745 is merged.

@kerryarchibald kerryarchibald added this pull request to the merge queue May 11, 2023
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 11, 2023
@andybalaam
Copy link
Copy Markdown
Member

The status checks were Percy checks that I have ticked, and the "no artifacts found" flake from our SonarCloud job. Re-running.

@andybalaam andybalaam added this pull request to the merge queue May 11, 2023
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 11, 2023
@kerryarchibald kerryarchibald enabled auto-merge May 11, 2023 10:04
@kerryarchibald kerryarchibald added this pull request to the merge queue May 11, 2023
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to no response for status checks May 11, 2023
@andybalaam
Copy link
Copy Markdown
Member

no artifacts found - should work after #10863 is merged

@kerryarchibald kerryarchibald added this pull request to the merge queue May 11, 2023
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 11, 2023
@kerryarchibald kerryarchibald added this pull request to the merge queue May 11, 2023
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 12, 2023
@kerryarchibald kerryarchibald added this pull request to the merge queue May 12, 2023
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 12, 2023
@kerryarchibald kerryarchibald added this pull request to the merge queue May 12, 2023
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 12, 2023
@kerryarchibald kerryarchibald removed the X-Needs-Percy Whether to run Percy screenshot tests in Merge Queue label May 12, 2023
@kerryarchibald kerryarchibald enabled auto-merge May 12, 2023 01:45
@kerryarchibald kerryarchibald added this pull request to the merge queue May 12, 2023
@kerryarchibald
Copy link
Copy Markdown
Contributor Author

Percy check seems to return failure as soon as the screenshots are ready in percy, so even if you babysit the PR and approve the percy build as soon as it is ready the PR is already kicked from the build queue.

Merged via the queue into develop with commit 2767fd6 May 12, 2023
@kerryarchibald kerryarchibald deleted the kerry/hide-timestamp-permalink-rendering-percy branch May 12, 2023 02:11
@andybalaam
Copy link
Copy Markdown
Member

Percy check seems to return failure as soon as the screenshots are ready in percy, so even if you babysit the PR and approve the percy build as soon as it is ready the PR is already kicked from the build queue.

Yeah I've noticed the same behaviour :-(

richvdh pushed a commit that referenced this pull request May 12, 2023
* hide timestamp

* retrigger sonar

* trigger build
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

T-Task Refactoring, enabling or disabling functionality, other engineering tasks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants