indexworkspace2
filip mertens 3 years ago
parent 0201621d66
commit 92c7f37ff5
  1. 2
      apps/remix-ide-e2e/src/local-plugin/.testcaferc.js
  2. 5
      apps/remix-ide-e2e/src/local-plugin/tests/plugin-api.test.ts

@ -2,7 +2,7 @@ let os = require("os");
module.exports = { module.exports = {
skipJsErrors: true, skipJsErrors: true,
browsers: ['chrome'], browsers: ['chrome -incognito'],
screenshots: { screenshots: {
"path": "/tmp/artifacts", "path": "/tmp/artifacts",
"takeOnFails": true, "takeOnFails": true,

@ -129,8 +129,11 @@ test.disablePageReloads('run a test file', async t => {
.click('#remember') .click('#remember')
.click(Selector('span').withText('Accept')) .click(Selector('span').withText('Accept'))
.switchToIframe('#plugin-localplugin') .switchToIframe('#plugin-localplugin')
.typeText('#payload', '/', { replace: true })
.click(Selector('Button') .click(Selector('Button')
.withText('run sol test')).wait(5000) .withText('readdir'))
.click(Selector('Button')
.withText('run sol test'))
await expectLogMessage(t, '"totalPassing":1,"totalFailing":0') await expectLogMessage(t, '"totalPassing":1,"totalFailing":0')
}) })

Loading…
Cancel
Save