Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ebazhanov/testcafe
https://github.com/ebazhanov/testcafe
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ebazhanov/testcafe
- Owner: Ebazhanov
- Created: 2019-03-28T15:41:51.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-28T15:43:52.000Z (almost 6 years ago)
- Last Synced: 2025-01-22T14:54:33.208Z (30 days ago)
- Language: JavaScript
- Size: 58.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# qa-testcafe-experiment
The purpose of this repo is to play with [TestCafe tool](https://devexpress.github.io/testcafe/) to understand if it worth using for automated e2e cross-browser testing in MYCS.
### Requirements
It should be able
- [ ] to run tests in different desktop browsers locally
- [ ] to run tests on mobile device connected via wire
- [ ] to run tests in mobile simulator
- [x] to run tests using cloud services
- [ ] to run tests in parallel## Getting started
### Requirements
- Installed npm. Get it [here](https://www.npmjs.com/get-npm)
### Run locally
Clone repo:
```ShellSession
git clone https://github.com/mycsHQ/qa-testcafe-experiment.git
```Install all dependencies
```ShellSession
npm install
```Command to run test is written in `app/package.json`. Run it using
```JavaScript
npm test
```## Symlink
To avoid ugly path when importing modules like this
```JavaScript
import Page from '../../../page-objects/product-details-page';
```Symlink was added. `app` is the top project directory and contains all files, so now import will look like this
```JavaScript
import Page from 'app/page-objects/product-details-page';
```