Skip to content

just wanna see list of changed files #26

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

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/cypress-test-run.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Cypress Test Run

on:
push:
branches:
- main

jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: npm install
- name: setup local server
run: start npm start
- name: Run Cypress tests
run: npx cypress run
- uses: cypress-io/github-action@v2
- uses: actions/upload-artifact@v2
if: always()
with:
name: cypress-videos
path: cypress/videos


# - name: "Upload screenshots to Slack"
# uses: trymbill/[email protected]
# if: failure()
# with:
# token: ${{ secrets.SLACK_TOKEN }}
# channels: "_tolk"
# message-text: "Cypress tests failed! They have been placed in this thread, good luck."R
25 changes: 0 additions & 25 deletions .github/workflows/run-cypress.yml

This file was deleted.

14 changes: 0 additions & 14 deletions .github/workflows/static.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/workflows/tests.yml

This file was deleted.

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ coverage
cypress/screenshots
cypress/videos
cypress/downloads
backend/data/uploaded/*
.env
.vscode/*

Expand Down
23 changes: 7 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
## Trello clone app written in Vue 3 + Typescript + Vite + TailwindCSS

[![trello app](https://img.shields.io/endpoint?url=https://dashboard.cypress.io/badge/simple/qmz9cz&style=flat&logo=cypress)](https://dashboard.cypress.io/projects/qmz9cz/runs) [![codecov](https://codecov.io/gh/filiphric/trelloapp-vue-vite-ts/branch/main/graph/badge.svg?token=0CFFEB154E)](https://codecov.io/gh/filiphric/trelloapp-vue-vite-ts)

<p align="center" width="100%">
<img width="100%" src="./public/trello.gif">
</p>

This is a second version of [Trello clone](https://github.com/filiphric/trelloapp) app, which I use for my Cypress.io workshops. I create this to explain and showcase Cypress capabilities, much like [Real world application](https://github.com/cypress-io/cypress-realworld-app) by Cypress.

To install, simply clone this project and

1. `npm install`
2. `npm start`

What you can see here is pretty much still work in progress and far from done. This is my Playground, don’t judge the code quality.
To run

npm install

npm start

npm cypress run
20 changes: 20 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Node.js
# Build a general Node.js project with npm.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript

trigger:
- main

pool:
vmImage: ubuntu-latest

steps:
- task: NodeTool@0
inputs:
versionSpec: '10.x'
displayName: 'Install Node.js'

- script: |
npm install
displayName: 'npm install'
Binary file added backend/data/uploaded/3_chrome_q4SL915vQ0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 11 additions & 31 deletions cypress.config.ts
Original file line number Diff line number Diff line change
@@ -1,37 +1,17 @@
import { defineConfig } from 'cypress'
import constants from './constants'
const { APP } = constants
import { defineConfig } from "cypress";

export default defineConfig({
env: {
coverage: true,
},
retries: {
openMode: 0,
runMode: 1,
},
videoUploadOnPasses: false,
viewportHeight: 550,
viewportWidth: 700,
projectId: 'qmz9cz',
video: true,
projectId: 'm2fvqo',
e2e: {
// We've imported your old cypress plugins here.
// You may want to clean this up later by importing these.
specPattern: "**/e2e/*/*.spec.ts",
baseUrl: 'http://localhost:3000',
reporter: 'spec',
setupNodeEvents(on, config) {
return require('./cypress/plugins/index.ts')(on, config)
},
baseUrl: `http://localhost:${APP}`,
specPattern: 'cypress/e2e/**/*.spec.ts',
},
component: {
devServer: {
framework: 'vue',
bundler: 'vite',
},
setupNodeEvents(on, config) { },
env: {
coverage: false,
// implement node event listeners here
require('@cypress/grep/src/plugin')(config);
return config;
},
specPattern: 'src/**/*.spec.ts',

},
})
});
103 changes: 0 additions & 103 deletions cypress/e2e/board.spec.ts

This file was deleted.

58 changes: 0 additions & 58 deletions cypress/e2e/boardDetail.spec.ts

This file was deleted.

Loading