mirror of
https://github.com/getredash/redash.git
synced 2026-05-14 01:00:56 -04:00
* Update Cypress element selectors * Add seed data function to Cypress * Change Cypress setup to be part of db-seed * Add DatabaseSource selector to Create Data Source spec * Add getElement command to Cypress * Fix eslint issues * Change Cypress getElement to getByTestId * Add Percy and test it with the CI * Change Percy dependency for CI to Cypress' Dockerfile * Change Percy's execution to the docker container - add --no-save to avoid errors on Dockerfile.cypress - pass PERCY_TOKEN from the CI to docker container * Fix missed char on CircleCI config file * Move Percy execution back to host on the CI * Test adding PERCY_TOKEN to frontend-e2e-tests on CI config * Undo add PERCY_TOKEN to config.yml * Add Percy token and .git folder to Cypress * Remove Percy install from config.yml * Ignore .git folder again and use Percy env vars instead * Update PERCY_PULL_REQUEST to be CIRCLE_PR_NUMBER * Update cypress-server.js to handle other cypress commands - cypress-server.js -> cypress.js - new commands added to cypress.js - CircleCI config updated accordingly - added a Homepage screenshot * Remove trailing spaces * Add Create Query spec * Disable Cypress videos * Update run browser to Chrome * Add missing --browser chrome
12 lines
231 B
Docker
12 lines
231 B
Docker
FROM cypress/browsers:chrome67
|
|
|
|
ENV APP /usr/src/app
|
|
WORKDIR $APP
|
|
|
|
RUN npm install --no-save cypress @percy/cypress > /dev/null
|
|
|
|
COPY cypress $APP/cypress
|
|
COPY cypress.json $APP/cypress.json
|
|
|
|
RUN ./node_modules/.bin/cypress verify
|