influxdata / influxdata/ui

add `cy.signInAndSetFeatureFlags` method to make setting of feature flags faster

Open
#6,026 0 comments 0 reactions 1 assignee Claimed by @subirjolly View on GitHub
enhancement team/dumplings team/ui
Dominant language
TypeScript
Stars
117
Forks
51
Avg merge
2d 15h
Merged PRs (30d)
4

Description

`cy.setFeatureFlags` is improved but the side-effect of this improvement is an extra `cy.reload` right after setting the feature flags. Instead we can make this even faster by doing a couple of things:
1. Remove `cy.reload` from within `cy.setFeatureFlags` implementation. AND,
2. Add a new method `cy.signInAndSetFeatureFlags` which signs you in using `cy.signin` and then call `cy.setFeatureFlags`. Then,
3. Use `cy.signInAndSetFeatureFlags` in places where it can be used(in most of the places).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.