Skip to content

Date dependent path added for selenium screenshots #989

@dosas

Description

@dosas

Currently for selenium screenshots a folder consisting of the current date is created, IMHO this should be removed for the following reasons:

  • The screenshot path is provided by the setting settings.selenium.screenshots_path which is kind of overwritten/extended byt his and makes it impossible to reference this setting elsewhere (CI, pytest, ...)
  • Everything that is date dependent makes problems in a CI system: Imagine running the tests around midnight then you get two folders for one testrun
  • The date is already added in the screenshot filename, so this information is duplicated

Further more a setting to not have the datetime in the screenshot file name could be added.

Also the name screenshot in a file name inside a screenshot directory does not make sense to me.

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