diff --git a/apps/remix-ide-e2e/src/local-plugin/.testcaferc.js b/apps/remix-ide-e2e/src/local-plugin/.testcaferc.js index afe5b0e8dc..c3649654c2 100644 --- a/apps/remix-ide-e2e/src/local-plugin/.testcaferc.js +++ b/apps/remix-ide-e2e/src/local-plugin/.testcaferc.js @@ -2,7 +2,7 @@ let os = require("os"); module.exports = { skipJsErrors: true, - browsers: ['chrome'], + browsers: ['chrome -incognito'], screenshots: { "path": "/tmp/artifacts", "takeOnFails": true, diff --git a/apps/remix-ide-e2e/src/local-plugin/tests/plugin-api.test.ts b/apps/remix-ide-e2e/src/local-plugin/tests/plugin-api.test.ts index c2197099e6..7bc2607cef 100644 --- a/apps/remix-ide-e2e/src/local-plugin/tests/plugin-api.test.ts +++ b/apps/remix-ide-e2e/src/local-plugin/tests/plugin-api.test.ts @@ -129,8 +129,11 @@ test.disablePageReloads('run a test file', async t => { .click('#remember') .click(Selector('span').withText('Accept')) .switchToIframe('#plugin-localplugin') + .typeText('#payload', '/', { replace: true }) .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') })