pull/5371/head
bunsenstraat 2 weeks ago committed by bunsenstraat
parent d244c909be
commit d3c71d1641
  1. 3
      apps/remix-ide-e2e/src/helpers/init.ts
  2. 2
      libs/remix-ui/app/src/lib/remix-app/state/app.ts
  3. 1
      libs/remix-ui/statusbar/src/lib/components/aiStatus.tsx

@ -29,6 +29,8 @@ export default function (browser: NightwatchBrowser, callback: VoidFunction, url
.enableClipBoard() .enableClipBoard()
.waitForElementVisible('*[data-id="hTScamAlertButton"]') .waitForElementVisible('*[data-id="hTScamAlertButton"]')
.click('*[data-id="hTScamAlertButton"]') .click('*[data-id="hTScamAlertButton"]')
.waitForElementVisible('*[data-id="aiStatusButton"]')
.click('*[data-id="aiStatusButton"]')
.perform((done) => { .perform((done) => {
browser.execute(function () { // hide tooltips browser.execute(function () { // hide tooltips
function addStyle(styleString) { function addStyle(styleString) {
@ -78,7 +80,6 @@ export default function (browser: NightwatchBrowser, callback: VoidFunction, url
function initModules(browser: NightwatchBrowser, callback: VoidFunction) { function initModules(browser: NightwatchBrowser, callback: VoidFunction) {
browser browser
.pause()
.click('[data-id="verticalIconsKindpluginManager"]') .click('[data-id="verticalIconsKindpluginManager"]')
.scrollAndClick('[data-id="pluginManagerComponentActivateButtonsolidityStaticAnalysis"]') .scrollAndClick('[data-id="pluginManagerComponentActivateButtonsolidityStaticAnalysis"]')
.scrollAndClick('[data-id="pluginManagerComponentActivateButtondebugger"]') .scrollAndClick('[data-id="pluginManagerComponentActivateButtondebugger"]')

@ -6,5 +6,5 @@ export const appInitialState: AppState = {
currentBranch: null, currentBranch: null,
needsGitInit: true, needsGitInit: true,
canUseGit: false, canUseGit: false,
showPopupPanel: false showPopupPanel: true
} }

@ -61,6 +61,7 @@ export default function AIStatus(props: AIStatusProps) {
color: 'var(--ai)', color: 'var(--ai)',
boxShadow: '3px 3px var(--secondary), -0.1em 0 1.4em var(--secondary)' boxShadow: '3px 3px var(--secondary), -0.1em 0 1.4em var(--secondary)'
}} }}
data-id="aiStatusButton"
className='p-1 alert alert-info border border-info fa-solid fa-message-bot' className='p-1 alert alert-info border border-info fa-solid fa-message-bot'
onClick={async () => { onClick={async () => {
appContext.appStateDispatch({ appContext.appStateDispatch({

Loading…
Cancel
Save