Badgeyay: Make travis run the UI tests

Created on 19 Sep 2017  路  6Comments  路  Source: fossasia/badgeyay

This is an issue for people who would like to learn basic quality assurance using tests for web applications.
I'm submitting a ...

  • [X] bug report

Current behavior:

Currently, travis does not run the UI tests.
These are tests that click on the webpage of the application and make sure, certain uer/stories and work flows stay while we develop.

Expected behavior:

I would liketravis to run those tests.

  • [ ] add the tests to travis
  • [ ] see that they fail in your pull-request because firefox can not start because travis has no GUI
  • [ ] install phantomJS, a browser for such purposes without GUI and create a central place to change the "driver" (see source code)

Steps to reproduce:

https://travis-ci.org/fossasia/badgeyay/builds/277071140#L563
Related: a discussion in #116

Tests and code quality has-PR

Most helpful comment

@niccokunzmann i would like to work on this

All 6 comments

@niccokunzmann i would like to work on this

@S2606 can we collaborate? I also want to work on this issue.

@niccokunzmann I can add the phantomJS installation code to .travis.yml .
I've done it before.
And then we can work on tests as well.

travis still does not show output from the tests:
https://travis-ci.org/fossasia/badgeyay/builds/278113797#L567

Is there output to be expected?

The output is expected in case the tests fails.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

meets2tarun picture meets2tarun  路  8Comments

ParthS007 picture ParthS007  路  5Comments

mariobehling picture mariobehling  路  7Comments

ananyo2012 picture ananyo2012  路  4Comments

abishekvashok picture abishekvashok  路  5Comments