Skip to content

Commit

Permalink
test: chore: fix some typos (#9646)
Browse files Browse the repository at this point in the history
  • Loading branch information
JComins000 authored Jul 11, 2024
1 parent 53aa974 commit 7fab87b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion webui/react/src/e2e/models/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ When creating page models, you'll most likely want to author test hooks into the

Not every component needs a data-test, but, in general, more is better. It's better to select for _"a duck named Hoffman"_ rather than "a duck" or "Hoffman". In situations where adding a top-level test hook (`data-test-component`) could be more trouble than it's worth, it's okay to use other unique identifiers, like `.ant-table`.

## Appenidx
## Appendix

### Appreciation and Inspiration

Expand Down
4 changes: 2 additions & 2 deletions webui/react/src/e2e/tests/experimentList.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ test.describe('Experiment List', () => {
});

test('Datagrid Functionality Validations', async ({ authedPage }) => {
const row = await projectDetailsPage.f_experimentList.dataGrid.getRowByIndex(0);
const row = projectDetailsPage.f_experimentList.dataGrid.getRowByIndex(0);
await test.step('Select Row', async () => {
await row.clickColumn('Select');
expect.soft(await row.isSelected()).toBeTruthy();
Expand All @@ -256,7 +256,7 @@ test.describe('Experiment List', () => {
});

test('Datagrid Actions', async () => {
const row = await projectDetailsPage.f_experimentList.dataGrid.getRowByIndex(0);
const row = projectDetailsPage.f_experimentList.dataGrid.getRowByIndex(0);
await row.experimentActionDropdown.open();
// feel free to split actions into their own test cases. this is just a starting point
await test.step('Edit', async () => {
Expand Down

0 comments on commit 7fab87b

Please sign in to comment.