codeceptjs

codeceptjs tests 'before each' hook error fails to launch chrome. tests were working fine a week ago

拥有回忆 提交于 2020-08-10 18:51:17
问题 I asked this question several months ago here but the solution was obviously not helpful because here I am again with the exact same problem. in that link I was told to change my image from node:latest to node:13 . this no longer fixes the problem. I have tried every version of node and none work. I have tried using premade images of puppeteer/codeceptjs but that does not work. here's the problem: 4 months ago I coded a bunch of tests. they worked fine so i set them up on gitlab to run

codeceptjs tests 'before each' hook error fails to launch chrome. tests were working fine a week ago

谁说胖子不能爱 提交于 2020-08-10 18:51:11
问题 I asked this question several months ago here but the solution was obviously not helpful because here I am again with the exact same problem. in that link I was told to change my image from node:latest to node:13 . this no longer fixes the problem. I have tried every version of node and none work. I have tried using premade images of puppeteer/codeceptjs but that does not work. here's the problem: 4 months ago I coded a bunch of tests. they worked fine so i set them up on gitlab to run

Pushing Test Names to Sauce Labs with CodeceptJS

♀尐吖头ヾ 提交于 2019-12-24 22:09:49
问题 I have been trying to get Sauce Labs to report the names of the tests that are being run with CodeceptJS, but so far I've only been able to report success/failure. I followed the following thread as a guide to help with reporting anything to Sauce Labs in general: https://github.com/Codeception/CodeceptJS/issues/371 The snippet I found is as follows: _after() { if (process.env.SAUCE_USERNAME) { var sessionId = this.helpers['WebDriverIO'].browser.requestHandler.sessionID; var sauce_url = "Test

Automated Chrome hides text in CodeceptJS WebdriverIO test

爱⌒轻易说出口 提交于 2019-12-05 09:43:09
问题 I have a fresh install of Chrome Version 67.0.3396.87 and followed the https://codecept.io/quickstart/ to init a project and create the following test: Feature('Hidden Text'); Scenario('test something', (I) => { I.amOnPage('/'); pause(); }); The codecept.json config is pretty standard: { "tests": "./*_test.js", "timeout": 10000, "output": "./output", "helpers": { "WebDriverIO": { "url": "https://codecept.io", "browser": "chrome" } }, "include": { "I": "./steps_file.js" }, "bootstrap": false,

Automated Chrome hides text in CodeceptJS WebdriverIO test

别等时光非礼了梦想. 提交于 2019-12-03 21:49:13
I have a fresh install of Chrome Version 67.0.3396.87 and followed the https://codecept.io/quickstart/ to init a project and create the following test: Feature('Hidden Text'); Scenario('test something', (I) => { I.amOnPage('/'); pause(); }); The codecept.json config is pretty standard: { "tests": "./*_test.js", "timeout": 10000, "output": "./output", "helpers": { "WebDriverIO": { "url": "https://codecept.io", "browser": "chrome" } }, "include": { "I": "./steps_file.js" }, "bootstrap": false, "mocha": {}, "name": "chrome-missing-text" } When I run the test all text is hidden: Interestingly this