Coder Social home page Coder Social logo

cucumber-meteor-tutorial's Introduction

Ghost Screenshot

Ghost is a free, open, simple blogging platform that's available to anyone who wants to use it. Lovingly created and maintained by John O'Nolan + Hannah Wolfe + an amazing group of contributors.

Visit the project's website at http://ghost.org โ€ข docs on http://support.ghost.org.

Getting Involved

Want to report a bug, request a feature, contribute or translate Ghost? Check out our in-depth guide to Contributing to Ghost. We need all the help we can get! You can also join in with our community to keep up-to-date and meet other Ghosters.

Getting Started

There are a few different ways to install Ghost, take care to use the method which best suits your needs.

Please note - the downloadable zip files we provide on Ghost.org, the GitHub releases page, and via npm are pre-built packages designed for getting setup quickly. Cloning from the git repository requires you to install several dependencies and build the assets yourself.

Install from zip (fastest & best for bloggers)

If you just want to get a Ghost blog running in the fastest time possible, this method is for you.

For detailed instructions on various platforms, visit the Ghost Installation Guide. If you get stuck, help is available on our support site.

  1. Install Node.js - Ghost requires Node v0.10.x
  2. Download the latest Ghost package from Ghost.org.
  3. Create a new directory where you would like to run the code, and un-zip the package to that location.
  4. Fire up a Terminal, the Node Command Prompt or shell and change directory to the root of the Ghost application (where config.example.js and index.js are)
  5. run npm install --production to install the node dependencies. If you see error Error: ENOENT on this step, make sure you are in the project directory and try again.
  6. To start ghost, run npm start
  7. Visit http://localhost:2368/ in your web browser or go to http://localhost:2368/ghost to log in

Check out the Documentation for more detailed instructions, or get in touch via the forum if you get stuck.

Install from git

If you're a developer or someone comfortable getting up and running from a git clone, this method is for you.

If you clone the GitHub repository, you will need to build a number of assets using grunt.

Please do NOT use the master branch of Ghost in production. If you are using git to deploy to production, please use the latest release or the stable branch which contains the latest release.

Full instructions & troubleshooting tips can be found in the Contributing Guide.

Quickstart:

  1. npm install -g grunt-cli
  2. npm install
  3. grunt init (and grunt prod if you want to run Ghost in production mode)
  4. npm start

Check out the Documentation for more detailed instructions, or get in touch via the forum if you get stuck.

Install from npm

If you want to build Ghost into a larger node app, or are familiar with using npm packages, then this method might be for you.

npm install ghost

Further setup instructions can be found in the using Ghost as an npm module wiki entry.

Upgrading to The Latest Version

Upgrade instructions can be found on the Ghost Support Site

Logging in For The First Time

Once you have the Ghost server up and running, you should be able to navigate to http://localhost:2368/ghost/ from a web browser, where you will be prompted to setup your blog and user account. Once you have entered your desired credentials you will be automatically logged in to the admin area. The setup screen will not be accessible once the process has been completed.

Community

Keep track of Ghost development and Ghost community activity.

Versioning

For transparency and insight into our release cycle, and for striving to maintain backward compatibility, Ghost will be maintained according to the Semantic Versioning guidelines as much as possible.

Releases will be numbered with the following format:

<major>.<minor>.<patch>-<build>

Constructed with the following guidelines:

  • A new major release indicates a large change where backwards compatibility is broken.
  • A new minor release indicates a normal change that maintains backwards compatibility.
  • A new patch release indicates a bugfix or small change which does not affect compatibility.
  • A new build release indicates this is a pre-release of the version.

Copyright & License

Copyright (c) 2013-2015 Ghost Foundation - Released under the MIT license.

cucumber-meteor-tutorial's People

Contributors

mhurwi avatar philcruz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

cucumber-meteor-tutorial's Issues

NoSuchElement error persists after adding loginButtons

        this.Given(/^I am logged in$/, function(callback) {        
            //callback.pending(); 
            this.client
            .url(process.env.ROOT_URL)
            .waitForExist('body *')
            .waitForVisible('body *')
            .click('#login-sign-in-link')
            .setValue('#login-email', 'lscordilis@fortinet')
            .setValue('#login-password', 'testtest')
            .click('#login-buttons-password')
            .call(callback);
        });

After adding the steps for logging in, I added the login buttons to the body and restarted the meteor app and velocity servers

<body>
    <h1>Welcome to Meteor!</h1>
    {{> loginButtons}}
</body>

They appear on the page and when I inspect the elements, the names and ids are correct.
image

So I don't know what's causing the NoSuchElement error still :/
image

I'm trying Cucumber and Velocity for the first time ever, and I've only been working with Meteor for a little while so I greatly appreciate any help, thanks.

Error: An element could not be located

When i followed the cucumber-meteor-tutorial, following errors occured:

