Giter VIP home page Giter VIP logo

Comments (8)

kaustavdm avatar kaustavdm commented on May 30, 2024 1

@renjithgr you up for this? If so, please self-assign.

from gauge-js.

kaustavdm avatar kaustavdm commented on May 30, 2024

@renjithgr I have implemented a custom VM and it works for me. Tested on nodejs v4.4.1. Can you test on your end?

from gauge-js.

renjithgr avatar renjithgr commented on May 30, 2024

Great job! Works on nodejs v5.5.0! 👍

from gauge-js.

kaustavdm avatar kaustavdm commented on May 30, 2024

Need to figure out what is the minimum NodeJS version that we can support because of this change. According to Node's API docs, you will need v0.12.x+. But, we still need to confirm it.

from gauge-js.

kaustavdm avatar kaustavdm commented on May 30, 2024

I'm still seeing trouble on Windows 😠

from gauge-js.

kaustavdm avatar kaustavdm commented on May 30, 2024

CWD in test implementations is changed to GAUGE_PROJECT_ROOT. Reading files from relative to the project root works on Linux and OSX, but fails on Windows.

Here is the code for tests/step_implementations.js:

var fs = require("fs");

// I know you can `require()` this, but just for the sake of the example...
// This should read the `manifest.json` file at the root of the project,
// but it ends up looking in the parent directory of the project root in Windows.
var manifest = fs.readFileSync("manifest.json").toString("utf-8");

from gauge-js.

kaustavdm avatar kaustavdm commented on May 30, 2024

So, it seems like I solved this as part of e87f931 😉

from gauge-js.

philipbeadle avatar philipbeadle commented on May 30, 2024

Am I doing this right? I have this file https://github.com/philipbeadle/gauge-js-angular-webdriver-demo/blob/1-Using_module.exports_to_hold_Driver/tests/tests/driver.js
But I cant reference the driver variable in
https://github.com/philipbeadle/gauge-js-angular-webdriver-demo/blob/1-Using_module.exports_to_hold_Driver/tests/tests/angular.js

The driver.js file doesn't appear to be executed at all as the console.log doesn't write out either.

from gauge-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.