Skip to content

The HTML id of the tabs on the left hand side is randomized #398

@James-G-Hill

Description

@James-G-Hill

When the app is run the tabs object in the HTML is given and input id similar to tabs_896697200 where the numbers are randomized between runs of the application.

This interferes with shinytest2 programmatic testing.

A workaround that works for limited periods is to add a seed parameter when calling shinytest2 AppDriver$new in a test. However, this doesn't appear to be consistent between versions of chromote being used in the background.

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