99x / codespecjs Goto Github PK
View Code? Open in Web Editor NEWUI Automation Testing without writing a single line of code
License: MIT License
UI Automation Testing without writing a single line of code
License: MIT License
Acceptance Criteria
Acceptance Criteria
This exception occurs when I tried to run the test
[12:29:41] E/configParser - Error code: 105
[12:29:41] E/configParser - Error message: failed loading configuration file protractor.conf.js
[12:29:41] E/configParser - Error: Cannot find module 'protractor'
at Function.Module._resolveFilename (module.js:536:15)
at Function.Module._load (module.js:466:25)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at Object. (C:\Users\Muditha\git\CodeSpecJS\protractor.conf.js:4:17)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
Node version - v9.x
When you run this in Ubuntu you will get an error as below.
Unhandled rejection TSError: ⨯ Unable to compile TypeScript
lib/base.steps.ts (13,24): Cannot find module './domain/ihooks'. (2307)
at getOutput (/home/lasitha/Projects/RND/CodeSpecJS/node_modules/ts-node/src/index.ts:307:15)
at /home/lasitha/Projects/RND/CodeSpecJS/node_modules/ts-node/src/index.ts:336:16
at Object.compile (/home/lasitha/Projects/RND/CodeSpecJS/node_modules/ts-node/src/index.ts:498:11)
at Module.m._compile (/home/lasitha/Projects/RND/CodeSpecJS/node_modules/ts-node/src/index.ts:392:43)
at Module._extensions..js (module.js:646:10)
at Object.require.extensions.(anonymous function) [as .ts] (/home/lasitha/Projects/RND/CodeSpecJS/node_modules/ts-node/src/index.ts:395:12)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at /home/lasitha/Projects/RND/CodeSpecJS/node_modules/cucumber/lib/cli/index.js:135:16
at Array.forEach (<anonymous>)
at Cli.getSupportCodeLibrary (/home/lasitha/Projects/RND/CodeSpecJS/node_modules/cucumber/lib/cli/index.js:134:24)
at Cli.<anonymous> (/home/lasitha/Projects/RND/CodeSpecJS/node_modules/cucumber/lib/cli/index.js:144:39)
at Generator.next (<anonymous>)
To correct this issue:
Open base.steps.ts file in some editor (vim)
vim lib/base.steps.ts
Locate line 13:
import { IHooks } from './domain/ihooks';
change the line like below (Change ihooks to Ihooks)
import { IHooks } from './domain/Ihooks';
Acceptance Criteria
Acceptance Criteria
Acceptance Criteria
Add CODE_OF_CONDUCT.md
This project is awesome!.
It would be great if can publish this as a NPM and allows to use simply in any JS app :)
Acceptance Criteria
Add CONTRIBUTING.md
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.