Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test reorg: KV #26289

Closed
wants to merge 34 commits into from
Closed

Test reorg: KV #26289

wants to merge 34 commits into from

Conversation

hashishaw
Copy link
Contributor

@hashishaw hashishaw commented Apr 5, 2024

WIP -- looking for feedback on whether this is the right approach

@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Apr 5, 2024
Copy link

github-actions bot commented Apr 5, 2024

CI Results: failed ❌

@@ -13,7 +13,7 @@ import consoleClass from 'vault/tests/pages/components/console/ui-panel';
import authForm from 'vault/tests/pages/components/auth-form';
import controlGroup from 'vault/tests/pages/components/control-group';
import controlGroupSuccess from 'vault/tests/pages/components/control-group-success';
import { writeSecret } from 'vault/tests/helpers/kv/kv-run-commands';
import { writeSecret } from 'vault/tests/helpers/kv/kv-selectors';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought I remembered us talking about naming files <resource>-helpers even if it's redundant since they contain helper functions and selectors?


import { create } from 'ember-cli-page-object';
import { deleteEngineCmd, runCmd } from 'vault/tests/helpers/commands';
import { KV_LIST } from 'vault/tests/helpers/components/kv/page/list-selectors';
Copy link
Contributor

@hellobontempo hellobontempo Apr 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even though page components are technically components, they map to route templates and I would have expected these selectors to be a separate block in the kv/kv-selectors file.

I had imagined that the helpers/components/ would contain components that are reused all over the app.

Base automatically changed from ui/hackweek-test-reorg to ui/test-reorg-base April 10, 2024 14:37
@hashishaw
Copy link
Contributor Author

We can do the KV test reorg as a separate follow-on

@hashishaw hashishaw closed this Apr 10, 2024
@hashishaw hashishaw deleted the ui/hackweek-test-reorg--kv branch April 10, 2024 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants