meteor-webdriver icon indicating copy to clipboard operation
meteor-webdriver copied to clipboard

where to put the script files?

Open dcsan opened this issue 10 years ago • 2 comments

the demo files given in the readme as below...

these can just go anywhere? or do they need to go within the package? assume they run server side only?

is there any other wrapper required or just put the below, even into an onStartup block and it should work?

describe('Browser testing', function(done) {

  var _browser;

  before(function(done) {
    wdio.getGhostDriver(function(browser) {
      _browser = browser;
      done();
    });
  })

dcsan avatar Apr 17 '15 22:04 dcsan

within a test, either jasmine or mocha

I think Sanjo has a snip somewhere demoing this

SamHatoum avatar Apr 17 '15 22:04 SamHatoum

https://github.com/Sanjo/meteor-jasmine/wiki/End-to-End-Tests

SamHatoum avatar Apr 17 '15 22:04 SamHatoum