From 9f93cf15446f95f4f871420118317de06f8689eb Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 28 Oct 2021 13:47:44 +0200 Subject: [PATCH] fix e2e --- apps/remix-ide-e2e/src/tests/defaultLayout.test.ts | 3 --- apps/remix-ide/src/app/panels/tab-proxy.js | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/apps/remix-ide-e2e/src/tests/defaultLayout.test.ts b/apps/remix-ide-e2e/src/tests/defaultLayout.test.ts index c8133c4c20..8e70f26b20 100644 --- a/apps/remix-ide-e2e/src/tests/defaultLayout.test.ts +++ b/apps/remix-ide-e2e/src/tests/defaultLayout.test.ts @@ -63,9 +63,6 @@ module.exports = { .click('[data-id="treeViewLitreeViewItemcontracts"]') .openFile('contracts/3_Ballot.sol') .assert.containsText('div[title="default_workspace/contracts/3_Ballot.sol"]', '3_Ballot.sol') - .click('span[class^=dropdownCaret]') - .click('#homeItem') - .assert.containsText('div[title="home"]', 'Home') .end() } } diff --git a/apps/remix-ide/src/app/panels/tab-proxy.js b/apps/remix-ide/src/app/panels/tab-proxy.js index ecf5ece29f..5c3e870a42 100644 --- a/apps/remix-ide/src/app/panels/tab-proxy.js +++ b/apps/remix-ide/src/app/panels/tab-proxy.js @@ -231,7 +231,7 @@ export class TabProxy extends Plugin { name, title, icon, - tooltip: title, + tooltip: name, iconClass: helper.getPathIcon(name) }) formatPath.shift() @@ -259,7 +259,7 @@ export class TabProxy extends Plugin { name, title, icon, - tooltip: title, + tooltip: name, iconClass: helper.getPathIcon(name) }) }