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: preparing a homework assignment [TESTENG-4] #9495

Merged
merged 1 commit into from
Jun 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion webui/react/src/e2e/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Pick between live and static
#### Live Changes

1. `npm run start` `--prefix webui/react`
2. `conda activate det &&` `devcluster`
2. `conda activate det &&` `make devcluster`

#### Static Build and Cluster Up

Expand Down
27 changes: 27 additions & 0 deletions webui/react/src/e2e/tests/experimentList.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,4 +257,31 @@ test.describe('Experiement List', () => {
await authedPage.waitForURL(/overview/);
});
});

// remember to unskip this test
test.skip('Datagrid Actions', async () => {
const row = await projectDetailsPage.f_experiemntList.dataGrid.getRowByColumnValue('ID', '1');
await row.experimentActionDropdown.open();
// feel free to split actions into their own test cases. this is just a starting point
await test.step('Pause', async () => {
// what happens if the experiment is already paused?
});
await test.step('Stop', async () => {
// what happens if the experiment is already stopped?
});
await test.step('Kill', async () => {
// what happens if the experiment is already killed? do we need to change beforeAll logic?
});
await test.step('Move', async () => {
// move to where? do we need a new project? check project spec
});
await test.step('Archive / Unarchive', async () => {
// what happens if the experiment is already archived?
});
await test.step('View in Tensorboard', async () => {
// might want something like this
// await authedPage.waitForURL(;
});
await test.step('Hyperparameter Search', async () => {});
});
});
Loading