Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Custom screenshots directory #103

Closed
MrZordex opened this issue Feb 22, 2021 · 4 comments
Closed

Custom screenshots directory #103

MrZordex opened this issue Feb 22, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@MrZordex
Copy link
Contributor

Hi,
How can I save the screenshots in another directory? e.g. I want all the runs under C:\RootCauseRuns and not under project\.root-cause\runs

@benjamingr
Copy link
Contributor

Sure, it's basically changing:

export const RESULTS_DIR_NAME = '.root-cause';

To

export const RESULTS_DIR_NAME = process.env.ROOT_CAUSE_DIR_NAME ?? '.root-cause';

Wanna make a PR?

cc @omril1

@MrZordex
Copy link
Contributor Author

Sure, it's basically changing:

export const RESULTS_DIR_NAME = '.root-cause';

To

export const RESULTS_DIR_NAME = process.env.ROOT_CAUSE_DIR_NAME ?? '.root-cause';

Wanna make a PR?

cc @omril1

Done.
When will I be able to enjoy the feature? :)

@benjamingr
Copy link
Contributor

@MrZordex great, thanks!

I'm on paternity leave, @omril1 is in charge of maintaining this now anyway ^^

Any chance we can get a new release today/tomorrow with the PR merged @omril1 ?

@omril1 omril1 added the enhancement New feature or request label Feb 23, 2021
@omril1
Copy link
Collaborator

omril1 commented Feb 23, 2021

When will I be able to enjoy the feature? :)

@MrZordex Try now, npm info @testim/root-cause@0.1.33

@omril1 omril1 closed this as completed Feb 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants