Skip to content

Commit

Permalink
FOR DEBUGGING: only run one Cypress test in one file
Browse files Browse the repository at this point in the history
  • Loading branch information
andybalaam committed Sep 1, 2023
1 parent 901ae0c commit 8926dd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/cypress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ jobs:
- name: Run Cypress tests
uses: cypress-io/github-action@fa88e4afe551e64c8827a4b9e379afc63d8f691a
with:
spec: cypress/e2e/read-receipts/high-level.spec.ts
working-directory: matrix-react-sdk
# The built-in Electron runner seems to grind to a halt trying to run the tests, so use chrome.
browser: ${{ steps.setup-chrome.outputs.chrome-path }}
Expand Down
3 changes: 2 additions & 1 deletion cypress/e2e/read-receipts/high-level.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,8 @@ describe("Read receipts", () => {
describe("in the main timeline", () => {
// TODO: this passes but we think this should fail, because we think edits should not cause unreads.
// XXX: fails because on CI we get a dot, but locally we get a count. Must be a timing issue.
it.skip("Editing a message makes a room unread", () => {
// eslint-disable-next-line jest/no-focused-tests
it.only("Editing a message makes a room unread", () => {
// Given I am not looking at the room
goTo(room1);

Expand Down

0 comments on commit 8926dd5

Please sign in to comment.