Skip to content

Commit

Permalink
[O2B-1002] Remove run tab title (#1170)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinboulais authored Sep 22, 2023
1 parent 286385d commit 17bdcd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,7 @@ export const EnvironmentDetailsPage = ({ envs: { detailsModel } }) => detailsMod
[ENVIRONMENT_DETAILS_PANELS_KEYS.LOGS]: 'Logs',
},
{
[ENVIRONMENT_DETAILS_PANELS_KEYS.RUNS]: () => [
h('h3', 'Runs'),
h('#runs', table(runs, runsActiveColumns, null, { profile: 'environment' })),
],
[ENVIRONMENT_DETAILS_PANELS_KEYS.RUNS]: () => table(runs, runsActiveColumns, null, { profile: 'environment' }),
[LHC_FILL_DETAILS_PANELS_KEYS.LOGS]: (logs) => table(logs, logsActiveColumns, null, { profile: 'embeded' }),
},
),
Expand Down
2 changes: 1 addition & 1 deletion test/public/envs/detailsPage.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ module.exports = () => {
});

it('Should successfully display the runs related to the environment', async () => {
const runsRows = await page.$$('#runs tbody tr');
const runsRows = await page.$$('#runs-pane tbody tr');
expect(runsRows).to.have.lengthOf(3);
expect(await runsRows[0].$eval('td:first-of-type', (element) => element.innerText)).to.equal('103');
expect(await runsRows[1].$eval('td:first-of-type', (element) => element.innerText)).to.equal('104');
Expand Down

0 comments on commit 17bdcd1

Please sign in to comment.