Skip to content

Commit

Permalink
order of lines
Browse files Browse the repository at this point in the history
  • Loading branch information
JComins000 committed Sep 26, 2024
1 parent 61945cb commit a2632b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webui/react/src/e2e/tests/experimentList.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -288,10 +288,9 @@ test.describe('Experiment List', () => {

test('Multi-sort menu', async ({ newProject, newWorkspace }) => {
const multiSortMenu = projectDetailsPage.f_experimentList.tableActionBar.multiSortMenu;
const secondRow = multiSortMenu.multiSort.rows.nth(1);
const checkTableOrder = async (firstKey: keyof ExperimentBase) => {
const checkTableOrder = (firstKey: keyof ExperimentBase) => {
const experimentList: ExperimentBase[] = JSON.parse(
await detExecSync(
detExecSync(
`project list-experiments --json ${newWorkspace.response.workspace.name} ${newProject.response.project.name}`,
),
);
Expand Down Expand Up @@ -320,6 +319,7 @@ test.describe('Experiment List', () => {

await multiSortMenu.multiSort.add.pwLocator.click();

const secondRow = multiSortMenu.multiSort.rows.nth(1);
await secondRow.column.selectMenuOption(secondSortBy);
await secondRow.order.selectMenuOption(secondSortOrder);

Expand Down

0 comments on commit a2632b9

Please sign in to comment.