Skip to content

Commit

Permalink
test: preparing a homework assignment [TESTENG-4] (#9495)
Browse files Browse the repository at this point in the history
  • Loading branch information
JComins000 authored Jun 10, 2024
1 parent 27e7307 commit f87214b
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
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 () => {});
});
});

0 comments on commit f87214b

Please sign in to comment.