1 scenario (1 failed)
4 steps (1 failed, 2 skipped, 1 passed)
[chimp][hooks] Starting AfterFeatures
[chimp][hooks] Ending browser session
[chimp][session-manager] watch / server mode are true, not killing session
[chimp][hooks] Ended browser sessions
[chimp][hooks] Finished AfterFeatures

[chimp][cucumber] Closed with code 2
[chimp] finished rerun
[chimp] Finished running async processes with errors
Error: An element could not be located on the page using the given search parameters.
  at Object.<anonymous> (/home/byrne/.meteor/packages/xolvio_cucumber/.0.12.2.izw9g5++os+web.browser+web.cordova/npm/node_modules/chimp/node_modules/webdriverio/lib/commands/setValue.js:44:19)
  at Object.safeExecute (/home/byrne/.meteor/packages/xolvio_cucumber/.0.12.2.izw9g5++os+web.browser+web.cordova/npm/node_modules/chimp/node_modules/webdriverio/lib/utils/safeExecute.js:22:24)
  at Object.WebdriverIO.resolve (/home/byrne/.meteor/packages/xolvio_cucumber/.0.12.2.izw9g5++os+web.browser+web.cordova/npm/node_modules/chimp/node_modules/webdriverio/lib/webdriverio.js:73:29)
  at /home/byrne/.meteor/packages/xolvio_cucumber/.0.12.2.izw9g5++os+web.browser+web.cordova/npm/node_modules/chimp/node_modules/webdriverio/lib/webdriverio.js:183:32
  at _fulfilled (/home/byrne/.meteor/packages/xolvio_cucumber/.0.12.2.izw9g5++os+web.browser+web.cordova/npm/node_modules/chimp/node_modules/webdriverio/node_modules/q/q.js:820:54)
  at self.promiseDispatch.done (/home/byrne/.meteor/packages/xolvio_cucumber/.0.12.2.izw9g5++os+web.browser+web.cordova/npm/node_modules/chimp/node_modules/webdriverio/node_modules/q/q.js:849:30)
  at Promise.promise.promiseDispatch (/home/byrne/.meteor/packages/xolvio_cucumber/.0.12.2.izw9g5++os+web.browser+web.cordova/npm/node_modules/chimp/node_modules/webdriverio/node_modules/q/q.js:782:13)
  at /home/byrne/.meteor/packages/xolvio_cucumber/.0.12.2.izw9g5++os+web.browser+web.cordova/npm/node_modules/chimp/node_modules/webdriverio/node_modules/q/q.js:590:44
  at runSingle (/home/byrne/.meteor/packages/xolvio_cucumber/.0.12.2.izw9g5++os+web.browser+web.cordova/npm/node_modules/chimp/node_modules/webdriverio/node_modules/q/q.js:123:13)
  at flush (/home/byrne/.meteor/packages/xolvio_cucumber/.0.12.2.izw9g5++os+web.browser+web.cordova/npm/node_modules/chimp/node_modules/webdriverio/node_modules/q/q.js:111:13)
  at process._tickDomainCallback (node.js:486:13)

meteor list

accounts-password  1.1.1  Password support for accounts
accounts-ui        1.1.5  Simple templates to add login widgets to an app
autopublish        1.0.3  Publish the entire database to all clients
insecure           1.0.3  Allow all database writes by default
meteor-platform    1.2.2  Include a standard set of Meteor packages in your app
xolvio:cucumber    0.12.2  CucumberJS for Velocity

Get error on log file when run meteor application with velocity:cucumber

@mhurwi

I run this example its show error on cucumber.log file---

=> App running at: http://localhost:51961/
Type Control-C twice to stop.

[velocity] Mirror has established connection with Velocity.
[xolvio:cucumber] Cucumber is running
[selenium] [Error: Could not request headers from http://selenium-release.storage.googleapis.com/2.47/IEDriverServer_Win32_2.47.0.zip: Error: connect ETIMEDOUT]
[chimp] Finished running async processes with errors
[chimp] run complete with errors [Error: Could not request headers from http://selenium-release.storage.googleapis.com/2.47/IEDriverServer_Win32_2.47.0.zip: Error: connect ETIMEDOUT]
[chimp] Could not get Cucumber Results from run result:
[ undefined, [ undefined ] ]
[xolvio:cucumber] Bad response from Chimp server.
{ statusCode: 200,
content: '',
headers:
{ 'content-type': 'application/json; charset=utf-8',
'cache-control': 'no-cache',
'content-length': '0',
date: 'Tue, 13 Dec 2016 11:11:01 GMT',
connection: 'keep-alive' },
data: null }

i am using following meteor package version--

velocity:[email protected]_1
velocity:[email protected]
velocity:[email protected]
velocity:[email protected]_7
velocity:[email protected]
velocity:[email protected]_1
xolvio:[email protected]_1

how to resolved it please help me.

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.