mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #181] [MERGED] Add basic e2e tests #2462
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#2462
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/181
Author: @yubathom
Created: 10/4/2019
Status: ✅ Merged
Merged: 10/6/2019
Merged by: @liyasthomas
Base:
master← Head:tests/e2e-setup📝 Commits (1)
ade7733Add e2e tests📊 Changes
9 files changed (+1193 additions, -2 deletions)
View changed files
📝
.travis.yml(+10 -0)➕
cypress.json(+9 -0)📝
package-lock.json(+1084 -0)📝
package.json(+8 -2)➕
tests/e2e/fixtures/catapi.json(+1 -0)➕
tests/e2e/integration/app.starter.spec.js(+7 -0)➕
tests/e2e/integration/feature.url-queries.spec.js(+57 -0)➕
tests/e2e/support/commands.js(+16 -0)➕
tests/e2e/support/index.js(+1 -0)📄 Description
Add basic e2e tests with cypress
Related to #65.
preview of
npm run dev:e2ethis should be running in ci too - https://travis-ci.org/yubathom/postwoman/builds/593324131
at
before_scriptswich should give some reports at every pull requests

New scripts:
npm run tests- run tests once in cli mode. Now just these e2e. In future we should run unit tests too.npm run dev:e2e- will start localhos:3000 and run e2e tests within cypress app browser. This is the default mode to tdd.Notes:
run dev) mounted at the travis-ci.tests/e2e/fixtures/andtests/e2e/support/commands.js). We should create some fixtures of firebase. Something like this.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.