Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

End to end testing with cypress #2124

Draft
wants to merge 54 commits into
base: develop
Choose a base branch
from

Commits on Feb 11, 2020

  1. Added Cypress tests to municipality fact page

    Khalid Sahlqeath committed Feb 11, 2020
    Configuration menu
    Copy the full SHA
    8abf534 View commit details
    Browse the repository at this point in the history
  2. added npm package start-server-and-test for ci scripts

    Khalid Sahlqeath committed Feb 11, 2020
    Configuration menu
    Copy the full SHA
    ffc0446 View commit details
    Browse the repository at this point in the history
  3. Fixing duplicate pipline names on drone

    Khalid Sahlqeath committed Feb 11, 2020
    Configuration menu
    Copy the full SHA
    41950a0 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2020

  1. Merge branch 'master' into test2

    Khalid Sahlqeath committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    38424d3 View commit details
    Browse the repository at this point in the history
  2. Reinstalled Cypress to remove Sizzle build failure

    Khalid Sahlqeath committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    c8e5d0e View commit details
    Browse the repository at this point in the history
  3. Drone build fails, using included<version> docker image

    Khalid Sahlqeath committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    e7a161c View commit details
    Browse the repository at this point in the history
  4. Running build in debug mode

    Khalid Sahlqeath committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    c84c109 View commit details
    Browse the repository at this point in the history
  5. Using docker image cypress/base:10.16.0

    Khalid Sahlqeath committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    7f25ab0 View commit details
    Browse the repository at this point in the history
  6. Debugging drone failure

    Khalid Sahlqeath committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    ef87ebf View commit details
    Browse the repository at this point in the history
  7. Running with similar drone setup as other environments

    Khalid Sahlqeath committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    6d931e4 View commit details
    Browse the repository at this point in the history
  8. added step to install dependencies

    Khalid Sahlqeath committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    c434275 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2020

  1. Running build without Cypress

    Khalid Sahlqeath committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    4a4abf2 View commit details
    Browse the repository at this point in the history
  2. Added build step to install Cypress dependencies and run tests

    Khalid Sahlqeath committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    730b5ea View commit details
    Browse the repository at this point in the history
  3. Fixing drone step error

    Khalid Sahlqeath committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    ded2fc8 View commit details
    Browse the repository at this point in the history
  4. Added 'depends on deploy' when running test

    Khalid Sahlqeath committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    d8a2b5d View commit details
    Browse the repository at this point in the history
  5. Moved npm run test:ci command to deploy step

    Khalid Sahlqeath committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    099f011 View commit details
    Browse the repository at this point in the history
  6. Changed Cypress test script in drone

    Khalid Sahlqeath committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    67f70ae View commit details
    Browse the repository at this point in the history
  7. added docker image of cypress

    Khalid Sahlqeath committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    3c74ba0 View commit details
    Browse the repository at this point in the history
  8. added docker image of Cypress2

    Khalid Sahlqeath committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    c3f5819 View commit details
    Browse the repository at this point in the history
  9. added npm ci

    Khalid Sahlqeath committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    cbaf546 View commit details
    Browse the repository at this point in the history
  10. added Cypress as devdependency

    Khalid Sahlqeath committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    48f5011 View commit details
    Browse the repository at this point in the history
  11. Merge branch 'master' into test2

    Khalid Sahlqeath committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    5445155 View commit details
    Browse the repository at this point in the history
  12. Merge from master

    Khalid Sahlqeath committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    237a8cf View commit details
    Browse the repository at this point in the history
  13. DOM lib was added to tsconifg to solve type missing error

    Khalid Sahlqeath committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    66fd312 View commit details
    Browse the repository at this point in the history
  14. e2e script added to run Cypress in test environment

    Khalid Sahlqeath committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    07dae00 View commit details
    Browse the repository at this point in the history
  15. Added cypress install command to avoid binary missing

    Khalid Sahlqeath committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    c75dd3d View commit details
    Browse the repository at this point in the history
  16. Drone not triggering on push

    Khalid Sahlqeath committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    dff6877 View commit details
    Browse the repository at this point in the history
  17. Drone now triggering on push and added cypress install in step

    Khalid Sahlqeath committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    a86908d View commit details
    Browse the repository at this point in the history
  18. Issuing cypress install step

    Khalid Sahlqeath committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    cdf4d43 View commit details
    Browse the repository at this point in the history
  19. fix cypress install issue

    Khalid Sahlqeath committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    5c1dfd6 View commit details
    Browse the repository at this point in the history
  20. Checking if Drone error libXtst.so.6 is being solved

    Khalid Sahlqeath committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    1bf0565 View commit details
    Browse the repository at this point in the history
  21. Using cypress docker image

    Khalid Sahlqeath committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    16e5d6b View commit details
    Browse the repository at this point in the history
  22. set environment variables for test environment

    Khalid Sahlqeath committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    a3ff850 View commit details
    Browse the repository at this point in the history
  23. removed cross-env in script for e2e

    Khalid Sahlqeath committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    2717914 View commit details
    Browse the repository at this point in the history
  24. additional script fixing in package.json

    Khalid Sahlqeath committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    4f6a3fc View commit details
    Browse the repository at this point in the history
  25. start-server-and-test added

    Khalid Sahlqeath committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    59cdb5f View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2020

  1. Fixing and adding cy scripts to be run local and e2e

    Khalid Sahlqeath committed Feb 14, 2020
    Configuration menu
    Copy the full SHA
    c4c1dfe View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into test2

    Khalid Sahlqeath committed Feb 14, 2020
    Configuration menu
    Copy the full SHA
    599043d View commit details
    Browse the repository at this point in the history
  3. Instructions for how to run Cypress have been added to readme

    Khalid Sahlqeath committed Feb 14, 2020
    Configuration menu
    Copy the full SHA
    233fb73 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2020

  1. Merge branch 'master' into test2

    Khalid Sahlqeath committed Feb 21, 2020
    Configuration menu
    Copy the full SHA
    984db25 View commit details
    Browse the repository at this point in the history
  2. Update package-lock.json

    Khalid Sahlqeath committed Feb 21, 2020
    Configuration menu
    Copy the full SHA
    c0c538e View commit details
    Browse the repository at this point in the history
  3. commenting out drone pipeline for Cypress test

    Khalid Sahlqeath committed Feb 21, 2020
    Configuration menu
    Copy the full SHA
    4afb54e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5e81bbf View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1ac405d View commit details
    Browse the repository at this point in the history
  6. Uncomments just the test step, no build or deploy here

    👋 This is not the pipeline you are looking for 👋
    Glenruben committed Feb 21, 2020
    Configuration menu
    Copy the full SHA
    e296b75 View commit details
    Browse the repository at this point in the history
  7. It seems we have to install cypress.

    Guess that was there for a reason? 🤷🏻‍♂️
    Glenruben committed Feb 21, 2020
    Configuration menu
    Copy the full SHA
    8be7308 View commit details
    Browse the repository at this point in the history
  8. We try putting the test before the commented code.

    Yaml is a fickle mistress.
    Glenruben committed Feb 21, 2020
    Configuration menu
    Copy the full SHA
    43f3261 View commit details
    Browse the repository at this point in the history
  9. Maybe we don't need to install Cypress specifically if we just run th…

    …e step correctly?
    
    Who even knows at this point.
    Glenruben committed Feb 21, 2020
    Configuration menu
    Copy the full SHA
    7a1d5b1 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2020

  1. Adding test-env specific config file with the right urls and such.

    Let's see if Drone can talk to Test! 🦺
    Glenruben committed Feb 24, 2020
    Configuration menu
    Copy the full SHA
    cf78d45 View commit details
    Browse the repository at this point in the history
  2. Adds QA specific test config as well.

    In for a penny, in for a pound. Also, we'll open the QA env for traffic. 🐌
    Glenruben committed Feb 24, 2020
    Configuration menu
    Copy the full SHA
    b26c5b4 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2020

  1. Configuration menu
    Copy the full SHA
    1a78b60 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2024

  1. Configuration menu
    Copy the full SHA
    bfd76b2 View commit details
    Browse the repository at this point in the history
  2. fix package-lock

    Glenruben committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    84c4d80 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7c2b890 View commit details
    Browse the repository at this point in the history