Skip to content

Commit

Permalink
Remove final experiment row requirement from e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
mattseddon committed Apr 2, 2023
1 parent 1b927b3 commit 6fdc993
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions extension/src/test/e2e/extension.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ describe('Experiments Table Webview', function () {
const webview = new ExperimentsWebview('experiments')

const epochs = 15
const finalExperimentRow = 1
const headerRows = 3
const workspaceRow = 1
const commitRows = 3
Expand Down Expand Up @@ -89,7 +88,7 @@ describe('Experiments Table Webview', function () {
async () => {
await webview.expandAllRows()
const currentRows = await webview.row$$
return currentRows.length >= initialRows + epochs + finalExperimentRow
return currentRows.length >= initialRows + epochs
},
{ interval: 5000, timeout: 180000 }
)
Expand All @@ -100,9 +99,7 @@ describe('Experiments Table Webview', function () {

const finalRows = await webview.row$$

expect(finalRows.length).toStrictEqual(
initialRows + epochs + finalExperimentRow
)
expect(finalRows.length).toStrictEqual(initialRows + epochs)
await webview.unfocus()
await closeAllEditors()
await waitForDvcToFinish()
Expand Down

0 comments on commit 6fdc993

Please sign in to comment.