compilerversion

indexworkspace2
filip mertens 3 years ago
parent a6341f36e0
commit 7aeb5a7500
  1. 12
      apps/remix-ide-e2e/src/local-plugin/tests/plugin-api.test.ts

@ -16,6 +16,16 @@ interface dataIdSelectorInterface extends Selector {
select(id: string): Promise<any>
}
const setCompilerVersion = async (t: TestController, version: string) => {
const citySelect = Selector('#versionSelector')
const cityOption = citySelect.find('option')
await t.click(citySelect).click(cityOption.withAttribute('value', 'builtin'))
}
const ClickLaunchIcon = async (t: TestController, icon: string) => {
await t.click('#icon-panel div[plugin="' + icon + '"]')// .click('#icon-panel div[plugin="' + icon + '"]')
}
const dataIdSelector = async (id: string) => { return Selector(`[data-id="${id}"]`) }
const installPlugin = async (t: TestController, profile: Profile & LocationProfile & ExternalProfile) => {
@ -54,6 +64,8 @@ test('install plugin', async t => {
await t.click(Selector('Button').withText('Sure'))
}
await t.click('.introjs-skipbutton')
// await ClickLaunchIcon(t, 'solidity')
// await setCompilerVersion(t, 'builtin')
await installPlugin(t, localPluginData)
})

Loading…
Cancel
Save