@toptal/davinci-qa 8.0.1-alpha-fx-2755-codebase-specific-workflows.9 → 8.0.1-alpha-chore-fx-2805-show-workflow-command.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -16
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -53,29 +53,16 @@ Options:
|
|
|
53
53
|
|
|
54
54
|
[Cypress CLI docs](https://docs.cypress.io/guides/guides/command-line.html)
|
|
55
55
|
|
|
56
|
-
|
|
56
|
+
Configurations:
|
|
57
57
|
|
|
58
|
-
By default
|
|
59
|
-
|
|
60
|
-
To extend default config, create `/cypress.json` file in the root of the project and use `extends`:
|
|
61
|
-
```json
|
|
58
|
+
By default `packages/qa/src/configs/cypress.config.json` will be used for configurations. To extend default configs, you can create `cypress.json` file in the root of the project and use "extends" in it:
|
|
59
|
+
```
|
|
62
60
|
{
|
|
63
61
|
"extends": "@toptal/davinci-qa/src/configs/cypress.config.json",
|
|
64
62
|
...other custom configs
|
|
65
63
|
}
|
|
66
64
|
````
|
|
67
65
|
|
|
68
|
-
In `/cypress/plugins/index.js` file add:
|
|
69
|
-
```js
|
|
70
|
-
const plugins = require('@toptal/davinci-qa/src/configs/cypress/plugins')
|
|
71
|
-
...
|
|
72
|
-
module.exports = (on, config) => {
|
|
73
|
-
plugins(on, config)
|
|
74
|
-
...
|
|
75
|
-
// rest of plugins
|
|
76
|
-
}
|
|
77
|
-
```
|
|
78
|
-
|
|
79
66
|
### Alias
|
|
80
67
|
|
|
81
68
|
In all the commands you can use `davinci-qa` directly if needed, instead of `davinci qa`. This is not a recommended way to use `davinci`, but in very rare cases it might be useful.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toptal/davinci-qa",
|
|
3
|
-
"version": "8.0.1-alpha-fx-
|
|
3
|
+
"version": "8.0.1-alpha-chore-fx-2805-show-workflow-command.0+47ccd19e",
|
|
4
4
|
"description": "QA package to test your application",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@cypress/webpack-preprocessor": "^5.7.0",
|
|
39
39
|
"@testing-library/jest-dom": "^5.14.1",
|
|
40
40
|
"@testing-library/react": "^12.1.2",
|
|
41
|
-
"@toptal/davinci-cli-shared": "1.5.2-alpha-fx-
|
|
41
|
+
"@toptal/davinci-cli-shared": "1.5.2-alpha-chore-fx-2805-show-workflow-command.111+47ccd19e",
|
|
42
42
|
"@types/jest": "^27.4.1",
|
|
43
43
|
"babel-jest": "^27.5.1",
|
|
44
44
|
"cypress": "^9.4.1",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"json5": "^2.2.1",
|
|
59
59
|
"mocha": "^10.0.0"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "47ccd19e801f84f149fd43fdafbd309f75ad8697"
|
|
62
62
|
}
|