Skip to content

E2E test workflow not executing on commenting "/run e2e" or "/test e2e" #1342

@jescalada

Description

@jescalada

#1165 added a GitHub CI workflow for running E2E tests, however, these tests seem to only execute on main after merging. This means that the CI might pass on the PR, but fail after merging on main, which is the case on the latest commit.

There's a section that enables running the tests if there's a "/run e2e" or "/test e2e" comment present:

if: |
    github.event_name != 'issue_comment' || (
      github.event.issue.pull_request &&
      (contains(github.event.comment.body, '/test e2e') || contains(github.event.comment.body, '/run e2e')) &&
      (github.event.comment.author_association == 'OWNER' || 
       github.event.comment.author_association == 'MEMBER' || 
       github.event.comment.author_association == 'COLLABORATOR')
    )

In #1341, I tried triggering the e2e tests via commenting, but it didn't work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions