Skip to content

[Feature Request] Add workflow to update snapshot HTML content files #9831

Description

@filzrev

Is your feature request related to a problem? Please describe.
Currently CI workflow(ci,yml) don't validate snapshot HTML.
(Because BUILD_SERVER environment variable is not set)

And Snapshot HTML is not updated since Percy Test is introduced.
So it cause diffs when running tests on local environment.

Describe the solution you'd like

Add separated CI workflow to update snapshot HTMLs.

This workflow should be invoked with workflow_dispatch trigger.
Because GitHub action workflows don't allow to invoke another workflow(ci.yml) within a workflow except for workflow_dispatch trigger.

Expected steps to update snapshot

  1. Manually invoke snapshot update workflow from GitHub Action UI or gh workflow run command.
  2. Run snapshot tests.
  3. If diffs exists after tests. Commit diff files. and invoke ci.yml workflow.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    fundamentalEngineering system and core components

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions