You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`.GitHub/workflows/main.yml`: GitLub Actions workflow file for continuous integration.
40
+
41
+
### `node_modules`
42
+
43
+
- Directory containing Node.js modules installed by npm.
44
+
45
+
### `Cypress-report`
46
+
47
+
- Directory for storing Cypress test reports.
48
+
49
+
### `src`
50
+
51
+
- Source code directory containing project files.
52
+
53
+
#### `api`
54
+
55
+
- Directory for API-related scripts.
56
+
57
+
#### `config`
58
+
59
+
- Directory containing environment configuration files and authentication data.
60
+
61
+
#### `fixtures`
62
+
63
+
- Directory for test fixtures, such as reusable functions for mock.
64
+
65
+
### `test-results`
66
+
67
+
- Directory for storing test execution results, including screenshots, trace files, and videos.
68
+
69
+
## Usage
2
70
3
71
Make sure that you have `node` and `npm` installed.
4
72
73
+
Clone the repository and install dependencies using `npm install`.
74
+
5
75
Create `.env` file under `tests/functional` (it is git-ignored), with contents like this:
6
76
7
77
```
@@ -17,9 +87,16 @@ CYPRESS_ENV=dev
17
87
18
88
You can ask for example `.env` file over slack.
19
89
20
-
Then to run tests:
90
+
- Run `npx cypress install`
91
+
- Run tests using cmd `npx cypress run`.
92
+
- Run tests using UI `npx cypress open`. Choose **E2E testing**, select **Chrome** browser.
93
+
- View test reports in the `cypress-report` directory.
94
+
- Explore source code files for detailed implementation.
95
+
96
+
## Contributing
97
+
98
+
Contributions are welcome! Please follow the established coding style and guidelines. If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.
21
99
22
-
- Run `npm install`.
23
-
- Run all tests via: `npx cypress run`.
24
-
- Run specific tests from Chrome browser: `npx cypress open`. Choose **E2E testing**, select **Chrome** browser.
0 commit comments